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

99 lines
5.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. <link href="css/base.css" rel="stylesheet" type="text/css" />
  7. <style type="text/css">
  8. .rb{ border-right:1px solid #98CAEF }
  9. .tb{ border-top:1px solid #98CAEF }
  10. </style>
  11. <script type="text/javascript">
  12. function CheckAll(form){
  13. for (var i=0;i<form.elements.length;i++){
  14. var e = form.elements[i];
  15. e.checked == true ? e.checked = false : e.checked = true;
  16. }
  17. }
  18. </script>
  19. </head>
  20. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  21. <div class="bodytitle">
  22. <div class="bodytitleleft"></div>
  23. <div class="bodytitletxt" style="padding-left:10px;">圈子管理->主题管理 <a href="../group" target="_blank">[查看首页]</a></div>
  24. </div>
  25. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
  26. <tr>
  27. <td height="30" align="center" bgcolor="#ffffff">
  28. <form action="group_threads.php" name="form1" method="get">
  29. <table width="380" border="0" cellpadding="0" cellspacing="0">
  30. <tr>
  31. <td width="69">&nbsp;关键字:</td>
  32. <td width="83" align="left">
  33. <input name="keyword" type="text" id="keyword" size="12" style="width:100" value="<?php echo $keyword?>"> </td>
  34. <td width="60">&nbsp;用户:</td>
  35. <td width="87"><input name="username" type="text" id="username" size="12" style="width:100" value="<?php echo $username?>" /></td>
  36. <td width="81" align="center"><input name="imageField" type="submit" class="np coolbg" value="搜索"/></td>
  37. </tr>
  38. </table>
  39. </form>
  40. </td>
  41. </tr>
  42. </table>
  43. <form action="group_threads.php" method="post" onSubmit="return(confirm('删除后无法恢复,您确定删除吗?'))">
  44. <table width="98%" border="0" align="center" cellpadding="1" cellspacing="0" height="26" style="border:1px solid #CFCFCF;border-bottom:none;margin-top:10px;">
  45. <tr>
  46. <td width="53%" height="30" align="left" background="images/tbg.gif" style="padding-left:10px;"><font color="#458146"><strong>所有主题</strong></font></td>
  47. <td width="47%" height="30" align="right" background="images/tbg.gif">&nbsp;<a href="group_threads.php?orders=digest" ><font color="#458146">精品区</font></a> <font color="#458146">|</font> <a href="group_threads.php?orders=close" ><font color="#458146">已关闭</font></a><font color="#458146">|</font> <a href="group_threads.php?orders=rep"><font color="#458146">最多回复</font></a>&nbsp;&nbsp;</td>
  48. </tr>
  49. </table>
  50. <table width="98%" border="0" cellpadding="0" cellspacing="0" align="center">
  51. <tr>
  52. <td height="30" align="center" bgcolor="#FAFCEF">
  53. <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" style="background:#CFCFCF;">
  54. <tr bgcolor="#FDFEE9" >
  55. <td width="3%" height="24" align="left" bgcolor="#FDFEE9"></td>
  56. <td width="5%" height="24" align="center" bgcolor="#FDFEE9">点击</td>
  57. <td width="5%" height="24" align="center" bgcolor="#FDFEE9">回复</td>
  58. <td width="44%" height="24" align="left" bgcolor="#FDFEE9">标题/圈子</td>
  59. <td width="16%" height="24" align="center" bgcolor="#FDFEE9">作者</td>
  60. <td width="15%" height="24" align="center" bgcolor="#FDFEE9">最后回复</td>
  61. <td width="12%" align="center" bgcolor="#FDFEE9">操作</td>
  62. </tr>
  63. {dede:datalist}
  64. <?php
  65. $row = $fields;
  66. $titleleft = "";
  67. $subject = $row['subject'];
  68. if($row['digest']) $titleleft .= "<span style='color:green;'>[精]</span>";
  69. if($row['displayorder']) $titleleft .= "<span style='color:red;'>[顶]</span>";
  70. if($row['closed']) $subject = "<s>".$subject."</s>";
  71. $subject = $titleleft.$subject;
  72. ?>
  73. <tr bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  74. <td height="28" align="center"><input name="ids[]" type="checkbox" id="Ids-<?php echo $row['tid']?>" value="<?php echo $row['tid']?>" /></td>
  75. <td height="28" align="center"><?php echo $row['views']?></td>
  76. <td height="28" align="center"><?php echo $row['replies']?></td>
  77. <td height="28" align="left"><?php echo $subject?>/<a href="group_edit.php?id=<?php echo $row['gid']?>"><?php echo GetGroupname($row['gid'])?></a></td>
  78. <td height="28" align="center"><a href="member_view.php?id=<?php echo $row['authorid']?>"><?php echo $row['author']?></a> [<?php echo GetDateMk($row['dateline'])?>]</td>
  79. <td height="28" align="center"><?php echo $row['lastposter']?> [<?php echo GetDateMk($row['lastpost'])?>]</td>
  80. <td height="28" align="center"><a href="group_threads.php?action=del&id=<?php echo $row['tid']?>" onClick="return(confirm('删除后无法恢复,您确定删除吗?'))">删除</a>|<a href="group_threads.php?action=close&id=<?php echo $row['tid']?>">关闭</a>|<a href="group_threads.php?action=digest&id=<?php echo $row['tid']?>">加精</a>|<a href="group_threads.php?action=top&id=<?php echo $row['tid']?>">置顶</a></td>
  81. </tr>
  82. {/dede:datalist}
  83. <tr>
  84. <td height="28" colspan="7" align="left" bgcolor="#F9FCEF">
  85. <table width="100%" border="0">
  86. <tr>
  87. <td width="26%">&nbsp;<input type="button" class="np coolbg" onClick="CheckAll(this.form)" value="反 选" />
  88. <input type="submit" class="np coolbg" value="删除" /></td>
  89. <td width="74%" align="right">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}&nbsp;&nbsp;</td>
  90. </tr>
  91. </table></td>
  92. </tr>
  93. </table>
  94. </td>
  95. </tr>
  96. </table>
  97. </form>
  98. </body>
  99. </html>