
<div id="menu">
		<div class="search_wrap">
			<form action="com.php" method="POST">
				<input type="text" name="keyword" class="search_input" placeholder="店铺查找" />
				<i class="reset_input"><i></i></i>
			</form>
		</div>
		<ul>
			<li class="nav_index <? if ($nolook!=1){ ?>menu_cur<? }?>"><a href="index.php"><i></i><span>首页</span><b></b><div class="clear"></div></a></li>
<?php
foreach((array)$nav as $key=>$nav){
?>
            <li class="nav_site<?=$key?> <? if (strpos($durl,$nav[url])!=false){ ?>menu_cur<? } ?>"><a href="<?=$nav[url]?>"><i></i><span><?=$nav[navname]?></span><b></b><div class="clear"></div></a></li>
<? } ?>
		</ul>
	</div>
		<div id="user">
			<? if($_userid){ ?>
                <div class="userinfo">
                  <P><img src="<?=$face?>" width="65px" height="65px" /></P>
                  <p>欢迎你，<?=$_username?></p>
                  <div class="pd10">
                  <p class="i_yue">余额 <span class="pad10"><?=$user_info[money]?></span></p>
                  <p class="i_jf">积分 <span class="pad10"><?=$user_info[credit]?></span></p>
                  <div class="pd10"></div>
                  <? if($user_comid){?>
                  <a href="com.php?act=addma" class="login_submit2">生成订单</a>
                  <div class="pd5"></div>
                  <?}?>
                  <a href="member.php?act=exchange" class="login_submit2">消费明细</a>
				  <div class="pd5"></div>
				  <a href="member.php?act=edit_pass" class="login_submit2">修改密码</a>
				  </div>
				  <div class="pd10">
                    <a href="member.php?act=logout" class="login_submit">退出帐户</a>
                  </div>
                </div>
                <? }else{ ?>
            <div class="account">
				<div class="login_b_t">
					<div class="pd10">
						会员登录
					</div>
				</div>
			</div>
			<div class="pd10">
                <form method="post" action="member.php?act=act_login">
					<div class="login_b_i">
						<div class="login_input">
							<div class="login_user"><input type="text" name="username" placeholder="邮箱/帐号/手机号" /><i></i></div>
							<div class="login_password"><input type="password" name="password" placeholder="密码" /><i></i></div>
						</div>
					</div>
                    <input type="hidden" value="<?=$refers?>" name="refer"/>
                    <input type="submit" name="submit" id="submit" class="login_submit" value="登录" />
				</form>

                <? } ?>
			</div>
			</div>	
	<div id="header">
		<div class="wrap">
			<i class="menu_open"></i>
			<div class="logo"><a href="<?=$CFG['weburl']?>" title="<?=$CFG['webname']?>"><img src="public/images/logo.png" /></a></div>
			<i class="search_open"></i>
		</div>
		<div class="logo_msk"></div>
	</div>
    
    <div id="container">