国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

56 lines
2.5KB

  1. {dede:config.pagesize value='20'/}
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>投票管理</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css">
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  12. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table table-bordered maintable mt-3">
  13. <tr>
  14. <td height="26" background="images/tbg.gif" colspan="7" style="padding-left:10px;">
  15. <b>投票管理</b>&nbsp;<a href="vote_add.php" class="btn btn-success btn-sm">增加一组投票</a>
  16. </td>
  17. </tr>
  18. <tr align="center" bgcolor="#FBFCE2" height="26">
  19. <td width="8%">投票ID</td>
  20. <td width="22%">投票名称</td>
  21. <td width="15%">开始时间</td>
  22. <td width="15%">结束时间</td>
  23. <td width="10%">投票总数</td>
  24. <td width="10%">状态</td>
  25. <td width="20%">管理</td>
  26. </tr>
  27. {dede:datalist}
  28. <tr align="center" bgcolor="#FFFFFF" height="26" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  29. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  30. <td>{dede:field.aid /}</td>
  31. <td>
  32. <a href='{dede:global name="cfg_phpurl" /}/vote.php?aid={dede:field.aid/}&dopost=view' target='_blank'>
  33. {dede:field.votename /}
  34. </a>
  35. </td>
  36. <td>{dede:field.starttime function="GetDateMk(@me)" /}</td>
  37. <td>{dede:field.endtime function="GetDateMk(@me)" /}</td>
  38. <td>{dede:field.totalcount /}</td>
  39. <td>
  40. <?php if($fields['isenable'] == 1){echo "<span style='color:#dc3545'>未启用</span>";}else{echo "<span style='color:color:#dc3545'>启用</span>";} ?>
  41. </td>
  42. <td>
  43. <a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a>
  44. <a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a>
  45. <a href='vote_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm">删除</a>
  46. </td>
  47. </tr>
  48. {/dede:datalist}
  49. <tr align="center" bgcolor="#F9FCEF" height="26">
  50. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>