<?php $title = '查看踢楼结果 - 社区';?>
<?php include_once tpl('globalHeader');?>
原贴:<?php echo ilink($this->filter($thread['subject']), url('system',array('s'=>'bbs','a'=>'thread','tid'=>$thread['id'])));?>

<div class="pl"><?php echo $thread['robfloor']['body'];?> 截止楼层:<span class="r"><?php echo $thread['robfloor']['endfloor'];?></span>，奖励楼层:<span class="r"><?php echo $thread['robfloor']['awardfloors'];?></span></div>
<?php if (!empty($posts)):?>
	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
	<?php foreach ($posts as $post):?>
		<div class="comment">[<b><?php echo $post['floor'];?>楼</b>]<?php echo ilink($this->filter(userName($post['uid'])), url('system',array('s'=>'bbs','c'=>'post','a'=>'to','pid'=>$post['id'])));?>:<?php echo sFilter($this->ubbCode($post['content']));?>[<?php echo date('n/d H:i', $post['createdate']);?>]</div>
	<?php endforeach;?>
	<?php echo $pageObj->show();?>
	<?php if ($pageObj->getTotalPage() > 1):?><input type="text" name="page" value="1" size="3" />
    <a href="<?php echo url('system',array('s'=>'bbs','c'=>'post','a'=>'list','tid'=>$tid));?>&amp;page=$(page)">跳页</a>
	<br/>
	<?php endif;?>
<?php else:?>
	暂无踢中的书友，继续加油！<br/>
<?php endif;?>

<?php echo date('n/d H:i:s');?>
<br/>
<?php echo $this->nav($thread['fid']);?>
</html>