<?php $title = '回复管理面板 - 社区';?>
<?php include_once tpl('globalHeader');?>

<?php if ($allows['deleterp']):?>
	|-<?php echo ilink('删除这条回复',url('system',array('s'=>'bbs','c'=>'manage','a'=>'deletereply','pid'=>$post['id'])));?><br/>
<?php endif;?>

<?php if ($allows['ban']):?>
	|-<?php echo ilink('禁言此书友',url('system',array('s'=>'bbs','c'=>'manage','a'=>'ban','tid'=>$post['tid'],'uid'=>$post['uid'])));?><br/>
<?php endif;?>

<?php if ($allows['warning']):?>
	|-<?php echo ilink('警告此书友',url('system',array('s'=>'bbs','c'=>'manage','a'=>'warning','tid'=>$post['tid'],'uid'=>$post['uid'])));?><br/>
<?php endif;?>

<?php if ($allows['ptop']):?>
	<?php if ($post['toped']):?>
		|-<?php echo ilink('取消贴内置顶', url('system', array('s'=>'bbs','c'=>'post','a'=>'untop','pid'=>$post['id'])));?><br/>
	<?php else:?>
		|-<?php echo ilink('设置贴内置顶', url('system', array('s'=>'bbs','c'=>'post','a'=>'top','pid'=>$post['id'])));?><br/>
	<?php endif;?>
<?php endif;?>

<?php if ($allows['dpreply']):?>
	|-<?php echo ilink('禁止他回复此贴', url('system', array('s'=>'bbs','c'=>'thread','a'=>'denyreply','tid'=>$post['tid'],'uid'=>$post['uid'])));?><br/>
<?php endif;?>
<br/>
返回<?php echo backLink('上级');?> <?php echo ilink('帖子', url('system', array('s'=>'bbs','a'=>'thread','tid'=>$thread['id'])));?> <?php echo ilink('版块', url('system', array('s'=>'bbs','a'=>'forum','fid'=>$thread['fid'])));?>
</form>
</html>