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

97 lines
4.7KB

  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. <script type="text/javascript" src="js/calendar/calendar.js"></script>
  8. </head>
  9. <body background="images/allbg.gif" leftmargin='8' topmargin='8'>
  10. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  11. <tr>
  12. <td height="28" background="images/tbg.gif" style="padding-left:10px;">&nbsp;<b><a href="ad_main.php"><u>广告管理</u></a></b> &gt;&gt; 更改广告 </td>
  13. </tr>
  14. <tr>
  15. <td height="200" bgcolor="#FFFFFF" valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="4">
  16. <form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1">
  17. <input type='hidden' name='aid' value='<?php echo $aid?>'>
  18. <input type='hidden' name='dopost' value='saveedit'>
  19. <input type="hidden" name="token" value="<?php echo make_hash();?>" />
  20. <tr>
  21. <td height="25" align="center">广告位标识:</td>
  22. <td colspan="2"><?php echo $row['tagname']; ?></td>
  23. </tr>
  24. <tr>
  25. <td height="25" align="center">广告分类:</td>
  26. <td colspan="2"><select name='clsid' style='width:150' id="clsid">
  27. <option value='0'>默认分类...</option>
  28. <?php echo $option;?>
  29. </select></td>
  30. </tr>
  31. <tr>
  32. <td width="15%" height="25" align="center">广告投放范围:</td>
  33. <td colspan="2"><?php
  34. $tl = new TypeLink(0);
  35. $typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
  36. echo "<select name='typeid' style='width:300px'>\r\n";
  37. echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n";
  38. echo $typeOptions;
  39. echo "</select>";
  40. ?>
  41. <br>
  42. (如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目) </td>
  43. </tr>
  44. <tr>
  45. <td height="25" align="center">广告位名称:</td>
  46. <td colspan="2"><input name="adname" type="text" id="adname" size="30" value="<?php echo $row['adname']?>" class='iptxt' /></td>
  47. </tr>
  48. <tr>
  49. <td height="25" align="center">时间限制:</td>
  50. <td colspan="2"><input class="np" name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked='1' "; ?> />
  51. 永不过期
  52. <input class="np" type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked='1' "; ?> />
  53. 在设内时间内有效</td>
  54. </tr>
  55. <tr>
  56. <td height="25" align="center">投放时间:</td>
  57. <td colspan="2">从
  58. <input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" class='iptxt' />
  59. <script language="javascript" type="text/javascript">
  60. Calendar.setup({
  61. inputField : "starttime",
  62. ifFormat : "%Y-%m-%d %H:%M",
  63. showsTime : true,
  64. timeFormat : "24"
  65. });
  66. </script> 到
  67. <input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" class='iptxt' /><script language="javascript" type="text/javascript">
  68. Calendar.setup({
  69. inputField : "endtime",
  70. ifFormat : "%Y-%m-%d %H:%M",
  71. showsTime : true,
  72. timeFormat : "24"
  73. });
  74. </script></td>
  75. </tr>
  76. <tr>
  77. <td height="80" align="center">正常显示内容:</td>
  78. <td width="76%"><textarea name="normbody" rows="10" id="normbody" style="width:80%;height:100"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea></td>
  79. <td width="9%">&nbsp;</td>
  80. </tr>
  81. <tr>
  82. <td height="80" align="center">过期显示内容:</td>
  83. <td><textarea name="expbody" rows="10" id="expbody" style="width:80%;height:100"><?php echo dede_htmlspecialchars($row['expbody'])?></textarea></td>
  84. <td>&nbsp;</td>
  85. </tr>
  86. <tr>
  87. <td height="53" align="center">&nbsp;</td>
  88. <td colspan="2"><input name="imageField" type="image" src="images/button_ok.gif" width="60" height="22" border="0"></td>
  89. </tr>
  90. </form>
  91. </table></td>
  92. </tr>
  93. </table>
  94. </body>
  95. </html>