国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
4.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>投票管理</title>
  6. <link href="css/base.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  9. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  10. <tr>
  11. <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b>投票管理</b>&gt;&gt;增加投票&nbsp;&nbsp;[<a href="vote_main.php"><u>管理以往投票内容记录</u></a>]</td>
  12. </tr>
  13. <tr>
  14. <td height="200" bgcolor="#FFFFFF" valign="top">
  15. <form name="form1" method="post" action="vote_edit.php">
  16. <input type="hidden" name="dopost" value="saveedit">
  17. <input type="hidden" name="aid" value="<?php echo $aid?>">
  18. <table width="100%" border="0" cellspacing="4" cellpadding="4">
  19. <tr>
  20. <td width="15%" align="center">投票名称:</td>
  21. <td width="85%"> <input name="votename" type="text" id="votename" value="<?php echo $row['votename']?>">
  22. </td>
  23. </tr>
  24. <tr>
  25. <td align="center">投票总人数:</td>
  26. <td><input name="totalcount" type="text" id="totalcount" value="<?php echo $row['totalcount']?>"></td>
  27. </tr>
  28. <tr>
  29. <td align="center">开始时间:</td>
  30. <td><input name="starttime" type="text" id="starttime" value="<?php echo GetDateMk($row['starttime'])?>"></td>
  31. </tr>
  32. <tr>
  33. <td align="center">结束时间:</td>
  34. <td><input name="endtime" type="text" id="endtime" value="<?php echo GetDateMk($row['endtime'])?>"></td>
  35. </tr>
  36. <tr>
  37. <td align="center">是否允许游客投票:</td>
  38. <td> <input name="isallow" type="radio" class="np" value="0" <?php if($row['isallow']==0) echo " checked"; ?>>
  39. 是  
  40. <input type="radio" name="isallow" class="np" value="1" <?php if($row['isallow']==1) echo " checked"; ?>>
  41. 否</td>
  42. </tr>
  43. <tr>
  44. <td align="center">是否允许查看投票:</td>
  45. <td> <input name="view" type="radio" class="np" value="0" <?php if($row['view']==0) echo " checked"; ?>>
  46. 是  
  47. <input type="radio" name="view" class="np" value="1" <?php if($row['view']==1) echo " checked"; ?>>
  48. 否</td>
  49. </tr>
  50. <tr>
  51. <td align="center">投票时间间隔:</td>
  52. <td><input name="spec" type="text" value="<?php echo $row['spec'] ?>" class="spec" >
  53. (N天后可再次投票,0 表示此IP地址只能投一次)</td>
  54. </tr>
  55. <tr>
  56. <td align="center">是否多选:</td>
  57. <td> <input name="ismore" type="radio" class="np" value="0"<?php if($row['ismore']==0) echo " checked";?>>
  58. 单选  
  59. <input type="radio" name="ismore" class="np" value="1"<?php if($row['ismore']==1) echo " checked";?>>
  60. 多选 </td>
  61. </tr>
  62. <tr>
  63. <td align="center">投 票 项:<br/>
  64. (请按相同的形式来增加或修改节点,其中属性:id不能重复) </td>
  65. <td><textarea name="votenote" rows="8" id="votenote" style="width:80%"><?php echo $row['votenote']?></textarea>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td align="center">是否启用:</td>
  70. <td> <input name="isenable" type="radio" class="np" value="0" <?php if($row['isenable']==0) echo " checked"; ?>>
  71. 是  
  72. <input type="radio" name="isenable" class="np" value="1" <?php if($row['isenable']==1) echo " checked"; ?>>
  73. 否</td>
  74. </tr>
  75. <tr>
  76. <td height="47">&nbsp;</td>
  77. <td><input type="submit" name="Submit" value="保存投票数据"></td>
  78. </tr>
  79. <tr>
  80. <td colspan="2">&nbsp;</td>
  81. </tr>
  82. </table>
  83. </form>
  84. </td>
  85. </tr>
  86. </table>
  87. </body>
  88. </html>