| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <include file="public@header"/>
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="javascript:;">所有活动</a></li>
- <li><a href="{:url('AdminActive/add')}">添加活动</a></li>
- </ul>
- <form class="js-ajax-form" action="" method="post">
- <table class="table table-hover table-bordered table-list">
- <thead>
- <tr>
- <th width="50">ID</th>
- <th>标题</th>
- <th width="160">主图</th>
- <th width="160">开始时间</th>
- <th width="160">结束时间</th>
- <th width="250">操作</th>
- </tr>
- </thead>
- <foreach name="list" item="vo">
- <tr>
- <td><b>{$vo.id}</b></td>
- <td>{$vo.title}</td>
- <td>
- <notempty name="vo.main_image">
- <a href="javascript:parent.imagePreviewDialog('{:cmf_get_image_preview_url($vo.main_image)}');">
- <i class="fa fa-photo fa-fw"></i>
- </a>
- <else/>
- <i class="fa fa-close fa-fw"></i>
- </notempty>
- </td>
- <td>{:date('Y-m-d',$vo['start_time'])}</td>
- <td>{:date('Y-m-d',$vo['end_time'])}</td>
- <td>
- <a class="btn btn-xs btn-primary" href="{:url('AdminActive/applyList',array('id'=>$vo['id']))}">报名列表</a>
- <a class="btn btn-xs btn-primary" href="{:url('AdminActive/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
- <a
- class="btn btn-xs btn-primary"
- href="javascript:parent.imagePreviewDialog('/qrcode.php?code={$vo.url}');"
- >签到码</a>
- <a class="btn btn-xs btn-primary" target="_blank" href="{:url('love/scene/sceneList',array('id'=>$vo['id']))}">签到墙</a>
- <a class="btn btn-xs btn-primary" target="_blank" href="{:url('love/scene/randomPeople',array('id'=>$vo['id']))}">随机抽人</a>
- <eq name="vo.id" value="2">
- <a class="btn btn-xs btn-primary" target="_blank" href="{:url('love/AdminActive/exportOutlook',array('id'=>$vo['id']))}">导出三观匹配度</a>
- <a class="btn btn-xs btn-primary" target="_blank" href="{:url('love/AdminActive/exportOutlookCount',array('id'=>$vo['id']))}">导出选项统计</a>
- </eq>
- </td>
- </tr>
- </foreach>
- </table>
- <ul class="pagination">{$page|default=''}</ul>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script>
- function reloadPage(win) {
- win.location.reload();
- }
- </script>
- </body>
- </html>
|