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

79 lines
3.4KB

  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 rel="stylesheet" href="../static/web/css/admin.css">
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. </head>
  9. <body>
  10. <table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
  11. <tr>
  12. <td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 修改标记</td>
  13. </tr>
  14. <tr>
  15. <td height="200">
  16. <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
  17. <form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1">
  18. <input type='hidden' name='aid' value='<?php echo $aid?>'>
  19. <input type='hidden' name='dopost' value='saveedit'>
  20. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
  21. <tr>
  22. <td width="15%" height="26" align="center">所属栏目:</td>
  23. <td colspan="2">
  24. <?php
  25. $tl = new TypeLink(0);
  26. $typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
  27. echo "<select name='typeid' style='width:260px'>";
  28. echo "<option value='0' selected>显示在没有继承本标记的所有栏目</option>";
  29. echo $typeOptions;
  30. echo "</select>";
  31. ?>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td height="26" align="center">标记名称:</td>
  36. <td colspan="2"><?php echo $row['tagname']?></td>
  37. </tr>
  38. <tr>
  39. <td height="26" align="center">时间限制:</td>
  40. <td colspan="2"><input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked"; ?>>
  41. 永不过期
  42. <input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked"; ?>>
  43. 在设内时间内有效</td>
  44. </tr>
  45. <tr>
  46. <td height="26" align="center">开始时间:</td>
  47. <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td>
  48. </tr>
  49. <tr>
  50. <td height="26" align="center">结束时间:</td>
  51. <td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td>
  52. </tr>
  53. <tr>
  54. <td height="80" align="center">正常显示内容:</td>
  55. <td width="70%">
  56. <textarea name="normbody" id="normbody" style="width:80%;height:100px"><?php echo $row['normbody']?></textarea>
  57. </td>
  58. <td width="9%"></td>
  59. </tr>
  60. <tr>
  61. <td height="80" align="center">过期显示内容:</td>
  62. <td>
  63. <textarea name="expbody" id="expbody" style="width:80%;height:100px"><?php echo $row['expbody']?></textarea>
  64. </td>
  65. <td></td>
  66. </tr>
  67. <tr>
  68. <td height="53" align="center"></td>
  69. <td colspan="2">
  70. <button type='submit' name='B1' class='btn btn-success btn-sm'>确定</button>
  71. </td>
  72. </tr>
  73. </form>
  74. </table>
  75. </td>
  76. </tr>
  77. </table>
  78. </body>
  79. </html>