<?php $title = '浏览记录 - 社区';?>
<?php include_once tpl('globalHeader');?>
<?php echo ilink(setting('webname'), url('index'));?>&gt;<?php echo ilink('社区', url('system', array('s'=>'bbs')));?>
<br/>
<div class="nav">只显示最新阅读过的20篇帖子*</div>
<?php $x = count($threads);?>
<?php foreach ($threads as $thread):?>
    <div class="comment">
        <?php echo $x--;?>.<?php echo ilink($this->filter($thread['subject']),url('system',array('s'=>'bbs','a'=>'thread','tid'=>$thread['id'])));?>
        <br/>
        <span class="f">楼主:<?php echo ilink($this->filter(userName($thread['uid'])),url('system',array('s'=>'member','uid'=>$thread['uid'])));?></span>
        <br/>
        <span class="f">最后回复:<?php echo date('y/m/d H:i', $thread['createdate']);?></span>
    </div>

<?php endforeach;?>

<br/>
<?php echo date('n/d H:i:s');?>
<br/>
<?php echo ilink(setting('webname'), url('index'));?>&gt;<?php echo ilink('社区', url('system', array('s'=>'bbs')));?>
</html>