<?php $title = '禁止使用喇叭 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<div class="nav"><?php echo backLink();?> <?php echo indexLink();?> <?php echo memberLink();?></div>

<form action="<?php echo url('system',array('s'=>'props','c'=>'bugle','a'=>'use', 'back'=>$GLOBALS['selfurl']));?>" method="post">
内容:<input name="subject" type="text" /><input type="submit" value="喊话" />
</form>
<?php if (!empty($back)):?><div class="block"><?php echo ilink('&lt;&lt;返回来源页面&gt;&gt;', $back);?></div><?php endif;?>
<?php if (!empty($result)):?>
    <?php foreach ($result as $row):?>
        <div class="comment"><?php echo ilink(userName($row['uid']), url('system', array('s'=>'props','c'=>'bugle','a'=>'to','uid'=>$row['uid'],'back'=>urlencode($back))));?><?php echo printImage('bugle.gif');?><?php echo iUbbCode($row['subject']);?></div>
    <?php endforeach;?>
<?php else:?>
    暂无喇叭内容<br/>
<?php endif;?>

<?php if (!empty($back)):?><div class="block"><?php echo ilink('&lt;&lt;返回来源页面&gt;&gt;', $back);?></div><?php endif;?>

<?php include_once tpl('globalFooter');?>