<?php
require('path.inc.php');

$member_id = $member->getAuthInfo('id');
$member_username = $member->getAuthInfo('username');

$innernote = new Innernote($query);

$page->name = 'msgDetail';

$msg_id = intval($_GET['id']);
$dataInfo = $innernote->getInfo($msg_id);

//ÐÞ¸ÄÓÊ¼þµÄ×´Ì¬
$innernote->doRead($msg_id);

$page->tpl->assign('dataInfo', $dataInfo);

$page->show();
?>