国内流行的内容管理系统(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.

58 lines
2.6KB

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