<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>圈子管理>圈子列表><?php echo $groupname?></title>
<script language='javascript' src='main.js'></script>
<link href="css_body.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.rb{ border-right:1px solid #98CAEF }
.tb{ border-top:1px solid #98CAEF }
.current {border:1px solid #98CAEF;padding:5px;background:#FFFEF4;color:#FF0000;}
</style>
<div class="bodytitle">
	<div class="bodytitleleft"></div>
	<div class="bodytitletxt">圈子管理</div>
</div>

<table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="	background:#E2F5BC;">
  <tr>
    <td height="30" align="left" bgcolor="#FAFCEF">
      <table width="228" border="0" align="left" cellpadding="0" cellspacing="0">
      <form action="group_user.php" method="get" name="form1" id="form1">
      <input name="gid" type="hidden" value="<?php echo $gid?>" />
        <tr>
          <td width="60">&nbsp;成员：</td>
          <td width="87"><input name="username" type="text" id="username" size="12" style="width:100" value="<?php echo $username?>" /></td>
          <td width="81" align="center"><input name="imageField" type="submit" class="inputbut" value="搜索"/></td>
        </tr> 
       </form>       
      </table>
      
      <table width="405" border="0" cellpadding="0" cellspacing="0">
        <form action="group_user.php" method="get" name="form2" id="form2">
          <input name="gid" type="hidden" value="<?php echo $gid?>" />
          <input name="action" type="hidden" value="add" />          
          <tr>
            <td width="90" align="right">&nbsp;加入会员：</td>
            <td width="112"><input name="uname" type="text" id="uname" size="15" style="width:100" value="<?php echo $username?>" /></td>
            <td width="75" align="left"><input type="radio" name="setmaster" id="setmaser" value="1" />
            管理员</td>
            <td width="128" align="left"><input name="imageField2" type="submit" class="inputbut" value="添加" id="imageField"/></td>
          </tr>
        </form>
    </table></td>
  </tr>
</table>
<br />
<table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="	background:#E2F5BC;">
  <tr>
    <td width="100%" height="24"><table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td bgcolor="#EDF9D5">
          <a style="margin-left:25px;" href="group_main.php">圈子列表</a> 
          <a href="group_edit.php?ID=<?php echo $gid?>"><span id="cate_1" >基本资料</span></a> 
          <span id="cate_2" class="current">成员管理</span>
          <a href="group_guestbook.php?gid=<?php echo $gid?>"><span id="cate_3">留言管理</span></a> 
          <a href="group_notice.php?gid=<?php echo $gid?>"><span id="cate_4">公告管理</span></a>          </td>
        </tr>
      </table></td>
  </tr>
  <tr >
    <td height="26" align="left" bgcolor="#FFFFFF">  
    <!--成员管理-->
    <div id="cate_info_2">
      <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#E2F5BC">
        <tr>
          <td width="19%" height="28" align="center" bgcolor="#FEFCEF">用户名</td>
          <td width="17%" height="28" align="center" bgcolor="#FEFCEF">身份</td>
          <td width="17%" height="28" align="center" bgcolor="#FEFCEF">加入时间</td>
          <td width="13%" height="28" align="center" bgcolor="#FEFCEF">发贴数</td>
          <td width="11%" align="center" bgcolor="#FEFCEF">回贴数</td>
          <td width="23%" align="left" bgcolor="#FEFCEF">操作</td>
        </tr>
        <?php
        $mylist = $dlist->GetDataList();
  		while($rs = $mylist->GetArray('dm'))
		{
		?>
        <tr height="28" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EDF7D0';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
          <td height="28" align="center" ><a href="member_view.php?ID=<?php echo $rs['uid']?>"><?php echo $rs['username']?></a></td>
          <td height="28" align="center" ><?php echo GetMaster($rs['username'])?></td>
          <td height="28" align="center" ><?php echo GetDateMk($rs['jointime'])?></td>
          <td height="28" align="center" ><?php echo $rs['posts']?></td>
          <td height="28" align="center" ><?php echo $rs['replies']?></td>
          <td height="28" ><a href="group_user.php?action=admin&ID=<?php echo $rs['uid']?>&gid=<?php echo $gid?>">设为管理员</a> | <a href="group_user.php?action=del&ID=<?php echo $rs['uid']?>&gid=<?php echo $gid?>">移出群</a></td>
        </tr>
        <?php
		}
		?>
        <tr>
          <td height="28" colspan="6" bgcolor="#EDF9D5">&nbsp;&nbsp;<?php echo $dlist->GetPageList(7);?></td>
        </tr>
      </table>
    </div>
    </td>
  </tr>
</table>
<a name="nmes" id="nmes"></a>
</body>
</html>