| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <include file="public@header" />
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="{:url('reply/index')}">回复二维码列表</a></li>
- <li ><a href="{:url('reply/add')}">添加回复二维码</a></li>
- </ul>
- <form class="well form-inline margin-top-20" method="get" action="{:url('Reply/index')}">
- 回复码二维码名称:
- <input type="text" class="form-control" name="act_name" style="width: 180px;" value="{:input('request.user_login/s','')}" placeholder="请输入回复码二维码名称">
- <input type="submit" class="btn btn-primary" value="搜索" />
- <a class="btn btn-danger" href="{:url('Reply/index')}">清空</a>
-
- </form>
- <form class="js-ajax-form" action="" method="post">
- <div class="table-actions">
-
- <button class="btn btn-primary btn-sm js-ajax-submit" style=" background-color: #d9534f; width: 38px; border-color: #d9534f;" type="submit"
- data-action="{:url('Reply/delreply',array('yes'=>1))}" onclick="return confirm('确定要删除该回复二维码吗?')" data-subcheck="true">删除
- </button>
-
- </div>
- <table class="table table-hover table-bordered">
- <thead>
- <tr>
- <th width="16">
- <label>
- <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
- </label>
- </th>
- <th width="50">ID</th>
- <th>二维码图片</th>
- <th>回复二维码名称</th>
- <th>关键字</th>
- <th>回复内容</th>
- <th style="text-align: center;">增加时间</th>
- <th>回复类型</th>
- <!-- <th>{:lang('STATUS')}</th> -->
- <th width="180">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
-
- <tbody>
-
- <foreach name="replys" item="vo">
- <tr>
- <td>
- <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
- value="{$vo.id}">
- </td>
-
- <td>{$vo.id}</td>
- <td>
- <notempty name="vo.img">
- <img src="/upload/{$vo.img}" style="width: 80px;height: 50px;">
- </notempty>
- </td>
- <td>{$vo.title}</td>
- <td>{$vo.keyword}</td>
- <td>{$vo.content}</td>
- <td>{$vo['created_at']}</td>
- <td>
- <switch name="vo.reply_type">
- <case value="0"><font style="color: red"> 图文</font></case>
- <case value="1"><font style="color: green"> 活动进群二维码 </font></case>
-
- </switch>
- </td>
-
- <td>
- <a class="btn btn-xs btn-primary" href="{:url('reply/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
- </td>
-
- </tr>
- </foreach>
- </tbody>
-
- </table>
-
- <div class="pagination">{$page}</div>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script src="__STATIC__/js/layer/layer.js"></script>
- <script >
- function getPaike(id){
- var addUrl = "{:url('Books/reminder')}?id="+id;
- layer.open({
- type: 2, //1:页面层,2:iframe层,3:加载层,4:tips层。
- title: '时间提醒设置',
- shadeClose: false, //不开启遮罩关闭,也就是说,点击弹出层其它地方不会关闭弹出框
- shade: 0.8, //遮罩
- area: ['470px', '470px'],
- content: addUrl,
- end: function () { //最后执行reload
- location.reload();
- }
- });
- }
- </script>
- </body>
- </html>
|