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

66 lines
2.5KB

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