123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <{include file="./admin/header.html"}>
- <{include file="./admin/left.html"}>
- <{include file="./admin/nav.html"}>
- <{include file="get_kindeditor.html"}>
- <style>
- .set-nav {
- margin: 0 auto;
- }
- .set-nav-hr {
- background-color: #ddd;
- height: 1px;
- position: relative;
- }
- .form-group label {
- font-weight: 600;
- }
- .checkbox-inline, .radio-inline {
- font-weight: 400!important;
- }
- .rowlabel {
- font-weight: 300!important;
- }
- .music_play_hide {
- display:none;
- }
- </style>
- <div id="activity_container">
- <form id="activity_form">
- <div class="activity_center">
- <{include file="./admin/activity/common_nav.html"}>
- <input name="events_id" type="hidden" value="<{$events_Data.events.id}>">
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">投票信息</h3></div>
- <div class="panel-body">
- <p><b>投票标题:</b><{$events_Data.events.vote_title}></p>
- <p><b>投票类型:</b><{$voteType[$events_Data.events.vote_type].desc}></p>
- </div>
- </div>
-
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">投票项</h3></div>
- <div class="panel-body">
- <div class="form-group">
- <table class="custom_from_table table table-condensed">
- <thead>
- <tr>
- <th>序号</th>
- <th>标题</th>
- <th>图片</th>
- <th>投票数</th>
- <th>作弊数</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <{if !$voteData}>
- <tr>
- <td colspan="6" align="center">无</td>
- </tr>
- <{else}>
- <{foreach from=$voteData item=item name=vote}>
- <tr>
- <td><{$smarty.foreach.vote.iteration}></td>
- <td><{$item.title}></td>
- <td>
- <{if $events_Data.events.vote_type == 2}>
- <img src="<{$item.img_url}>" style="width:60px;height:60px;" class="img-thumbnail">
- <{else}>
- -
- <{/if}>
- </td>
- <td><{$item.num}></td>
- <td><{$item.add_num}></td>
- <td>
- <a href="<{$web_cfg.url}>&update_one_vote=1&vote_id=<{$item.id}>">编辑</a>
- <!-- <a href="javascript:;">删除</a> -->
- </td>
- </tr>
- <{/foreach}>
- <{/if}>
- </tbody>
- </table>
- <a href="<{$web_cfg.url}>&add_one_vote=1" class="js_add_vote" data-stat="show"><i class="fa fa-plus"></i> 添加投票项</a>
- </div>
- </div>
- </div>
- </div>
- <{include file="./admin/activity/common_right.html"}>
- <div style="clear:both;"></div>
- </form>
- </div>
- <script>
- KISSY.use('node, io', function (S, Node, IO) {
- var $ = S.all;
- });
- </script>
- <{include file="./admin/bottom.html"}>
|