<?php include_once tpl('header');?>
<card title="阅读短信 - <?php echo setting('webname');?>">
<p align="left">
<anchor>返回<prev/></anchor>/<?php echo ilink('信箱',url('system',array('s'=>'member','c'=>'message')));?>/<?php echo ilink('书房',url('system',array('s'=>'member')));?>
<br/>
<?php if (!empty($message)):?>
	标题:<b><?php echo $this->filter($message['subject']);?></b><br/>
	来自:<?php echo ilink($this->filter(userName($message['msgfromid'])),url('system',array('s'=>'member','uid'=>$message['msgfromid'])));?>
	<br/>
	时间:<?php echo date("d/m H", $message['createdate']);?>
	<br/>
	<br/>
	<?php
        //$message['message'] = $this->filter($message['message']);
        $message['message'] = BookPost::applyDigestLink($message['message']);
        $message['message'] = PropertyHandsel::handselLink($message['message']);
        echo str_replace("\n", "<br/>", iUbbCode($message['message']));
	?>
	<br/>
	<br/>
	<?php echo ilink('回复',url('system',array('s'=>'member','c'=>'message','a'=>'reply','mid'=>$message['mid'])));?>|<?php echo ilink('删除',url('system',array('s'=>'member','c'=>'message','a'=>'delete','do'=>'item','mid'=>$message['mid'])));?>|<?php echo ilink('拒收Ta的短信',url('system',array('s'=>'member','c'=>'message','a'=>'ignore','do'=>'add','uid'=>$message['msgfromid'])));?>
<?php endif;?>
<br/>
----------
<br/>
<anchor>返回上级<prev/></anchor>
<br/>
<?php include_once tpl('footer');?>