国内流行的内容管理系统(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.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/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3 mb-3">
  13. <tr>
  14. <td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> &gt; 编辑评论</td>
  15. </tr>
  16. <tr>
  17. <td height="187" colspan="2" align="center">
  18. <form name="form1" method="post" action="feedback_edit.php">
  19. <input type="hidden" name="dopost" value="edit">
  20. <input type="hidden" name="id" value="<?php echo $row['id']; ?>">
  21. <table width="100%" cellpadding="3" cellspacing="1" class="table table-borderless">
  22. <tr>
  23. <td width="260" height="26">评论所属文章:</td>
  24. <td>
  25. <?php echo RemoveXSS($row['arctitle']); ?>
  26. </td>
  27. </tr>
  28. <tr>
  29. <td height="26">评论人:</td>
  30. <td>
  31. <input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>">
  32. </td>
  33. </tr>
  34. <tr>
  35. <td height="26">评论发布时间:</td>
  36. <td>
  37. <?php echo GetDateTimeMK($row['dtime']); ?>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td height="26">IP地址:</td>
  42. <td>
  43. <?php echo $row['ip']; ?>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td height="26">评论内容:</td>
  48. <td>修改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑</td>
  49. </tr>
  50. <tr>
  51. <td height="62" align="center"></td>
  52. <td height="62">
  53. <textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td>
  54. </tr>
  55. <tr>
  56. <td height="26">管理员回复:</td>
  57. <td>回复内容的HTML代码会被屏蔽</td>
  58. </tr>
  59. <tr>
  60. <td height="26" align="center"></td>
  61. <td height="26">
  62. <textarea name="adminmsg" cols="60" rows="5" id="adminmsg"></textarea></td>
  63. </tr>
  64. <tr>
  65. <td colspan="2" align="center" class="py-3">
  66. <button type="submit" class="btn btn-success btn-sm">保存</button>
  67. <button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success btn-sm">返回</button>
  68. </td>
  69. </tr>
  70. </table>
  71. </form>
  72. </td>
  73. </tr>
  74. </table>
  75. </body>
  76. </html>