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

136 lines
5.8KB

  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>圈子管理-&gt;圈子列表</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. var flag=false;
  13. function MyImage(Img){
  14. var image=new Image();
  15. image.src=Img.src;
  16. width=80;//预先设置的所期望的宽的值
  17. height=80;//预先设置的所期望的高的值
  18. if(image.width>width||image.height>height){//现有图片只有宽或高超了预设值就进行js控制
  19. w=image.width/width;
  20. h=image.height/height;
  21. if(w>h){//比值比较大==>宽比高大
  22. //定下宽度为width的宽度
  23. Img.width=width;
  24. //以下为计算高度
  25. Img.height=image.height/w;
  26. }else{//高比宽大
  27. //定下宽度为height高度
  28. Img.height=height;
  29. //以下为计算高度
  30. Img.width=image.width/h;
  31. }
  32. }
  33. }
  34. </script>
  35. </head>
  36. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  37. <div class="bodytitle">
  38. <div class="bodytitleleft"></div>
  39. <div class="bodytitletxt">圈子管理 <a href="../group" target="_blank">[查看首页]</a></div>
  40. </div>
  41. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
  42. <tr>
  43. <td height="30" align="center" bgcolor="#ffffff">
  44. <form action="group_main.php" name="form1" method="get">
  45. <table width="600" border="0" cellpadding="0" cellspacing="0">
  46. <tr>
  47. <td width="70">&nbsp;关键字:</td>
  48. <td width="83" align="left">
  49. <input name="keyword" type="text" id="keyword" size="12" style="width:100" value="<?php echo $keyword?>"> </td>
  50. <td width="80">&nbsp;创建人:</td>
  51. <td width="87"><input name="username" type="text" id="username" size="12" style="width:100" value="<?php echo $username?>" /></td>
  52. <td width="59" align="center">类目: </td>
  53. <td width="161" align="left"><select name="store" id="store">
  54. <option value="0">所有</option>
  55. <?php echo $option?>
  56. </select></td>
  57. <td width="81" align="center"><input name="imageField" type="submit" class="np coolbg" value="搜索"/></td>
  58. </tr>
  59. </table>
  60. </form>
  61. </td>
  62. </tr>
  63. </table>
  64. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="margin-top:10px;background:#CFCFCF;">
  65. <tr>
  66. <td height="24" colspan="7" bgcolor="#EDF9D5" background="images/tbg.gif">
  67. <table width="99%" border="0" cellspacing="0" cellpadding="0">
  68. <tr>
  69. <td width="29%">&nbsp;&nbsp;<strong>圈子管理>>圈子列表</strong></td>
  70. <td width="71%" align="right">&nbsp;</td>
  71. </tr>
  72. </table></td>
  73. </tr>
  74. <tr bgcolor="#FDFEE9" height="26">
  75. <td width="10%" align="center">图标</td>
  76. <td width="20%" align="center">[ID]名称/时间</td>
  77. <td width="5%" align="center">官方?</td>
  78. <td width="10%" align="center">创建人</td>
  79. <td width="30%" align="center">说明</td>
  80. <td width="10%" align="center">管理员</td>
  81. <td width="15%" align="center">操作</td>
  82. </tr>
  83. <!--分页-->
  84. {dede:datalist}
  85. <?php
  86. $row = $fields;
  87. $icon = $row['groupimg'];
  88. if(!$icon) $icon = "images/dfpic.gif";
  89. $issystem = $row['issystem'];
  90. if($issystem) $issystem = "<font color='red'>官方</font>";
  91. else $issystem = "普通";
  92. if($row['ishidden'])
  93. {
  94. $ishidden = "<font color='red'>关闭</font>";
  95. $opstauts = "开放";
  96. $opstautsdo = "open";
  97. }
  98. else
  99. {
  100. $ishidden = "<font color='green'>开放</font>";
  101. $opstauts = "关闭";
  102. $opstautsdo = "close";
  103. }
  104. ?>
  105. <tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  106. <td><img src="<?php echo $icon?>" align="absmiddle" onload='javascript:MyImage(this);'/></td>
  107. <td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  108. <tr>
  109. <td height="26">[<?php echo $row['groupid']?>] <?php if($row['isindex']) echo "[<font color='red'>荐</font>]";?><u><a href="group_edit.php?id=<?php echo $row['groupid']?>"><?php echo $row['groupname']?></a></u>/<?php echo GetDateMk($row['stime'])?></td>
  110. </tr>
  111. <tr>
  112. <td height="26">状态:<?php echo $ishidden?>;类目:<?php echo GetGroupstore($row['storeid']);?></td>
  113. </tr>
  114. </table></td>
  115. <td><?php echo $issystem?></td>
  116. <td><?php echo $row['creater']?></td>
  117. <td title="title"><?php echo HtmlReplace($row['des'],-1);?></td>
  118. <td><?php echo $row['ismaster']?></td>
  119. <td>
  120. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  121. <tr>
  122. <td align="left" height="25"><a href="group_main.php?action=<?php echo $opstautsdo?>&id=<?php echo $row['groupid']?>"><?php echo $opstauts?></a> | <a href="group_edit.php?id=<?php echo $row['groupid']?>">编辑</a> | <a href="group_main.php?action=del&id=<?php echo $row['groupid']?>" onClick="return(confirm('删除后无法恢复,您确定删除吗?'))">删除</a> |<br /><a href="group_guestbook.php?gid=<?php echo $row['groupid']?>">留言</a> | <a href="group_threads.php?gid=<?php echo $row['groupid']?>">列表</a></td>
  123. </tr>
  124. </table></td>
  125. </tr>
  126. {/dede:datalist}
  127. <!--分页-->
  128. <tr>
  129. <td height="28" colspan="7" bgcolor="#F9FCEF">&nbsp;&nbsp;{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</td>
  130. </tr>
  131. </table>
  132. </body>
  133. </html>