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

76 lines
3.3KB

  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/admin.css">
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.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 height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 修改标记</td>
  14. </tr>
  15. <tr>
  16. <td height="200">
  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%" height="26" 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 height="26" align="center">标记名称:</td>
  37. <td colspan="2"><?php echo $row['tagname']?></td>
  38. </tr>
  39. <tr>
  40. <td height="26" align="center">时间限制:</td>
  41. <td colspan="2"><input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked"; ?>>
  42. 永不过期
  43. <input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked"; ?>>
  44. 在设内时间内有效</td>
  45. </tr>
  46. <tr>
  47. <td height="26" align="center">开始时间:</td>
  48. <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td>
  49. </tr>
  50. <tr>
  51. <td height="26" align="center">结束时间:</td>
  52. <td colspan="2"><input name="endtime" type="text" 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" style="width:80%;height:100px"><?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" style="width:80%;height:100px"><?php echo $row['expbody']?></textarea> </td>
  62. <td></td>
  63. </tr>
  64. <tr>
  65. <td height="53" align="center"></td>
  66. <td colspan="2">
  67. <button type='submit' name='B1' class='btn btn-success btn-sm'>确定</button>
  68. </td>
  69. </tr>
  70. </form>
  71. </table>
  72. </td>
  73. </tr>
  74. </table>
  75. </body>
  76. </html>