<!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>管理中心--成员管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<!-- 头部开始 -->
<?php  include(dirname(__FILE__)."/head.htm"); ?>	
<!-- 中部开始 -->
<center>
    <div id="manage_company_main">
		<!-- 中部左边开始 -->
      <?php  include(dirname(__FILE__)."/menu.php"); ?>
		<!-- 中部右边开始 -->
        <div id="myask_right">
        	<div id="myask_info">
            	<div class="menu_nav">
                <li><a href="mygroup_manage.php?id=<?php echo $gid;?>">基本资料</a></li>
                <li><a href="mygroup_cate.php?id=<?php echo $gid;?>">话题分类</a></li>
                <li class="current">成员管员</li>
                <li><a href="mygroup_notice.php?gid=<?php echo $gid;?>">修改公告</a></li>
                </div>
                <div class="myask_form">
                	<div class="myask_formbg">
                        <dl>
                        <dd class="highbor2 bigtext">用户ID</dd>
                      	</dl>
                        <div class="space">
                        </div>
                        <dl>
                        <?php
                        $mylist = $dlist->GetDataList();
                        while($rs = $mylist->GetArray('dm'))
                        {
                        $mastericon = GetMaster($rs['username']);
                        if(empty($mastericon)) $setmaster = "设为管理员";
                        else $setmaster = "辞去管理员";
                        ?>
                        <dd class="highbor smalltext"><?=GetMaster($rs['username'])?> <a href="index.php?id=<?php echo $rs['uid'];?>" target="_blank">·<?=$rs['username']?></a></dd>
                        <dd class="smallbor1 smalltext"><a href="mygroup_member.php?action=admin&ID=<?=$rs['uid']?>&gid=<?=$gid?>"><?php echo $setmaster;?></a></dd>
                        <dd class="smallbor1 smalltext"><a href="mygroup_member.php?action=del&ID=<?=$rs['uid']?>&gid=<?=$gid?>">请出圈子</a></dd>
                        <?php
                        if($cfg_group_click){
                        $isjoin = "<a href='mygroup_member.php?action=join&ID=".$rs['uid']."&gid=".$gid."'><font color='red'>通过</font></a>";
                        if($rs['isjoin']) $isjoin = "<font color='green'>已加入</font>";
                        ?>
                        <dd class="smallbor1 smalltext"><?php echo $isjoin;?></dd>
                        <?php } ?>
                        
                        </dl>
                        <?php
                        } ?>
                      <div class="clear">
                        </div>
                    </div>
            	</div>
                <div class="clear">
                </div>
            </div>
            <div id="myask_list_info"><?php echo $dlist->GetPageList(7);?></div>
		</div>
        <div class="clear">
		</div>

<div class="clear">
</div>
</center>
</div>
</body> 
</html>  