<!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>$nc_charset</tpl>" />
<title><tpl> $admin_header_title </tpl></title>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/admin/templates/css/toolbox.css" />
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/admin/templates/css/sidebar.css" />
<style type="text/css">
html, body {
	SCROLLBAR-FACE-COLOR:#d2e3f5;
　　/*定义两端箭头的方块及滑块的背景色*/
	SCROLLBAR-HIGHLIGHT-COLOR:#b9d2ea;
　　/*定义两端箭头方块的顶部及左边的边框色*/
	SCROLLBAR-SHADOW-COLOR:#dbe8f4;
　　/*定义两端箭头颜色及方块的底部和右边的边框色*/
	SCROLLBAR-3DLIGHT-COLOR:#f5f5f5;
　　/*定义3D凸起边框颜色*/
	SCROLLBAR-ARROW-COLOR:#7193b0;
　　/*定义箭头凹陷颜色*/
	SCROLLBAR-TRACK-COLOR:#e6ebed;
　　/*定义滚动条主体背景色*/
	SCROLLBAR-DARKSHADOW-COLOR:#a1c0e2;
　　/*定义滚动条凹陷颜色*/
}
</style>
<script type="text/javascript" src="<tpl>$Site_Url</tpl>/js/jquery/jquery.js"></script>
<script type="text/javascript" src="<tpl>$Site_Url</tpl>/js/jquery/jquery.subMenu.js"></script>
<script type="text/javascript" src="<tpl>$Site_Url</tpl>/js/jquery/jquery.cookie.js"></script>
<script type="text/javascript">
var Mysubmenu=null;
$(function(){
	Mysubmenu=$("#my_menu").submenu({oneSmOnly:false,speed:500,expandNum:5,savestatus:true});	
})
</script>
<script type="text/javascript">
$(document).ready(function(){
	$("div#my_menu div a").click(function(){
		$("div#my_menu div a").removeClass("current");
		$(this).addClass("current");
	});
});
</script>
</head>

<body>
<div id="sidebar">
	<div id="my_menu">
	<tpl> if $show_state=='product' or $show_state=='all' </tpl>
    	<div>
        	<span><tpl> $admin_header_goods_manage </tpl><!-- 商品管理 --></span>
            <a href="admin_provider_goods.php?action=goods_page" target="main-frame"><tpl> $admin_goods_add </tpl><!-- 新增商品 --></a>
            <a href="admin_provider_goods.php?action=list" target="main-frame"><tpl> $admin_goods_list </tpl><!-- 商品列表 --></a>
            <a href="admin_provider_goods.php?action=recycle"  target="main-frame"><tpl> $admin_goods_recycle </tpl><!-- 商品回收站 --></a>
        </div><!--  end of adminmenu  -->
		<tpl> /if </tpl>
		<tpl> if $show_state=='article' or $show_state=='all' </tpl>
    	<div>
        	<span><tpl> $admin_header_article_manage </tpl><!-- 文章管理 --></span>
            <a href="admin_provider_article.php?action=add_article" target="main-frame"><tpl> $admin_article_add </tpl><!-- 添加文章 --></a>
            <a href="admin_provider_article.php?action=article_list" target="main-frame"><tpl> $admin_article_list </tpl><!-- 文章列表 --></a>
        </div><!--  end of adminmenu  -->
		<tpl> /if </tpl>
		<tpl> if $show_state=='provider_info' or $show_state=='all' </tpl>
    	<div>
        	<span><tpl> $admin_header_provider_info </tpl><!-- 账户管理 --></span>
            <a href="admin_provider_info.php?action=add_provider&provider_id=<tpl>$smarty.session.provider_id</tpl>" target="main-frame"><tpl> $admin_header_provider_edit </tpl><!-- 修改账户信息 --></a>
        </div><!--  end of adminmenu  -->
		<tpl> /if </tpl>
		<tpl> if $show_state=='analysis' or $show_state=='all' </tpl>
    	<div>
        	<span><tpl> $admin_header_system_manage </tpl><!-- 系统分析 --></span>
            <a href="admin_provider_stat_products.php?action=index" target="main-frame"><tpl> $admin_statis_goods </tpl><!-- 商品统计 --></a>
        </div><!--  end of adminmenu  -->
		<tpl> /if </tpl>
    </div><!--  end of my_menu  -->
</div><!--  end of sidebar  -->
</body>
</html>
