<!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=gb2312" />
<title><?php echo $title;?></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="container">
	<!--头部开始-->
	<div id="group_header">
    	<div id="group_top">
        	<div class="group_logo">
            </div>
            <div class="group_member">
            <?php
            if(!$cfg_ml->IsLogin()){
            ?>
            您好，请先 <a href="../member/login.php?gourl=<?php echo urlencode(GetCurUrl());?>">登录</a> 或 <a href="../member/index_do.php?fmdo=user&dopost=regnew">注册</a>
            <?php
            }else{
            ?>
            您好，<?php echo $cfg_ml->M_UserName; ?> 欢迎登录，你的级别：<?php echo $Honor; ?> | <a href="../member/control.php">控制面板</a> | <a href="../member/index_do.php?fmdo=login&dopost=exit">退出登录</a>
            <?php
            }
            ?>
            </div>
            <div class="group_menu">
            	<ul>
                <li><a href="/">网站首页</a></li>                
                <li><a href="../member/login.php?gourl=<?php echo urlencode(GetCurUrl());?>">登录圈子</a></li>
                <li><a href="create.php">创建圈子</a></li>
                <li><a href="index.php">圈子首页</a></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div id="group_search">
        	<div class="group_search_form">
        		<div class="group_search_label">
                <form action="search.php" method="get">
                	<input type="text" name="keyword" value="<?php if(isset($keyword)) echo $keyword;if(!isset($sad)) $sad = 'g';?>" class="group_label" />
                	<input name='sad' type='radio' id="sad" value="g" <?php if($sad=="g"||!isset($sad)) echo 'checked="checked"';?> />
               	  搜圈子
                	<input name='sad' type='radio' id="sad" value="t" <?php if($sad=="t") echo 'checked="checked"';?>/>
               	  搜帖子
                	<input type="submit" value="搜索" class="group_button" />
                </form>
            	</div>
            	<div class="group_search_img">
                	<div class="group_search_imgbg">
                    </div>
           	  	</div>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
    <!--头部结束-->