<?php
defined('DT_ADMIN') or exit('Access Denied');
include tpl('header');
show_menu($menus);
?>
<div class="sbox">
<form action="?">
<input type="hidden" name="moduleid" value="<?php echo $moduleid;?>"/>
<input type="hidden" name="file" value="<?php echo $file;?>"/>
<input type="hidden" name="action" value="<?php echo $action;?>"/>
<?php echo $fields_select;?>&nbsp;
<input type="text" size="30" name="kw" value="<?php echo $kw;?>" placeholder="请输入关键词" title="请输入关键词"/>&nbsp;
<select name="typeid">
<?php
foreach($MANAGE as $k=>$v) {
?>
<option value="<?php echo $k;?>" <?php echo $k == $typeid ? ' selected' : '';?>><?php echo $v;?></option>
<?php
}
?>
</select>&nbsp;
<select name="message">
<option value="-1">通知</option>
<option value="1"<?php echo $message==1 ? ' selected' : '';?>>已发</option>
<option value="0"<?php echo $message==0 ? ' selected' : '';?>>未发</option>
</select>&nbsp;
商圈ID <input type="text" size="5" name="gid" value="<?php echo $gid;?>"/>&nbsp;
帖子ID <input type="text" size="5" name="tid" value="<?php echo $tid;?>"/>&nbsp;
回复ID <input type="text" size="5" name="rid" value="<?php echo $rid;?>"/>&nbsp;
<input type="submit" value="搜 索" class="btn"/>&nbsp;
<input type="button" value="重 置" class="btn" onclick="Go('?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=<?php echo $action;?>&gid=<?php echo $gid;?>');"/>
</form>
</div>
<form method="post">
<table cellspacing="0" class="tb ls">
<tr>
<th>商圈</th>
<th>帖子/回复</th>
<th width="40">操作</th>
<th width="80">操作内容</th>
<th>操作人</th>
<th width="130">操作时间</th>
<th width="120">操作原因</th>
<th width="40">通知</th>
</tr>
<?php foreach($lists as $k=>$v) {?>
<tr align="center">
<td><a href="<?php echo $v['groupurl'];?>" target="_blank"><?php echo $v['groupname'];?></a></td>
<td align="left">&nbsp;<a href="<?php echo $v['linkurl'];?>" target="_blank"><?php echo $v['title'];?></a></td>
<td><?php echo $MANAGE[$v['typeid']];?></td>
<td><?php echo $v['value'];?></td>
<td><a href="javascript:_user('<?php echo $v['username'];?>');"><?php echo $v['username'];?></a></td>
<td><?php echo $v['adddate'];?></td>
<td><textarea style="width:100px;height:16px;" title="<?php echo $v['reason'];?>"><?php echo $v['reason'];?></textarea></td>
<td><?php echo $v['message'] ? '<span class="f_green">已发</span>' : '<span class="f_red">未发</span>';?></td>
</tr>
<?php }?>
</table>
</form>
<?php echo $pages ? '<div class="pages">'.$pages.'</div>' : '';?>
<script type="text/javascript">Menuon(<?php echo $menuid;?>);</script>
<?php include tpl('footer');?>