
<!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 rel="stylesheet" type="text/css" href="skin/default/jooyea/css/row_menus.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
</head>
<body>
  <div class="main_right_title">
     <span class="main_title_dot8"></span>
     <span class="main_title_txt">{echo:lp{g_manage};/}</span>
  </div>

<div id="tabsB">
  <ul>
  	<li><a href="?app=group_manager&group_id={echo:$group_id;/}" title="{echo:lp{g_info};/}"><span>{echo:lp{g_info};/}</span></a></li>
    <li><a href="?app=group_info_manager&group_id={echo:$group_id;/}" title="{echo:lp{g_info_change};/}"><span>{echo:lp{g_info_change};/}</span></a></li>
    <li><a href="?app=group_member_manager&group_id={echo:$group_id;/}" title="{echo:lp{g_manage_member};/}" class="nowbutl"><span class="nowbutr">{echo:lp{g_manage_member};/}</span></a></li>
    <li><a href="?app=group_space&group_id={echo:$group_id;/}" title="{echo:lp{g_en_space};/}"><span>{echo:lp{g_en_space};/}</span></a></li>
    <div class="div_but_2" onclick="location.href='?app=group'">{echo:lp{g_return};/}
    </div>
  </ul>
</div>
<table class='main'>
	<thead>
		<tr>
			<th>{echo:lp{g_m_name};/}</th>
			<th>{echo:lp{g_sex};/}</th>
			<th>{echo:lp{g_role};/}</th>
			<th>{echo:lp{g_ctrl};/}</th>
		</tr>
		
	{sta:foreach($member_rs as $rs)[loop]}
		
			{sta:$act_show=show_manage_act($group_creat,$rs['role'],$group_id);/}
		
    <tr>
    	<td>{echo:$rs['user_name'];/}</td>
    	<td>{echo:get_user_sex($rs['user_sex']);/}</td>
    	<td>{echo:get_g_role($rs['role']);/}</td>
    	<td>
    		<a href="home.php?h={echo:$rs['user_id'];/}" target="_blank">{echo:lp{g_examine};/}</a>   		
				<span class="{echo:$act_show['b_del'];/}">|&nbsp<a href="do.php?act=group_del_member&userid={echo:$rs['user_id'];/}&group_id={echo:$group_id;/}" onclick='return confirm("{echo:lp{g_del_member};/}")'>{echo:lp{g_del};/}</a></span>
				<span class="{echo:$act_show['b_app'];/}">|&nbsp<a href="do.php?act=group_appoint&userid={echo:$rs['user_id'];/}&group_id={echo:$group_id;/}">{echo:lp{g_set_manager};/}</a> </span>
				<span class="{echo:$act_show['b_rev'];/}">|&nbsp<a href="do.php?act=group_revoke&userid={echo:$rs['user_id'];/}&group_id={echo:$group_id;/}">{echo:lp{g_revoke_manager};/}</a></span>
    	</td>
    </tr>
    
  {end:foreach/}
    	
</table>

<div class='container {echo:$req_data;/}'>
	<div class='rs_head'>{echo:lp{g_req_member};/}</div>
</div>

<table class='main {echo:$req_data;/}'>		
	<tr>
		<th>{echo:lp{g_name};/}</th>
		<th>{echo:lp{g_sex};/}</th>
		<th>{echo:lp{g_state};/}</th>
		<th>{echo:lp{g_r_time};/}</th>
		<th>{echo:lp{g_ctrl};/}</th>
	</tr>
	
	{sta:foreach($req_member_rs as $rs)[loop]}

	<tr>
		<td>{echo:$rs['user_name'];/}</td>
		<td>{echo:get_user_sex($rs['user_sex']);/}</td>
		<td>{echo:$text_sex;/}</td>
		<td>{echo:lp{g_not_pass};/}</td>
		<td>{echo:$rs['add_time'];/}</td>
		<td>
			<a href="do.php?act=group_approve&userid={echo:$rs['user_id'];/}&group_id={echo:$group_id;/}">{echo:lp{g_check};/}</a>&nbsp|&nbsp
			<a href="do.php?act=group_del_req&userid={echo:$rs['user_id'];/}&group_id={echo:$group_id;/}">{echo:lp{g_del};/}</a>&nbsp|&nbsp
			<a href="home.php?h={echo:$rs['user_id'];/}" target="_blank">{echo:lp{g_examine};/}</a>
		</td>
	</tr>	
	{end:foreach/}	
</table>
{echo:page_show($isNull,$page_num,$page_total);/}
</body> 
</html>