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

  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 href="css/base.css" rel="stylesheet" type="text/css">
  9. </head>
  10. <script language="javascript" src="../static/js/jquery.js"></script>
  11. <script language='javascript' src="js/main.js"></script>
  12. <script language='javascript' src='js/tb-box.js'></script>
  13. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  14. <form id="form1" name="form1" method="post" action="">
  15. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  16. <tr>
  17. <td height="28" background="images/tbg.gif" colspan="5">
  18. <b>投票选择</b></td>
  19. </tr>
  20. <tr align="center" bgcolor="#F9FCEF" height="24">
  21. <td width="8%">投票ID</td>
  22. <td width="18%">投票名称</td>
  23. <td width="20%">开始时间</td>
  24. <td width="20%">结束时间</td>
  25. <td width="10%">投票ID</td>
  26. </tr>
  27. {dede:datalist}
  28. <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#f4fbf4';"
  29. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  30. <td <?php if($fields['aid'] == $aid) echo "style='color:red'";?>>{dede:field.aid /}</td>
  31. <td <?php if($fields['aid'] == $aid) echo "style='color:red'";?>>
  32. {dede:field.votename /}
  33. </td>
  34. <td <?php if($fields['aid'] == $aid) echo "style='color:red'";?>>{dede:field name='starttime'
  35. function="MyDate('Y-m-d',@me)"/}</td>
  36. <td <?php if($fields['aid'] == $aid) echo "style='color:red'";?>>{dede:field name='endtime'
  37. function="MyDate('Y-m-d',@me)"/}</td>
  38. <td><a href="javascript:PutVote({dede:field.aid/});" id="TB_closeWindowButton">选取</a></td>
  39. </tr>
  40. {/dede:datalist}
  41. <tr align="center" bgcolor="#F9FCEF" height="24">
  42. <td colspan="5">{dede:pagelist listsize='6'/}</td>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. </table>
  48. </form>
  49. </body>
  50. </html>