<?php include_once tpl('header');?>
<card title="最新书会热聊 - <?php echo setting('webname');?>">
<p align="left">
最新书会:热聊.<?php echo ilink('精评', url('system', array('s'=>'forum','c'=>'digest','a'=>'new')));?>.<?php echo ilink('高级贴', url('system', array('s'=>'forum','c'=>'advance','a'=>'new')));?>
<br/>
------------
<br/>
<?php foreach ($posts as $post):?>
    [<?php echo date('H:i', strtotime($post['createdate']));?>]<?php if (!empty($post['medals']) && false !== $post['medals']):?><?php echo implode('',$post['medals']['images']);?><?php endif;?><?php echo ilink(userName($post['uid']), url('system', array('s'=>'member','uid'=>$post['uid'])));?>:<?php echo $post['message'];?><?php echo ilink('《'.$post['name'].'》', url('system', array('s'=>'forum','id'=>$post['bookid'])));?><br/>
<?php endforeach;?>
<?php echo $pageObj->show();?>
<br/>
<?php include_once tpl('footer');?>