<!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>
<base href="<?php echo $this->_var['site_url']; ?>/" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=<?php echo $this->_var['charset']; ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_var['charset']; ?>" />
<?php echo $this->_var['page_seo']; ?>

<meta name="author" content="" />
<meta name="generator" content="" />
<meta name="copyright" content="" />
<link href="<?php echo $this->res_base . "/" . 'css/ecmall.css'; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->res_base . "/" . 'css/w_common.css'; ?>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="index.php?act=jslang"></script>
<script type="text/javascript" src="<?php echo $this->lib_base . "/" . 'jquery.js'; ?>" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo $this->lib_base . "/" . 'ecmall.js'; ?>" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo $this->res_base . "/" . 'js/nav.js'; ?>" charset="utf-8"></script>
<!--<script type="text/javascript" src="<?php echo $this->res_base . "/" . 'js/select.js'; ?>" charset="utf-8"></script>-->
<script type="text/javascript" src="<?php echo $this->res_base . "/" . 'js/jquery-1.8.0.min.js'; ?>" charset="utf-8"></script>

<script type="text/javascript">
//<!CDATA[
var SITE_URL = "<?php echo $this->_var['site_url']; ?>";
var REAL_SITE_URL = "<?php echo $this->_var['real_site_url']; ?>";
var PRICE_FORMAT = '<?php echo $this->_var['price_format']; ?>';

$(function(){
    var select_list = document.getElementById("select_list");
    var float_list = document.getElementById("float_list");
    select_list.onmouseover = function () {
        float_list.style.display = "block";
    };
    select_list.onmouseout = function () {
        float_list.style.display = "none";
    };
});
//]]>
</script>

<?php echo $this->_var['_head_tags']; ?>
<!--<editmode></editmode>-->
</head>

<body>
<div>
<link href="<?php echo $this->res_base . "/" . 'css/w_common.css'; ?>" rel="stylesheet" type="text/css" />
<div class="header_bg">
	<div class="header auto">
        <a href="index.php" class="logo"><img title="锦尚中国微信商城系统,社会化电商,移动电商购物" src="data/files/mall/settings/site_logo.png"></a>
        <div class="headerLinks">
            小微客服：<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=278869155&amp;site=qq&amp;menu=yes" target="_blank"><img style="margin-right:10px;" title="联系锦尚中国微信商城" alt="联系锦尚中国微信商城" src="/themes/mall/new/styles/default/images/pa_002.gif" border="0"></a>
            技术支持：<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=278869155&amp;site=qq&amp;menu=yes" target="_blank"><img style="margin-right:10px;" title="联系锦尚中国微信商城" alt="联系锦尚中国微信商城" src="/themes/mall/new/styles/default/images/pa.gif" border="0"></a>
            
        </div>
    </div>
</div>
</div>
<div class="nav">
    <ul class="auto">     
                <?php if (! $this->_var['visitor']['user_id']): ?>
                <form class="login_bg" action="/index.php?app=member&act=login" method="post">
            	<li class="menu_li">用户名：<input type="text" class="l_text" name="user_name"></li>
            	<li class="menu_li">密码：<input type="password" class="l_text" name="password"></li>
            	<li class="menu_li"><input type="submit" value="登录" class="lr_btn">
                <input onclick="window.location.href='/index.php?app=member&act=register';" type="button" value="注册" class="lr_btn"></li>
        	</form>
            <?php else: ?>
            <li class="menu_li logined">欢迎您！
              <a href="<?php echo url('app=member'); ?>"><?php echo htmlspecialchars($this->_var['visitor']['user_name']); ?></a>
              <a href="<?php echo url('app=member'); ?>">用户中心</a>
              <a class="shopping" href="<?php echo url('app=cart'); ?>">购物车</a> <span>|</span>
              <a class="favorite" href="<?php echo url('app=my_favorite'); ?>">收藏夹</a> <span>|</span>
              <a class="note" href="<?php echo url('app=message&act=newpm'); ?>">站内消息<?php if ($this->_var['new_message']): ?>(<?php echo $this->_var['new_message']; ?>)<?php endif; ?></a> <span>|</span>
              <a class="help" href="<?php echo url('app=article&code=' . $this->_var['acc_help']. ''); ?>">帮助中心</a>
              <a href="<?php echo url('app=member&act=logout'); ?>">退出</a>
           </li>
           <?php endif; ?>
    </ul>
</div>
<div style="margin:8px;" />