You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {dede:config.pagesize value='20'/}
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="<?php echo $cfg_soft_lang; ?>">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <title>投票管理</title>
- <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
- <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
- <link rel="stylesheet" href="../static/web/css/admin.css">
- </head>
- <body>
- <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
- <tr>
- <td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">投票管理<a href="vote_add.php" class="btn btn-success btn-sm ml-3">增加一组投票</a></td>
- </tr>
- <tr align="center" bgcolor="#F8FCF1" height="26">
- <td width="8%">投票ID</td>
- <td width="22%">投票名称</td>
- <td width="15%">开始时间</td>
- <td width="15%">结束时间</td>
- <td width="10%">投票总数</td>
- <td width="10%">状态</td>
- <td width="20%">管理</td>
- </tr>
- {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
- <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
- <td>{dede:field.aid /}</td>
- <td>
- <a href='{dede:global name="cfg_phpurl" /}/vote.php?aid={dede:field.aid/}&dopost=view' target='_blank'>
- {dede:field.votename /}
- </a>
- </td>
- <td>{dede:field.starttime function="GetDateMk(@me)" /}</td>
- <td>{dede:field.endtime function="GetDateMk(@me)" /}</td>
- <td>{dede:field.totalcount /}</td>
- <td><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span class='text-dark'>启用</span>";} ?></td>
- <td>
- <a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a>
- <a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a>
- <a href='vote_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm">删除</a>
- </td>
- </tr>
- {/dede:datalist}
- <tr align="center" bgcolor="#f8f8f8" height="36">
- <td colspan="7">{dede:pagelist listsize='6'/}</td>
- </tr>
- </table>
- </body>
- </html>
|