<!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><?php echo $title;?><?php echo $lang['group_main_quan'];?></title>
<?php include_once GROUP_TPL.'/header.meta.html';?>
<style type="text/css">
<!--
.gLeft {
	width:25%;
}
.gCenter {
	width:50%;
}
.gRight {
	width:24.99%;
}
-->
</style>
</head>
<body>
<?php include_once GROUP_TPL.'/header.html';?>
<div class="group wrap">
  <!--group left S -->
  <div class="gLeft">
    <div class="module" id="">
      <div class="top">
        <div class="t_l"></div>
      <div class="t_r"></div>
    <em><?php echo $lang['group_main_quanzi'].$lang['group_main_profile'];?></em>    </div>
  <div class="mid">
    <div class="m_l">
      <div class="m_r">
        <div id="gInfo" class="content">
          <h1><a  title="<?php echo $lang['group_main_quanzi'].$lang['group_main_profile'];?>" target="_blank"><?php echo $title;?></a><em>[<?php echo $_GROUPS['hidden'];?>]</em></h1>
          <img width="80" height="80" class="imgBorder" alt="" id="headPhoto" src="<?php echo $icon;?>"/>
          <ul>
            <li id="gSort"><?php echo $lang['group_store'];?>:<?php echo $_GROUPS['store_name'];?></li>
            <li id="gDistrict"><?php echo $lang['group_topic_creaters'];?>:<?php echo $creater;?></li>
            <li id="gHost"><?php echo $lang['group_topic_members'];?>:<?php echo $members.$lang['group_topic_people'];?></li>
            <li id="gTime"><?php echo $lang['group_index_create'];?>:<em><?php echo $_GROUPS['time'];?></em></li>
          </ul>
          <dl>
            <dt><?php echo $lang['group_topic_hits'];?>:</dt>
            <dd><?php echo $_GROUPS['hits'];?></dd>
            <dt><?php echo $lang['group_topic_topic'];?>:</dt>
            <dd><?php echo $_GROUPS['topics'];?></dd>
            <dt><?php echo $lang['group_main_join'];?>:</dt>
            <dd><a href="reg.php?id=<?php echo $id;?>" title="<?php echo $lang['group_main_jointhis'];?>"><?php echo $lang['group_index_need_verify'];?></a></dd>
            <dt><?php echo $lang['group_main_deses'];?>:</dt>
            <dd><?php echo HtmlReplace($des,-1);?></dd>            
          </dl>
        </div>
      </div>
    </div>
  </div>
  <div class="bottom">
    <div class="b_l"></div>
  <div class="b_r"></div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">  </div>
  <div class="t_r"></div>
<em><?php echo $lang['group_topic_creaters'];?></em></div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="host" class="content">
  <div id="p_w"> <img class="host_img imgBorder" alt="<?php echo $_GROUPS['uname'];?>" id="model9_img" src="<?php echo $_GROUPS['face'];?>"/>
    <ul>
      <li><strong><a title="<?php echo $_GROUPS['uname'];?>" target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $_GROUPS['userid'];?>" class="link_strong"><?php echo $_GROUPS['uname'];?></a></strong></li>
      <li><a title="<?php echo $lang['group_index_friend'];?>" href="<?php echo $cfg_member_dir;?>/?action=newfriend&uid=<?php echo $_GROUPS['userid'];?>"><?php echo $lang['group_index_friend'];?></a><a style="margin: 0px;" title="<?php echo $lang['group_index_pm'];?>" href="<?php echo $cfg_member_dir;?>/pm.php?dopost=send&uid=<?php echo $_GROUPS['userid'];?>"><?php echo $lang['group_index_pm'];?></a></li>
      <li><a target="_blank" title="<?php echo $lang['group_topic_creaters'];?>BLOG" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $_GROUPS['userid'];?>">BLOG</a> | <a target="_blank" title="<?php echo $lang['group_topic_creaters'].$lang['group_index_album'];?>" href="<?php echo $cfg_member_dir;?>/?uid=admin&action=album"><?php echo $lang['group_index_album'];?></a></li>
    </ul>
  </div>
</div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l"></div>
<div class="b_r"></div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">  </div>
  <div class="t_r"></div>
<em><?php echo $lang['group_topic_masters'];?></em></div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="senior" class="content">
  		<ul id="model11_ul">
        <?php foreach($_GROUPS['admins'] as $row) { ?>
          <li><img alt="<?php echo $row['uname'];?>" class="seniorImg imgBorder" src="<?php echo $row['face'];?>"/> <span><a title="<?php echo $row['uname'];?>" target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>" class="linkStrong"><?php echo $row['uname'];?></a></span>
          <div><a title="<?php echo $row['uname'];?> BLOG" target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>">BLOG</a></div>
          <a title="<?php echo $lang['group_index_friend'];?>" href="<?php echo $cfg_member_dir;?>/?action=newfriend&uid=<?php echo $row['userid'];?>"><?php echo $lang['group_index_friend'];?></a> <a title="<?php echo $lang['group_index_pm'];?>" href="<?php echo $cfg_member_dir;?>/pm.php?dopost=send&uid=<?php echo $row['userid'];?>"><?php echo $lang['group_index_pm'];?></a></li>
        <?php }?>
  </ul>
		<div class="clear"/></div>
      </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l"></div>
<div class="b_r"></div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">
  </div>
  <div class="t_r">
</div>
<em><?php echo $lang['group_member_list'];?></em>
</div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="member" class="content">
        <ul>
          <?php foreach($_GROUPS['members'] as $row) { ?>
          <li><img alt="<?php echo $row['uname'];?>" class="seniorImg imgBorder" src="<?php echo $row['face'];?>"/><a title="<?php echo $row['uname'];?>" target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>"><?php echo $row['uname'];?></a></li>
          <?php } ?>
        </ul>
  		<div class="clear"/>
  		<p class="more" title="<?php echo $lang['group_main_more'];?>"><?php echo $lang['group_main_more'];?></p>
	  </div>
     </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>

</div>
<!--group left end-->
<!--group center s -->
<div class="gCenter">
  <div class="module" id="">
    <div class="top">
      <div class="t_l"></div>
    <div class="t_r"></div>
  <em><?php echo $lang['group_main_quanzi'].$lang['group_threads_titles'];?></em> </div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="catagory" class="content">
        <!--20 rows -->
        <dl style="display: block;" id="">
          <?php foreach($_GROUPS['threads'] as $row) { ?>          
          <dd> <em><a class="linkName" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>" title="<?php echo $row['uname'];?>" target="_blank"><?php echo $row['uname'];?></a> <?php echo Mydate('y-m-d',$row['lastpost']);?></em> <span><a class="linkText" href="groupdisplay.php?id=<?php echo $id;?>&typeid=<?php echo $row['smalltype'];?>" title="<?php echo $row['type'];?>" target="_blank"><?php echo $row['type'];?></a><a class="linkText" href="viewthread.php?id=<?php echo $id;?>&tid=<?php echo $row['tid'];?>" target="_blank"><?php echo $row['subject'];?></a></span> </dd>
          <?php } ?>          
          <dt class="linkFunc"><a title="<?php echo $lang['group_topic_more'];?>" href="groupdisplay.php?id=<?php echo $id;?>"><?php echo $lang['group_topic_more'];?></a></dt>
        </dl>       
	  </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l"></div>
<div class="b_r"></div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l"></div>
  	<div class="t_r"></div>
	<em><?php echo $lang['group_main_quanzi'].$lang['group_index_album'];?></em>
  </div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="piclist" class="content" style="height:100%">
  		<ul>
    	<?php foreach($_GROUPS['albums'] as $row) { ?>        
    	<li>
        <p><a target="_blank" href="<?php echo $row['arcurl'];?>"><img src="<?php echo $row['litpic'];?>" alt="<?php echo $row['title'];?>" class="imgBorder"/></a></p>
        <span><a target="_blank" href="<?php echo $row['arcurl'];?>"><?php echo $row['title'];?></a></span>
        </li>
        <?php } ?>
  		</ul>
	  </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l"></div>
<div class="b_r"></div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">
  </div>
  <div class="t_r">
</div>
<em><?php echo $lang['group_main_quanzi'].$lang['group_article_titles'];?></em>
</div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      
      <div id="catagory" class="content">
        <!--20 rows -->
        <dl style="display: block;" id="">
          <?php foreach($_GROUPS['groupArticle'] as $row) { ?>          
          <dd> <em><?php echo $lang['group_article_view'];?><?php echo $row['click'];?><?php echo $lang['group_article_views'];?> <?php echo Mydate('y-m-d',$row['pubdate']);?></em> <span><a class="linkText" href="<?php echo $row['arcurl'];?>" target="_blank"><?php echo substr($row['title'],0,40);?></a></span> </dd>
          <?php } ?>
        </dl>       
	  </div>
      
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">
  </div>
  <div class="t_r">
</div>
<em><?php echo $lang['group_main_quanzi'].$lang['group_guestbook_message'];?></em>
</div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="write" class="content">
        <ul>
        <?php foreach($_GROUPS['guestbook'] as $row) { ?>
            <li>
            <div class="guestInfo colorWeak"><img class="guestPerson imgBorder" alt="" src="<?php echo $row['face'];?>"/><em class="colorWeak"><?php echo $row['status'];?></em> <a target="_blank" title="<?php echo $row['uname'];?>" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>" class="linkStrong"><?php echo $row['uname'];?></a><br/>
            <?php echo Mydate('Y-m-d h:i:s',$row['stime']);?></div>
            <div class="writeBox1"><?php echo HtmlReplace($row['message']);?></div>
            <div style="width: 100%;" class="writeBox2 linkFunc">[ <a href="guestbook.php?id=<?php echo $id;?>"><?php echo $lang['group_topic_reply'];?></a> ]</div>
            </li>
        <?php } ?>
        </ul>
 		<div class="more linkFunc"><a target="_blank" title="<?php echo $lang['group_guestbook_ipost'];?>" href="guestbook.php?id=<?php echo $id;?>"><?php echo $lang['group_main_more'];?></a></div>
	  </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
</div>
<!--group center end -->
<!--group right S -->
<div class="gRight">
  <div class="module" id="">
    <div class="top">
      <div class="t_l">
    </div>
    <div class="t_r">
  </div>
  <em><?php echo $lang['group_main_notice'];?></em> </div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="board" class="content">
  		<?php echo $notice;?>
	  </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">
  </div>
  <div class="t_r">
</div>
<em><?php echo $lang['group_index_views'];?></em>
</div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="analogous" class="content">
        <ul>
        <?php foreach($_GROUPS['views'] as $row) {?>
        <li> <img alt="" class="seniorImg imgBorder" src="<?php echo $row['groupimg'];?>"/> <span><a title="<?php echo $row['des'];?>" target="_blank" href="group.php?id=<?php echo $row['groupid'];?>"><?php echo $row['groupname'];?></a></span></li>
        <?php }?>
        </ul>
		<div class="clear"></div>
	  </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
<div class="module" id="">
  <div class="top">
    <div class="t_l">
  </div>
  <div class="t_r">
</div>
<em><?php echo $lang['group_index_recommend'].$lang['group_main_quanzi'];?></em>
</div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="gRec" class="content">
        <?php foreach($_COMMON['recommend'] as $row) {?>
        <dl>
          <dt><a target="_blank" href="group.php?id=<?php echo $row['groupid'];?>"><img class="imgBorder" alt="<?php echo $row['des'];?>" src="<?php echo $row['groupimg'];?>"/></a></dt>
            <dd><a target="_blank" href="group.php?id=<?php echo $row['groupid'];?>"><?php echo $row['groupname'];?></a></dd>
            <dd><?php echo $lang['group_topic_creaters'];?>:<a target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>"><?php echo $row['uname'];?></a></dd>
            <dd><?php echo $row['hidden'];?>:<?php echo $row['hidden_des'];?></dd>
        </dl>
        <?php }?>
      </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
<div class="module" id="">
  <div class="top">
   <div class="t_l"></div>
   <div class="t_r"></div>
	<em><?php echo $lang['group_index_new'].$lang['group_main_quanzi'];?></em>
  </div>
<div class="mid">
  <div class="m_l">
    <div class="m_r">
      <div id="gNews" class="content">
        <?php foreach($_COMMON['rew_group'] as $row) {?>
        <dl>
          <dt><a target="_blank" href="group.php?id=<?php echo $row['groupid'];?>"><img class="imgBorder" alt="<?php echo $row['des'];?>" src="<?php echo $row['groupimg'];?>"/></a></dt>
            <dd><a target="_blank" href="group.php?id=<?php echo $row['groupid'];?>"><?php echo $row['groupname'];?></a></dd>
            <dd><?php echo $lang['group_topic_creaters'];?>:<a target="_blank" href="<?php echo $cfg_member_dir;?>/?uid=<?php echo $row['userid'];?>"><?php echo $row['uname'];?></a></dd>
            <dd><?php echo $row['hidden'];?>:<?php echo $row['hidden_des'];?></dd>
        </dl>
        <?php }?>
      </div>
    </div>
  </div>
</div>
<div class="bottom">
  <div class="b_l">
</div>
<div class="b_r">
</div>
</div>
</div>
</div>
<!--group right end -->
<div class="clear"></div>
</div>
<?php include_once GROUP_TPL.'/footer.html';?>
</body>
</html>
