1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <include file="public@header"/>
- </head>
- <body>
- <div class="wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a >举报列表</a></li>
- </ul>
-
- <form class="well form-inline margin-top-20" method="post" action="{:url('Report/index')}">
- 状态:
- <select class="select_2 form-control" name="status">
- <option value="">全部</option>
- <option value="0" <if condition="input('request.status') eq 0">selected</if> >处理中</option>
- <option value="1" <if condition="input('request.status') eq 1">selected</if> >已处理</option>
- </select>
- 时间:
- <input type="text" name="start_time" class="js-bootstrap-date form-control" value="{:input('request.start_time')}" autocomplete="off" placeholder="开
- 始时间">-
- <input type="text" name="end_time" class="js-bootstrap-date form-control" value="{:input('request.end_time')}" autocomplete="off" placeholder="结束时
- 间">
- 关键字:
- <input class="form-control" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}" placeholder="请输入会员ID">
- <input type="submit" class="btn btn-primary" value="搜索"/>
- <a class="btn btn-danger" href="{:url('Admin/Report/index')}">清空</a>
- </form>
- <form method="post" class="js-ajax-form">
-
- <table class="table table-hover table-bordered">
- <thead>
- <tr>
- <th>ID</th>
- <th align="center">举报人</th>
- <th>被举报人</th>
- <th>举报理由</th>
- <th>举报内容</th>
- <th>图片</th>
- <th>状态</th>
- <th>提交时间</th>
- <th>处理时间</th>
- <th align="center">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
- <tbody>
- <php>$status=array("0"=>"处理中","1"=>"已处理", "2"=>"审核失败");</php>
- <foreach name="lists" item="vo">
- <tr>
- <td>{$vo.id}</td>
- <td>{$vo['userinfo']['user_nicename']} ( {$vo['uid']} )</td>
- <td>{$vo['touserinfo']['user_nicename']} ( {$vo['touid']} )</td>
- <td>{$vo['classify']}</td>
- <td style="max-width: 200px;"><?php echo nl2br($vo['content']);?></td>
- <td>
- <if condition="$vo['thumb'] neq ''">
- <img src="{:get_upload_path($vo['thumb'])}" class="imgtip" style="width: 100px;height: auto;" />
- <else />
- --
- </if>
- </td>
- <td>{$status[$vo['status']]}</td>
- <td>{:date('Y-m-d H:i:s',$vo['addtime'])}</td>
- <td><if condition="$vo['uptime'] gt 0">{:date('Y-m-d H:i:s',$vo['uptime'])}<else />--</if></td>
- <td align="center">
- <if condition="$vo['status'] eq '0'" >
- <a href="{:url('Report/setstatus',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger js-ajax-dialog-btn" data-msg="您确定要标记处理吗?同意的话将通知举报人">标记处理</a>
- </if>
- <if condition="$vo['touserinfo']['user_status'] eq '1'" >
- <a href="{:url('Report/ban',array('id'=>$vo['touid']))}" class="btn btn-xs btn-danger js-ajax-dialog-btn" data-msg="您确定要将该用户拉黑吗?">拉黑用户</a>
- </if>
- <a href="{:url('Report/ban_video',array('id'=>$vo['touid']))}" class="btn btn-xs btn-danger js-ajax-dialog-btn" data-msg="您确定要下架该用户目前的所有视频吗?">下架视频</a>
- <a href="{:url('Report/ban_all',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger js-ajax-dialog-btn" data-msg="您确定要全部执行吗?">标记处理+禁用用户+下架视频</a>
- <a href="{:url('Report/del',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger js-ajax-dialog-btn" data-msg="您确定要删除吗?">删除</a>
-
- </td>
- </tr>
- </foreach>
- </tbody>
- </table>
- <div class="pagination">{$page}</div>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- </body>
- </html>
|