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

109 lines
4.7KB

  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. <script language='javascript' src='js/main.js'></script>
  7. <link href="css/base.css" rel="stylesheet" type="text/css" />
  8. <style type="text/css">
  9. .rb{ border-right:1px solid #98CAEF }
  10. .tb{ border-top:1px solid #98CAEF }
  11. a.current {border-left:1px solid #cfcfcf;border-right:1px solid #cfcfcf;background:#ffffff;color:#FF0000;font-weight:bold;}
  12. </style>
  13. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  14. <div class="bodytitle">
  15. <div class="bodytitleleft"></div>
  16. <div class="bodytitletxt">圈子管理</div>
  17. </div>
  18. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#CFCFCF;">
  19. <tr>
  20. <td height="30" align="center" bgcolor="#ffffff">
  21. <form action="group_guestbook.php" name="form1" method="get">
  22. <input name="gid" type="hidden" value="<?php echo $gid?>" />
  23. <table width="425" border="0" cellpadding="0" cellspacing="0">
  24. <tr>
  25. <td width="70">&nbsp;关键字:</td>
  26. <td width="100" align="left">
  27. <input name="keyword" type="text" id="keyword" size="12" style="width:100" value="<?php echo $keyword?>"> </td>
  28. <td width="52">&nbsp;用户:</td>
  29. <td width="103"><input name="username" type="text" id="username" size="12" style="width:100" value="<?php echo $username?>" /></td>
  30. <td width="101" align="center"><input name="imageField" type="submit" class="np coolbg" value="搜索"/></td>
  31. </tr>
  32. </table>
  33. </form>
  34. </td>
  35. </tr>
  36. </table>
  37. <table width="98%" border="0" cellpadding="0" cellspacing="0" align="center" style="margin-top:10px;">
  38. <tr>
  39. <td width="100%" height="24">
  40. <table width="99%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #CFCFCF;border-bottom:none;" class="gtab">
  41. <tr>
  42. <td height="26" background="images/tbg.gif">
  43. <a href="group_main.php">圈子列表</a>
  44. <a href="group_edit.php?id=<?php echo $gid?>"><span id="cate_1" >基本资料</span></a>
  45. <a href="group_user.php?gid=<?php echo $gid?>"><span id="cate_2">成员管理</span></a>
  46. <a id="cate_3" class="current">留言管理</a>
  47. <a href="group_notice.php?gid=<?php echo $gid?>"><span id="cate_4">公告管理</span></a> </td>
  48. </tr>
  49. </table></td>
  50. </tr>
  51. <tr >
  52. <td height="26" align="left" bgcolor="#FFFFFF">
  53. <!--成员管理-->
  54. <div id="cate_info_2">
  55. <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CFCFCF">
  56. {dede:datalist}
  57. <?php
  58. $rs = $fields;
  59. $stime = date("y-m-d h:i:s",$rs['stime']);
  60. ?>
  61. <tr>
  62. <td height="28" colspan="2" bgcolor="#FEFCEF"><?php echo $rs['title']?></td>
  63. </tr>
  64. <tr>
  65. <td width="13%" align="center" bgcolor="#FFFFFF"><a href="member_view.php?id=<?php echo $rs['userid']?>"><?php echo $rs['uname']?></a><br /> <?php echo $rs['ip']?></td>
  66. <td align="left" bgcolor="#FFFFFF"><?php echo $rs['message']?>
  67. <p>
  68. <a href="group_guestbook.php?gid=<?php echo $gid?>&action=edit&id=<?php echo $rs['bid']?>#edit">修改</a>|<a href="group_guestbook.php?gid=<?php echo $gid?>&action=del&id=<?php echo $rs['bid']?>" onClick="return(confirm('删除后无法恢复,您确定删除吗?'))">删除</a>
  69. 时间:<?php echo $stime?></p>
  70. </td>
  71. </tr>
  72. {/dede:datalist}
  73. <tr>
  74. <td height="28" colspan="2" bgcolor="#F9FCEF">{dede:pagelist/}</td>
  75. </tr>
  76. </table>
  77. </div>
  78. </td>
  79. </tr>
  80. </table>
  81. <br />
  82. <a name="edit" id="edit"></a>
  83. <?php
  84. if($action=="edit"){
  85. ?>
  86. <form action="group_guestbook.php" method="post">
  87. <input name="gid" type="hidden" value="<?php echo $gid;?>" />
  88. <input name="id" type="hidden" value="<?php echo $id;?>" />
  89. <input name="action" type="hidden" value="save" />
  90. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2">
  91. <tr>
  92. <td width="8%" height="30" align="left"><strong>留言标题:</strong></td>
  93. <td width="92%"><input name="title" type="text" id="title" value="<?php echo $title;?>" size="30" /></td>
  94. </tr>
  95. <tr>
  96. <td colspan="2"><?php
  97. GetEditor("message",$message,300,"Small");
  98. ?></td>
  99. </tr>
  100. <tr>
  101. <td height="30" colspan="2"><input type="submit" name="button" id="button" value="保 存" class="np coolbg"/></td>
  102. </tr>
  103. </table>
  104. </form>
  105. <?php
  106. }
  107. ?>
  108. </body>
  109. </html>