<?php $title = '阅读短信 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<?php echo backLink('返回');?> <?php echo ilink('信箱',url('system',array('s'=>'member','c'=>'message')));?> <?php echo ilink('书房',url('system',array('s'=>'member')));?>
<div class="nav"><?php echo printImage('bugle.gif');?>标题：<?php echo $this->filter($message['subject']);?></div>
<div class="content">
<?php if (!empty($message)):?>
    来自:<?php echo ilink($this->filter(userName($message['msgfromid'])),url('system',array('s'=>'member','uid'=>$message['msgfromid'])));?> 时间:<?php echo date("Y-m-d H:i:s", $message['createdate']);?>
	<br/>
    <div class="pl">
	<?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']));
	?>
	</div>
	<div class="block"><?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'])));?></div>
<?php endif;?>
</div>
<?php echo backLink();?>
<?php include_once tpl('globalFooter');?>