<!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=<?php echo $cfg_soft_lang; ?>" />
<title>成员管理</title>
<link href="../member/images/member.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../images/js/j.js"></script>
<script language="javascript" type="text/javascript" src="../member/js/table_function.js"></script>
</head>
<body>
<?php  include(DEDEMEMBER."./templets/head.htm"); ?>
<div class="wrapper lineT">
  <div class="mainBox">
    <div class="main"><?php  include(DEDEMEMBER."./templets/menu.php");?>
      <div class="dedeMain">
        <div class="location">管理<i>|</i><a href="../group/group.php?id=<?php echo $id?>" target="_blank"><?php echo $_GROUPS['groupname'];?></a></div>
        <div class="titleTabBar bgGreen lineTB">
          <ul>
            <li class="select"><a href="mygroup.php">创建的圈子</a></li>
            <!--<li><a href="myjoin.php">参与的圈子</a></li> -->
            <li><a href="myjoin.php">我的发帖</a></li>
          </ul>
        </div>
        
        <div class="mL10 mR10 mTB10">
          <div class="titleBar bgGrass lineB mB10">
            <div class="fLeft"><strong>成员管理</strong></div>
            <div class="fRight titSecondary white" style="margin-top:5px;">
            <em class="mR10"><a href="mygroup_manage.php?id=<?php echo $id;?>">基本资料</a></em>
            <em class="mR10"><a href="mygroup_cate.php?id=<?php echo $id;?>">话题分类</a></em>
            <em class="mR10"><a href="mygroup_member.php?id=<?php echo $id;?>">成员管理</a></em>
            <em class="mR10"><a href="mygroup_skin.php?id=<?php echo $id;?>">自定义风格</a></em>
            <em><a href="mygroup_notice.php?id=<?php echo $id;?>">修改公告</a></em></div>
          </div>
          {dede:datalist}
          <?php
							$rs = $fields;
								$mastericon = GetMaster($rs['username']);
								if(empty($mastericon)) $setmaster = "设为管理员";
								else $setmaster = "辞去管理员";
                        ?>
          <div class="item">
            <div class="itemHead" >
              <div class="fLeft"> <span class="itemHeadTitle yellow"><a href="index.php?id=<?php echo $rs['uid'];?>" target="_blank"><?php echo $rs['username']?></a></span></div>
              <div class="fRight">
                <?php
										if($cfg_group_click){
										$isjoin = "<a  href='mygroup_member.php?action=join&uid={$rs['uid']}&id=$id'><span color='red'>[通过]</span></a>";
										if($rs['isjoin']) $isjoin = "";
									?>
                <?php echo $isjoin;?>
                <?php
										}
									?>
                <a href="mygroup_member.php?action=admin&uid=<?php echo $rs['uid']?>&id=<?php echo $id;?>">[<?php echo $setmaster;?>]</a> <a href="mygroup_member.php?action=del&uid=<?php echo $rs['uid']?>&id=<?php echo $id;?>">[删除该成员]</a> </div>
            </div>
          </div>
          <hr class="dotted" />
          {/dede:datalist}
          <div class="pages mTB10 fRight">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div>
</div>
<?php  include(DEDEMEMBER."./templets/foot.htm");?>
</body>
</html>
