<?php include_once tpl('header');?>
<card title="查看踢楼结果 - 社区">
<p align="left">
原贴:<?php echo ilink($this->filter($thread['subject']), url('system',array('s'=>'bbs','a'=>'thread','tid'=>$thread['id'])));?>
<br/>
-----------------------
<br/>
【<?php echo $thread['robfloor']['body'];?> 截止楼层:<?php echo $thread['robfloor']['endfloor'];?>，奖励楼层:<?php echo $thread['robfloor']['awardfloors'];?>】
<br/>
-----------------------
<br/>
<?php if (!empty($posts)):?>
	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
	<?php foreach ($posts as $post):?>
		[<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']);?>]<br/>
	<?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']);?>
</p>
</card>
</wml>