<!DOCTYPE HTML>
<html>
 <head>
<!-- #include file="../LyricInc/access.asp" -->
<!-- #include file="LyricInc/functions.asp" -->
  <title><%=gdb("select web_name from web_settings ")%> - GovPet Government Website Management System</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link href="assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
  <link href="assets/css/bui-min.css" rel="stylesheet" type="text/css" />
   <link href="assets/css/main-min.css" rel="stylesheet" type="text/css" />
<script language=JavaScript>
function logout(){
	if (confirm("确定退出后台管理系统吗？"))
	top.location = "logout.asp";
	return false;
}

</script>
 </head>
 <body>
  <div class="header">
    
      <div class="dl-title">
        <a href="http://www.govpet.com/" target="_blank"><img src='images/logo.png' alt='logo' width='180' height='50'></a> 
      </div>

    <div class="dl-log">欢迎您，[<%If logr() Then
		 response.write " 超级管理员 "
		else
		response.write " 普通管理员 "
		end if%>] <span class="dl-log-user"><%=session("log_name")%></span><a href="/" title="home" class="dl-log-quit" target='_blank'>网站首页</a> <a href="#" target="_self" onClick="logout();" class="dl-log-quit">退出后台</a>
    </div>
  </div>
   <div class="content">
    <div class="dl-main-nav">
      <div class="dl-inform"><div class="dl-inform-title">贴心小秘书<s class="dl-inform-icon dl-up"></s></div></div>
      <ul id="J_Nav"  class="nav-list ks-clear">
	  <%If Session("log_role")=9 then%>
        <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">网站设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-order">栏目设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-inventory">内容管理</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-supplier">系统设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-cost">手机设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-register">静态管理</div></li>
		<%
		Else
	%>
         <li class="nav-item dl-selected" ><div class="nav-item-inner nav-home">网站设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-order">栏目设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-inventory">内容管理</div></li>
        <li class="nav-item" style='display:none;'><div class="nav-item-inner nav-supplier">系统设置</div></li>
        <li class="nav-item" style='display:none;'><div class="nav-item-inner nav-cost">手机设置</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-register">静态管理</div></li>

	<%
	End If
	%>
      </ul>
    </div>
    <ul id="J_NavContent" class="dl-tab-conten">

    </ul>
   </div>
  <script type="text/javascript" src="assets/js/jquery-1.8.1.min.js"></script>
  <script type="text/javascript" src="./assets/js/bui.js"></script>
  <script type="text/javascript" src="./assets/js/config.js"></script>

  <script>
    BUI.use('common/main',function(){
      var config = [{
          id:'menu', 
          homePage : 'Sys01',
          menu:[{
              text:'基本设置',
              items:[
                {id:'Set01',text:'网站信息设置',href:'web_settings.asp',closeable : false},
                {id:'Set02',text:'浮动条设置',href:'chat_settings.asp'},
              ]
            },{
              text:'导航设置',
              items:[
                {id:'Nav01',text:'添加一级导航',href:'menu_type_add.asp'},
                {id:'Nav02',text:'一级导航列表',href:'menu_type_list.asp'},  
                {id:'Nav03',text:'添加二级导航',href:'menu_add.asp'},
                {id:'Nav04',text:'二级导航列表',href:'menu_list.asp'}  
              ]
            },{
              text:'广告设置',
              items:[
                {id:'Ad01',text:'添加新广告',href:'ads_add.asp'},
                {id:'Ad02',text:'广告列表',href:'ads_list.asp'},  
                {id:'Ad03',text:'广告位置管理',href:'ads_position_list.asp'}  
              ]
            },{
              text:'友情链接',
              items:[
                {id:'Link01',text:'添加新链接',href:'link_add.asp'},
                {id:'Link02',text:'链接列表',href:'link_list.asp'},  
                {id:'Link03',text:'链接类型管理',href:'link_position_list.asp'}  
              ]
            },{
              text:'关于系统',
              items:[
                {id:'Sys01',text:'版权信息',href:'SysInfo.asp',closeable : false},
              ]
            }]
          },{
            id:'form',
          homePage : 'Col02',
            menu:[{
                text:'栏目管理',
                items:[
                  {id:'Col01',text:'添加新栏目',href:'category_add.asp?ppid=1'},
                  {id:'Col02',text:'栏目列表',href:'category_list.asp',closeable : false},
                  {id:'Col03',text:'栏目列表设置',href:'list_settings.asp'},
                ]
              }
			  ]
          },{
            id:'search',
          homePage : 'Art02',
            menu:[{
                text:'文章管理',
                items:[
                  {id:'Art01',text:'添加新文章',href:'article_add.asp'},
                  {id:'Art02',text:'文章列表',href:'article_list.asp',closeable : false},
                  {id:'Art03',text:'关键词管理',href:'keywords_list.asp'},
                  {id:'Art04',text:'来源管理',href:'Author_list.asp'},
                ]
              },{
                text : '留言管理',
                items : [
                  {id:  'Fed01',text:'邮件回复设置',href:'mail_settings.asp'},
                  {id : 'Fed02',text : '留言列表',href : 'Info_list.asp'}
                ]
              },{
                text : '备份管理',
                items : [
                  {id : 'Dat01',text : '备份数据库',href : 'data_backup.asp'},
                  {id : 'Dat02',text : '还原数据库',href : 'data_restore.asp'},
                  {id : 'Dat03',text : '备份列表',href : 'data_list.asp'}
                ]
              }]
          },{
            id:'detail',
          homePage : 'Use02',
            menu:[{
                text:'后台用户',
                items:[
                  {id:'Use01',text:'添加新用户',href:'admin_add.asp'},
                  {id:'Use02',text:'用户列表',href:'admin_list.asp'}
                ]
              },{
                text:'模板管理',
                items:[
                  {id:'Mod01',text:'添加新模板分类',href:'models_type_add.asp'},
                  {id:'Mod02',text:'模板分类列表',href:'models_type_list.asp'}
                ]
              }]
          },{
            id:'detail2',
          homePage : 'MSet01',
            menu:[{
                text:'手机基本设置',
                items:[
                  {id:'MSet01',text:'网站信息设置',href:'mobile_web_settings.asp',closeable : false},
                ]
              },{
                text:'手机导航管理',
                items:[
                  {id:'MNav01',text:'添加新导航',href:'mobile_menu_type_add.asp'},
                  {id:'MNav02',text:'导航列表',href:'mobile_menu_type_list.asp'},
                ]
              },{
                text:'手机广告管理',
                items:[
                  {id:'MAD01',text:'添加新广告',href:'mobile_ads_add.asp'},
                  {id:'MAD02',text:'广告列表',href:'mobile_ads_list.asp'},
                  {id:'MAD03',text:'广告位置管理',href:'mobile_ads_position_list.asp'}
                ]
              },{
                text:'手机静态管理',
                items:[
                  {id:'MCre01',text:'生成首页',href:'mobile_html_index.asp'},
                  {id:'MCre02',text:'生成栏目',href:'mobile_html_items.asp'},
                  {id:'MCre03',text:'生成内容',href:'mobile_html_article.asp'},
                  {id:'MCre04',text:'一键生成',href:'mobile_html_all.asp'}
                ]
              }]
          },{
            id:'detail3',
          homePage : 'PCre01',
            menu:[{
                text:'电脑端生成',
                items:[
                  {id:'PCre01',text:'生成首页',href:'html_index.asp',closeable : false},
                  {id:'PCre02',text:'生成栏目',href:'html_items.asp'},
                  {id:'PCre03',text:'生成内容',href:'html_article.asp'},
                  {id:'PCre04',text:'一键生成',href:'html_all.asp'}
                ]
              },{
                text:'手机端生成',
                items:[
                  {id:'MCre011',text:'生成首页',href:'mobile_html_index.asp'},
                  {id:'MCre022',text:'生成栏目',href:'mobile_html_items.asp'},
                  {id:'MCre033',text:'生成内容',href:'mobile_html_article.asp'},
                  {id:'MCre044',text:'一键生成',href:'mobile_html_all.asp'}
                ]
              }]
          }];
      new PageUtil.MainPage({
        modulesConfig : config
      });
    });
  </script>
 </body>
</html>
