国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

50 rindas
2.3KB

  1. {dede:config.pagesize value='20'/}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="<?php echo $cfg_soft_lang; ?>">
  6. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  7. <title>投票管理</title>
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. </head>
  12. <body>
  13. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  14. <tr>
  15. <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>
  16. </tr>
  17. <tr align="center" bgcolor="#F8FCF1" height="26">
  18. <td width="8%">投票ID</td>
  19. <td width="22%">投票名称</td>
  20. <td width="15%">开始时间</td>
  21. <td width="15%">结束时间</td>
  22. <td width="10%">投票总数</td>
  23. <td width="10%">状态</td>
  24. <td width="20%">管理</td>
  25. </tr>
  26. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  27. <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  28. <td>{dede:field.aid /}</td>
  29. <td>
  30. <a href='{dede:global name="cfg_phpurl" /}/vote.php?aid={dede:field.aid/}&dopost=view' target='_blank'>
  31. {dede:field.votename /}
  32. </a>
  33. </td>
  34. <td>{dede:field.starttime function="GetDateMk(@me)" /}</td>
  35. <td>{dede:field.endtime function="GetDateMk(@me)" /}</td>
  36. <td>{dede:field.totalcount /}</td>
  37. <td><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span class='text-dark'>启用</span>";} ?></td>
  38. <td>
  39. <a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a>
  40. <a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a>
  41. <a href='vote_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm">删除</a>
  42. </td>
  43. </tr>
  44. {/dede:datalist}
  45. <tr align="center" bgcolor="#f8f8f8" height="36">
  46. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  47. </tr>
  48. </table>
  49. </body>
  50. </html>