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

84 line
3.6KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>编辑评论</title>
  6. <style type="text/css">
  7. body {
  8. background-image: url(images/allbg.gif);
  9. }
  10. </style>
  11. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  12. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  13. <link href="css/base.css" rel="stylesheet" type="text/css">
  14. </head>
  15. <body>
  16. <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3">
  17. <tr>
  18. <td width="100%" height="26" colspan="2" background="images/tbg.gif" style="padding-left:10px"><strong><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> &gt;&gt; 编辑评论:</strong>
  19. </td>
  20. </tr>
  21. <tr>
  22. <td height="187" colspan="2" align="center" bgcolor="#FFFFFF">
  23. <form name="form1" method="post" action="feedback_edit.php">
  24. <input type="hidden" name="dopost" value="edit" />
  25. <input type="hidden" name="id" value="<?php echo $row['id']; ?>" />
  26. <table width="100%" border="0" cellpadding="3" cellspacing="1" style="text-align:left;" class="table table-borderless">
  27. <tr bgcolor="#FFFFFF">
  28. <td width="120" height="26">评论所属文章:</td>
  29. <td>
  30. <?php echo RemoveXSS($row['arctitle']);?>
  31. </td>
  32. </tr>
  33. <tr bgcolor="#FFFFFF">
  34. <td height="26">评论人:</td>
  35. <td>
  36. <input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>" />
  37. </td>
  38. </tr>
  39. <tr bgcolor="#FFFFFF">
  40. <td height="26">评论发布时间:</td>
  41. <td>
  42. <?php echo GetDateTimeMK($row['dtime']); ?>
  43. </td>
  44. </tr>
  45. <tr bgcolor="#FFFFFF">
  46. <td height="26">IP地址:</td>
  47. <td>
  48. <?php echo $row['ip']; ?>
  49. </td>
  50. </tr>
  51. <tr bgcolor="#FFFFFF">
  52. <td height="26">评论内容:</td>
  53. <td>修改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑</td>
  54. </tr>
  55. <tr bgcolor="#FFFFFF">
  56. <td height="62" align="center">&nbsp; </td>
  57. <td height="62">
  58. <textarea name="msg" cols="60" rows="5"
  59. id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td>
  60. </tr>
  61. <tr bgcolor="#FFFFFF">
  62. <td height="26">管理员回复:</td>
  63. <td>回复内容的HTML代码会被屏蔽</td>
  64. </tr>
  65. <tr bgcolor="#FFFFFF">
  66. <td height="26" align="center">&nbsp; </td>
  67. <td height="26">
  68. <textarea name="adminmsg" cols="60" rows="5" id="adminmsg"></textarea></td>
  69. </tr>
  70. <tr bgcolor="#FFFFFF">
  71. <td height="36" width='600' colspan="2" align="center">
  72. <button type="submit" class="btn btn-success">保存修改</button>
  73. &nbsp;
  74. <button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success">不理返回</button>
  75. </td>
  76. </tr>
  77. </table>
  78. </form>
  79. </td>
  80. </tr>
  81. </table>
  82. </body>
  83. </html>