
<!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">
<script type='text/javascript'>
	parent.guide("group");
</script>
</head>
<body>

  <div class="main_right_title">
     <span class="main_title_dot8"></span>
     <span class="main_title_txt">{echo:$group_title;/}</span>
  </div>
	<!--按钮控制!-->
	<div id="tabsB" class="{echo:$button_show;/}">
		<ul>
			<li><a href="?app=group" title="{echo:lp{g_mine};/}" class="nowbutl"><span class="nowbutr">{echo:lp{g_mine};/}</span></a></li>
			<li><a href="?app=group_hot" title="{echo:lp{g_hot};/}"><span>{echo:lp{g_hot};/}</span></a></li>
		</ul>
			<div class="div_but" onclick="location.href='?app=group_creat'">{echo:lp{g_creat};/}</div>
			<div class="div_but_2" onclick="location.href='?app=group_select'">{echo:lp{g_search};/}</div>
	</div>
	{sta:foreach($group_rs as $rs)[loop]}
		<div class="group_box" onmouseover="this.className = 'group_box_active';" onmouseout="this.className='group_box';">
			<div class="group_box_content">
				<div class="group_photo"><a href='?app=group_space&group_id={echo:$rs["group_id"];/}&user_id={echo:$url_uid;/}'><img src={echo:$rs['group_logo'];/} width='100px' height='100px' alt="{echo:$rs['group_name'];/}" onerror="parent.pic_error(this)" /></a></div>
				<dl class="group_list">
					<dt><a href='?app=group_space&group_id={echo:$rs["group_id"];/}&user_id={echo:$url_uid;/}'>{echo:filt_word($rs['group_name']);/}</a></dt>
					<dd>{echo:lp{g_type};/}：{echo:$rs['group_type'];/}</dd>
					<dd><a href='home.php?h={echo:$userid;/}' target="_blank">{echo:filt_word($rs['group_creat_name']);/}</a></dd>
					<dd>{echo:str_replace('{num}','<span>'.$rs['member_count'].'</span>',$g_join_num);/}</dd>
					<dd class="{echo:$show_his;/}">{echo:join_type($rs['group_join_type']);/}</dd>
					<dd class="{echo:$show_mine;/}">{echo:lp{g_iam};/}<span>{echo:get_group_role($rs['add_userid'],$rs['group_manager_id']);/}</span></dd>
				</dl>
			</div>
			<div class="group_control">
				<a href='?app=group_space&group_id={echo:$rs["group_id"];/}&user_id={echo:$url_uid;/}'>{echo:lp{g_en_space};/}</a>
				{sta:$action=show_action($rs['add_userid'],$rs['member_count'],$rs['group_manager_id']);/}
				<a class="{echo:$action['drop'];/} {echo:$show_mine;/}" href="do.php?act=group_drop&group_id={echo:$rs['group_id'];/}" onclick="return confirm('{echo:lp{g_a_drop};/}');">{echo:lp{g_drop};/}</a>
				<a class="{echo:$action['manage'];/} {echo:$show_mine;/}" href="?app=group_manager&group_id={echo:$rs['group_id'];/}">{echo:lp{g_manage};/}</a>
				<a class="{echo:$action['exit'];/} {echo:$show_mine;/}" href='do.php?act=group_exit&group_id={echo:$rs["group_id"];/}' onclick="return confirm('{echo:lp{g_exit};/}'); ">{echo:lp{g_exit};/}</a>
			</div>	
		</div>	
	{end:foreach/}

		<div class="guide_info {echo:$list_hidden;/}">
			{echo:$no_data;/}
		</div>

</body>
</html>