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

  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_notice.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="101" 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"><table width="99%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #CFCFCF;border-bottom:none;" class="gtab">
  40. <tr>
  41. <td height="26" background="images/tbg.gif">
  42. <a href="group_main.php">圈子列表</a>
  43. <a href="group_edit.php?id=<?php echo $gid?>"><span id="cate_1" >基本资料</span></a>
  44. <a href="group_user.php?gid=<?php echo $gid?>"><span id="cate_2">成员管理</span></a>
  45. <a href="group_guestbook.php?gid=<?php echo $gid?>"><span id="cate_3">留言管理</span></a>
  46. <a id="cate_4" class="current">公告管理</a> </td>
  47. </tr>
  48. </table></td>
  49. </tr>
  50. <tr >
  51. <td height="26" align="left" bgcolor="#FFFFFF">
  52. <!--成员管理-->
  53. <div id="cate_info_2">
  54. <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CFCFCF">
  55. <tr bgcolor="#FBFCE2">
  56. <td width="39%" height="28" align="center">标题</td>
  57. <td width="14%" height="28" align="center">发布人</td>
  58. <td width="19%" height="28" align="center">时间</td>
  59. <td width="28%" height="28" align="center">操作</td>
  60. </tr>
  61. {dede:datalist}
  62. <?php
  63. $rs = $fields;
  64. ?>
  65. <tr height="28" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EDF7D0';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  66. <td height="28" align="center" ><a href="/group/group_notice.php?id=<?php echo $rs['id']?>" target="_blank"><?php echo $rs['title']?></a></td>
  67. <td height="28" align="center" ><a href="member_view.php?id=<?php echo $rs['userid']?>"><?php echo $rs['uname']?></a></td>
  68. <td height="28" align="center" ><?php echo GetDateMk($rs['stime'])?></td>
  69. <td height="28" align="center"><a href="group_notice.php?action=edit&id=<?php echo $rs['id']?>&gid=<?php echo $gid?>">修改</a> | <a href="group_notice.php?action=del&id=<?php echo $rs['id']?>&gid=<?php echo $gid?>" onClick="return(confirm('删除后无法恢复,您确定删除吗?'))">删除</a></td>
  70. </tr>
  71. {/dede:datalist}
  72. <tr>
  73. <td height="28" colspan="4" bgcolor="#EDF9D5">{dede:pagelist/}</td>
  74. </tr>
  75. </table>
  76. </div>
  77. </td>
  78. </tr>
  79. </table>
  80. <?php
  81. if($action=="edit"){
  82. ?>
  83. <form action="group_notice.php" method="post">
  84. <input name="gid" type="hidden" value="<?php echo $gid;?>" />
  85. <input name="id" type="hidden" value="<?php echo $id;?>" />
  86. <input name="action" type="hidden" value="save" />
  87. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2">
  88. <tr>
  89. <td width="8%" height="30" align="left"><strong>标题:</strong></td>
  90. <td colspan="2"><input name="title" type="text" id="title" value="<?php echo $title;?>" size="30" /></td>
  91. </tr>
  92. <tr>
  93. <td><strong>内容:</strong></td>
  94. <td width="45%"><?php
  95. GetEditor("notice",$notice,300,"Small");
  96. ?></td>
  97. <td width="47%">&nbsp;</td>
  98. </tr>
  99. <tr>
  100. <td height="30" colspan="3"><input type="submit" name="button" id="button" value="保 存" class="np coolbg"/></td>
  101. </tr>
  102. </table>
  103. </form>
  104. <?php
  105. }
  106. ?>
  107. </body>
  108. </html>