www.gusucode.com > Destoon B2B仿淘宝电子商务网站 UTF8 v6.0源码程序 > destoon/module/club/admin/template/manage.tpl.php

    <?php
defined('DT_ADMIN') or exit('Access Denied');
include tpl('header');
show_menu($menus);
?>
<form action="?">
<div class="tt">记录搜索</div>
<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;?>"/>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td>
&nbsp;<?php echo $fields_select;?>&nbsp;
<input type="text" size="30" name="kw" value="<?php echo $kw;?>" 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;?>');"/>
</td>
</tr>
</table>
</form>
<form method="post">
<div class="tt">管理记录</div>
<div id="content">
<table cellpadding="2" cellspacing="1" class="tb">
<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 onmouseover="this.className='on';" onmouseout="this.className='';" 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>
</div>
</form>
<div class="pages"><?php echo $pages;?></div>
<script type="text/javascript">Menuon(<?php echo $menuid;?>);</script>
<?php include tpl('footer');?>