<!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=<tpl> $NCharset </tpl>" />
<script type="text/javascript" src="<tpl> $site_url </tpl>/js/jquery/jquery.js"></script>
<link href="<tpl> $site_url </tpl><tpl> $templates_subpath </tpl>/css/default.css" rel="stylesheet" type="text/css" />
<link href="<tpl> $site_url </tpl><tpl> $templates_subpath </tpl>/css/leftmenu.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!-- 
body {
	background-color: #50B2E1;
}
 -->
</style>
<script>
function openwindow(url){
	window.open(url,"mainFrame");
}
</script>
</head>
<body>
<div id="leftbar">
<tpl> if $menu_type eq 'index' </tpl><!-- 后台首页统计 -->
	<div class="top2"><h3 class="title"></h3></div>
	<div class="content">
		<ul id="menu_home" class="leftinfo" >
			<li><a href="javascript:;" onclick="openwindow('statics.manage.php?action=list');"><tpl> $langSysIAccessNum </tpl> <span><tpl> $shop_info.visit_ip </tpl></span> <tpl> $langSysIHuman </tpl><tpl> $langSysIDegree </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('statics.manage.php?action=list');"><tpl> $langSysITotalAccessNum </tpl> <span><tpl> $shop_info.visit_num </tpl></span> <tpl> $langSysIDegree </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('member.manage.php?action=list');"><tpl> $langSysIRegMember </tpl> <span><tpl> $shop_info.member_num </tpl></span> <tpl> $langSysIHuman </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('shop.manage.php?action=list');"><tpl> $langSysIRegShop </tpl> <span><tpl> $shop_info.shop_num </tpl></span> <tpl> $langSysIHome </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('product.manage.php?action=list');"><tpl> $langSysIAllMerchandise </tpl> <span><tpl> $shop_info.product_num </tpl></span> <tpl> $langSysIPiece </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('product.manage.php?action=list');"><tpl> $langSysIUpMerchandise </tpl> <span><tpl> $shop_info.product_selling </tpl></span> <tpl> $langSysIPiece </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('order.manage.php?action=list');"><tpl> $langSysIAllBuy </tpl> <span><tpl> $shop_info.trade_num </tpl></span> <tpl> $langSysIBI </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('order.manage.php?action=list');"><tpl> $langSysIBuyOK </tpl> <span><tpl> $shop_info.trade_succ </tpl></span> <tpl> $langSysIBI </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('order.manage.php?action=list');"><tpl> $langSysIBuying </tpl> <span><tpl> $shop_info.trade_doing </tpl></span> <tpl> $langSysIBI </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('complaint.manage.php?action=complaint');"><tpl> $langSysINotManageComplaint </tpl> <span><tpl> $shop_info.complaint_num </tpl></span> <tpl> $langSysIPiece </tpl></a></li>
		<li><a href="javascript:;" onclick="openwindow('complaint.manage.php?action=report');"><tpl> $langSysINotManageLaw </tpl> <span><tpl> $shop_info.report_num </tpl></span> <tpl> $langSysIPiece </tpl></a></li>
		</ul>
	</div>
<tpl> else </tpl><!-- 菜单 -->
	<div class="top">&nbsp;</div>
	<div class="content">
		<ul id="menu" class="leftmenu">
			<tpl> section name=loop loop=$sys_menu </tpl>
				<li <tpl> if $sys_menu[loop].now_page eq '1' </tpl>class="current"<tpl> /if </tpl> onclick="remove_menu_css();$(this).addClass('current');"><a href="javascript:;" onclick="openwindow('<tpl> $sys_menu[loop].url </tpl>');"><tpl> $sys_menu[loop].name </tpl></a></li>
			<tpl> /section </tpl>
		</ul>    
	</div>
<tpl> /if </tpl>
	<div class="foot"></div>
	<div id="copyright">Powered by ShopNC ©
2001-2009 <tpl> $langSysIWebShopCreateWant </tpl> Inc</div>
</div>
<script>
$(document).ready(function() {
	if('<tpl> $sys_menu[0].url </tpl>' != ''){
		$($("#menu li")[0]).addClass('current'); 
		window.open("<tpl> $sys_menu[0].url </tpl>","mainFrame");
	}
})
//移除样式
function remove_menu_css(){
	$('#menu li').each(function(){
		$(this).removeClass();
	})
}
</script>
</body>
</html>
