<!--#include file="../conn/conn2.asp" -->
<!--#include file="../conn/function.asp" -->
<!--#include file="admin_check.asp" -->
<%
D_domain=split(split("http://"&LCase(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL")),"http://")(1),"/admin")(0)
sql="select count(*) as G_shall from SL_guestbook where G_sh=0"
set rs=Server.CreateObject("ADODB.RecordSet")
rs.open sql,conn,1,1
G_shall=rs("G_shall")
rs.close
set rs=nothing
sql="select count(*) as O_all from SL_orders where O_state=1"
set rs=Server.CreateObject("ADODB.RecordSet")
rs.open sql,conn,1,1
O_all=rs("O_all")
rs.close
set rs=nothing
if G_shall<>0 then
G_info="<span class='jquery-accordion-menu-label'>"&G_shall&"</span>"
end if
if O_all<>0 then
O_info="<span class='jquery-accordion-menu-label'>"&O_all&"</span>"
end if
%>
<!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=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="<%=C_dir%><%=C_ico%>" type="image/x-icon" />
<link rel="Bookmark" href="<%=C_dir%><%=C_ico%>" />
<title>网站后台管理</title>
<link href="css/jquery-accordion-menu.css" rel="stylesheet" type="text/css" />
<link href="<%=C_dir%>css/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
html {overflow-x:hidden; margin:0px; }
body{background:#f0f0f0; margin:0px;font-family:"微软雅黑"; font-size:12px;}
a{text-decoration:none; color:#FFFFFF;}
a:hover {text-decoration:underline; color:#0099FF;}
.content{width:200px; background-color:#6D9EE7;position: relative; height:100%;}
.filterinput{background-color:rgba(249, 244, 244, 0);border-radius:15px;width:90%;height:30px;border:thin solid #FFF;text-indent:0.5em;font-weight:bold;color:#FFF;}
#demo-list a{overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap;width:100%;}

</style>
<script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/jquery-accordion-menu.js" type="text/javascript"></script>
<script type="text/javascript">jQuery(document).ready(function () {jQuery("#jquery-accordion-menu").jqueryAccordionMenu();});$(function(){	$("#demo-list li").click(function(){$("#demo-list li.active").removeClass("active");$(this).addClass("active");})})</script>
<script language="JavaScript">function u1(u){document.getElementById("iframeid").src=u;}function show(){document.getElementById("iframeid").style.height=(document.documentElement.clientHeight-25)+"px";}window.onresize = function(){document.getElementById("iframeid").style.height=(document.documentElement.clientHeight-25)+"px";}</script>
</head>
<body>

<div style="height:25px; background:#548AE4; color:#FFFFFF; padding:4px 10px 0 10px;">欢迎管理员：<%=session("A_user")%><span style="float:right"><a href="help.asp" target="_blank">使用手册</a> | <a href="admin_login.asp?action=unlogin">退出登录</a> | <a href="../" target="_blank">预览效果</a></span></div><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="200" style="background:#6D9EE7;"><div class="content"><div id="jquery-accordion-menu" class="jquery-accordion-menu red"><div class="jquery-accordion-menu-header" id="form"></div><ul id="demo-list">
		
		
<!--后台首页菜单栏-->
		<li class="active"><a href="#" onClick="u1('page.asp?page=index2.asp')"><i class="fa fa-home"></i>后台首页</a>
		   </li>
		   <li><a href="#"><i class="fa fa-cog"></i>基本设置</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=config.asp')">基本设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=index_config.asp')">自定义设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=slide_list.asp')">焦点图管理</a></li>
					<li><a href="#" onClick="u1('page.asp?page=link_List.asp')">友情链接</a></li>
					<li><a href="#" onClick="u1('page.asp?page=map.asp')">网站地图</a></li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-file-o"></i>内容管理</a><%=O_info%>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=text_list.asp')">简介管理</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=text_list.asp')">┗ 简介列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=text_add.asp')">┗ 新增简介</a></li>
				</ul>
				</li>
					<li><a href="#" onClick="u1('page.asp?page=news_list.asp')">新闻管理</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=news_list.asp')">┗ 新闻列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=news_add.asp')">┗ 新增新闻</a></li>
					<li><a href="#" onClick="u1('page.asp?page=nsort_list.asp')">┗ 新闻分类列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=nsort_add.asp')">┗ 新增新闻分类</a></li>
				</ul>
				</li>
					<li><a href="#" onClick="u1('page.asp?page=product_list.asp')">产品管理</a><%=O_info%>
									<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=product_list.asp')">┗ 产品列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=product_add.asp')">┗ 新增产品</a></li>
					<li><a href="#" onClick="u1('page.asp?page=product_add2.asp')">┗ 批量上传产品</a></li>
					<li><a href="#" onClick="u1('page.asp?page=psort_list.asp')">┗ 产品分类列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=psort_add.asp')">┗ 新增产品分类</a></li>
					<li><a href="#" onClick="u1('page.asp?page=order_list.asp')">┗ 订单管理</a><%=O_info%></li>
				</ul>
				</li>
					<li><a href="#" onClick="u1('page.asp?page=form_list.asp')">表单管理</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=form_list.asp')">┗ 表单列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=form_add.asp')">┗ 新增表单</a></li>
					<li><a href="#" onClick="u1('page.asp?page=content_add.asp')">┗ 新增条目</a></li>
					<li><a href="#" onClick="u1('page.asp?page=tj_list.asp')">┗ 查看统计</a></li>
				</ul>
					</li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-bookmark-o"></i>模板管理 </a>
			    <ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=template_list.asp')">切换模板</a></li>
					<li><a href="#" onClick="u1('page.asp?page=template_html.asp')">编辑模板</a></li>
					<li><a href="#" onClick="u1('page.asp?page=template_2html.asp')">生成静态</a></li>
				</ul>
			</li>
			
			<li><a href="#"><i class="fa fa-envelope"></i>联系方式</a><%=G_info%>
					<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=contact.asp')">联系方式</a></li>
					<li><a href="#" onClick="u1('page.asp?page=book.asp')">留言管理</a><%=G_info%></li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-mobile"></i>手机版本</a>
					<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=wap_config.asp')">基本设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=wap_config2.asp')">自定义设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=wap_slide.asp')">焦点图设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=wap_template.asp')">切换模板</a></li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-th"></i>菜单管理</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=menu_list.asp')">菜单列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=menu_add.asp')">新增菜单</a></li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-user"></i>账号管理</a>
				<ul class="submenu">
					<li><a href="#" onClick="u1('page.asp?page=admin_list.asp')">管理员列表</a></li>
					<li><a href="#" onClick="u1('page.asp?page=admin_add.asp')">新增管理员</a></li>
					<li><a href="#" onClick="u1('page.asp?page=member_list.asp')">会员列表</a></li>
				</ul>
			</li>
			<li><a href="#"><i class="fa fa-lock"></i>网站安全</a>
		   <ul class="submenu">
		            <li><a href="#" onClick="u1('page.asp?page=safe_config.asp')">安全设置</a></li>
					<li><a href="#" onClick="u1('page.asp?page=space.asp')">空间占用</a></li>
					<li><a href="#" onClick="u1('page.asp?page=checkmm.asp')">木马检测</a></li>
					<li><a href="#" onClick="u1('page.asp?page=Backup.asp')">数据备份</a></li>
					<li><a href="#" onClick="u1('page.asp?page=file.asp')">文件管理</a></li>
				</ul>
			</li>
			<!--后台首页菜单栏-->
			
			
			
</ul></div></div></td><td><div style="width:100%;"><iframe src="page.asp?page=index2.asp" width="100%" frameBorder="0" id="iframeid" onLoad="show()"></iframe></div></td></tr></table>
<script type="text/javascript">
(function($) {$.expr[":"].Contains = function(a, i, m) {return (a.textContent || a.innerText || "").toUpperCase().indexOf(m[3].toUpperCase()) >= 0;};
function filterList(header, list) {var form = $("<form>").attr({"class":"filterform",action:"#"}), input = $("<input>").attr({"class":"filterinput",type:"text"});$(form).append(input).appendTo(header);$(input).change(function() {var filter = $(this).val();if (filter) {$matches = $(list).find("a:Contains(" + filter + ")").parent();$("li", list).not($matches).slideUp();$matches.slideDown();} else {$(list).find("li").slideDown();}return false;}).keyup(function() {$(this).change();});}
$(function() {filterList($("#form"), $("#demo-list"));});
})(jQuery);	
</script>

</body>
</html>