<!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="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->_var['page_seo']; ?>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link type="text/css" href="/Templates/css/style.css" rel="stylesheet" />
<link media="screen" rel="stylesheet" href="/Templates/css/demo.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->lib_base . "/" . 'cart.js'; ?>" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo $this->res_base . "/" . 'js/main.js'; ?>" charset="utf-8"></script>
<script src="/Templates/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<link href="/Templates/css/sucaijiayuan.css" rel="stylesheet" type="text/css" />
<script>
$(function(){
$(window).scroll(function(){
if($(window).scrollTop()>100){
$("#side-bar .gotop").fadeIn();
}
else{
$("#side-bar .gotop").hide();
}
});
$("#side-bar .gotop").click(function(){
$('html,body').animate({'scrollTop':0},500);
});
});
$(function(){
/*分类树导航鼠标移入效果*/
$("#site-category-list").on("mouseenter",".category-item",function(){
$(this).addClass("category-item-current");
}).on("mouseleave",".category-item",function(){
$(this).removeClass("category-item-current");
});
/*分类树子菜单数目对6取余,重置子菜单宽度*/
$("#site-category-list .category-item").each(function(index, element) {
var childnum=$(this).find(".children-list li").length;
var col=Math.ceil(childnum/6);
if(col>1){
$(this).find(".children").addClass("children-col-"+col);
}
});
/*分类树导航鼠标移入效果 start*/
$(".nav-category-section").on("mouseenter",".nav-category-item",function(){
$(this).addClass("current")
}).on("mouseleave",".nav-category-item",function(){
$(this).removeClass("current")
})
$nav_num = $("ul.children-list").find('li');
if($nav_num.length>8){
$('.nav-category-children').addClass('nav-category-children-col-2')
}else{
$('.nav-category-children').removeClass('nav-category-children-col-2')
}
/*分类导航鼠标移入效果 end*/
/*首页导航分类树效果*/
$(".nav-category").mouseenter(function(){
$(this).find(".category-hidden").show();
}).mouseleave(function(){
$(this).find(".category-hidden").hide();
});
});
jQuery(document).ready(function(){
var qcloud={};
$('[_t_nav]').hover(function(){
var _nav = $(this).attr('_t_nav');
clearTimeout( qcloud[ _nav + '_timer' ] );
qcloud[ _nav + '_timer' ] = setTimeout(function(){
$('[_t_nav]').each(function(){
$(this)[ _nav == $(this).attr('_t_nav') ? 'addClass':'removeClass' ]('nav-up-selected');
});
$('#'+_nav).stop(true,true).slideDown(200);
}, 150);
},function(){
var _nav = $(this).attr('_t_nav');
clearTimeout( qcloud[ _nav + '_timer' ] );
qcloud[ _nav + '_timer' ] = setTimeout(function(){
$('[_t_nav]').removeClass('nav-up-selected');
$('#'+_nav).stop(true,true).slideUp(200);
}, 150);
});
});
</script>
<!--[if lte IE 6]>
<script type="text/javascript" language="Javascript" src="<?php echo $this->res_base . "/" . 'js/hoverForIE6.js'; ?>"></script>
<![endif]-->
<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>
<?php echo $this->_var['_head_tags']; ?>
</head>
<body>
<div id="site-nav" class="w-full">
<div class="shoptop w clearfix">
<div class="login_info">
您好,欢迎来到ECMALL模板堂,
<?php if (! $this->_var['visitor']['user_id']): ?>
<?php echo htmlspecialchars($this->_var['visitor']['user_name']); ?>
<a href="<?php echo url('app=member&act=login&ret_url=' . $this->_var['ret_url']. ''); ?>">请登录</a>
<a href="<?php echo url('app=member&act=register&ret_url=' . $this->_var['ret_url']. ''); ?>">注册</a>
<?php else: ?>
<a href="<?php echo url('app=member'); ?>"><span><?php echo htmlspecialchars($this->_var['visitor']['user_name']); ?></span></a>
<a href="<?php echo url('app=member&act=logout'); ?>">退出</a>
<a href="<?php echo url('app=message&act=newpm'); ?>">站内消息<?php if ($this->_var['new_message']): ?>(<span><?php echo $this->_var['new_message']; ?></span>)<?php endif; ?></a>
<?php endif; ?>
</div>
<ul class="quick-menu">
<?php if (! $this->_var['index']): ?><li class="service"><a href="<?php echo $this->_var['site_url']; ?>">回到首页</a></li><?php endif; ?>
<li class="item">
<div class="menu mytb">
<a class="menu-hd" href="<?php echo url('app=buyer_admin'); ?>">我是买家<b></b></a>
<div class="menu-bd">
<div class="menu-bd-panel">
<div>
<p><a href="<?php echo url('app=buyer_order'); ?>">我的订单</a></p>
<p><a href="<?php echo url('app=my_question'); ?>">我的咨询</a></p>
</div>
</div>
</div>
</div>
</li>
<li class="site-nav-pipe">|</li>
<li class="service">
<a href="<?php echo url('app=article'); ?>">知识堂</a>
</li>
<li class="site-nav-pipe">|</li>
<li class="item" style="background:none">
<div class="menu sites">
<a class="menu-hd" href="javascript:;">网站导航<b></b></a>
<div class="menu-bd padding10">
<?php $_from = $this->_var['navs']['header']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');if (count($_from)):
foreach ($_from AS $this->_var['nav']):
?>
<a href="<?php echo $this->_var['nav']['link']; ?>"<?php if ($this->_var['nav']['open_new']): ?> target="_blank"<?php endif; ?>><?php echo htmlspecialchars($this->_var['nav']['title']); ?></a>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</div>
</div>
</li>
</ul>
</div>
</div>
<div id="header" class="w-full">
<div class="shop-t w clearfix pb10 mb5">
<div class="logo">
<a href="<?php echo $this->_var['site_url']; ?>" title="<?php echo $this->_var['site_title']; ?>"><img alt="<?php echo $this->_var['site_title']; ?>" src="<?php echo $this->_var['site_logo']; ?>" /></a>
</div>
<div class="sublogo">
<a href="<?php echo $this->_var['site_url']; ?>" title="<?php echo $this->_var['site_title']; ?>"><img alt="<?php echo $this->_var['site_title']; ?>" src="data/files/mall/settings/sublogo.gif" /></a>
</div>
<div class="top-search">
<div class="top-search-box clearfix">
<div class="form-fields">
<form method="GET" action="<?php echo url('app=search'); ?>">
<input type="hidden" name="app" value="search" />
<input type="hidden" name="act" value="index" />
<input type="text" name="keyword" value="<?php if ($_GET['keyword']): ?><?php echo $_GET['keywor
评论0
最新资源