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

65 lines
2.4KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>修改标记</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. </head>
  10. <body>
  11. <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3">
  12. <tr>
  13. <td bgcolor="#f5f5f5" colspan="2"><a href="mytag_main.php">自定义宏标记</a> &gt; 修改标记</td>
  14. </tr>
  15. <form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1">
  16. <input type="hidden" name="aid" value="<?php echo $aid?>">
  17. <input type="hidden" name="dopost" value="saveedit">
  18. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
  19. <tr>
  20. <td width="260">所属栏目:</td>
  21. <td>
  22. <?php
  23. $tl = new TypeLink(0);
  24. $typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
  25. echo "<select name='typeid' class='admin-input-md'>";
  26. echo "<option value='0' selected>显示在没有继承本标记的所有栏目</option>";
  27. echo $typeOptions;
  28. echo "</select>";
  29. ?>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td>标记名称:</td>
  34. <td><?php echo $row['tagname']?></td>
  35. </tr>
  36. <tr>
  37. <td>时间限制:</td>
  38. <td>
  39. <input name="timeset" type="radio" value="0" <?php if ($row['timeset']==0) echo "checked";?>> 永不过期
  40. <input type="radio" name="timeset" value="1" <?php if ($row['timeset']==1) echo "checked";?>> 在设内时间内有效
  41. </td>
  42. </tr>
  43. <tr>
  44. <td>开始时间:</td>
  45. <td><input type="text" name="starttime" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td>
  46. </tr>
  47. <tr>
  48. <td>结束时间:</td>
  49. <td><input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td>
  50. </tr>
  51. <tr>
  52. <td>正常显示文档:</td>
  53. <td><textarea name="normbody" id="normbody" class="admin-textarea-xl"><?php echo $row['normbody']?></textarea></td>
  54. </tr>
  55. <tr>
  56. <td>过期显示文档:</td>
  57. <td><textarea name="expbody" id="expbody" class="admin-textarea-xl"><?php echo $row['expbody']?></textarea> </td>
  58. </tr>
  59. <tr>
  60. <td bgcolor="#f5f5f5" align="center" colspan="2"><button type="submit" class="btn btn-success btn-sm">保存</button></td>
  61. </tr>
  62. </form>
  63. </table>
  64. </body>
  65. </html>