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

74 lines
3.0KB

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