<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_Left, webpages" %>
<!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>
<title>网站管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author"  content="www.331t.com" />
<link rel="stylesheet" href="master.css" type="text/css">
<script src="master.js" type="text/javascript"></script>
<base target="right">
<base onmouseover="window.status='后台管理系统';return true">
<script language=javascript>
 <!--
  var Objs=document.getElementsByName("left");
  function hideall()
   {
    for(i=0;i<Objs.length;i++)
     {

      Objs[i].style.display="none";
    }
  }


   function show_menu(num)
     {
      var style1=Objs[num].style.display;
      if(style1=="none")
      {
      hideall();
      Hide_AllZdyform();
      Objs[num].style.display="";
      }
     else
      {
      Objs[num].style.display="none";
      }
      
     }



  function Show(Id)
    {
     var Obj=document.getElementById(Id);
     Obj.style.display="";
    }

  function Load_Menu()
   {
    
     var Permissions="";
     var LoginName="admin";
     if(Permissions.indexOf("basic")>=0 || LoginName=="admin")
      {
        Show("basic_set");
      }
     if(Permissions.indexOf("member")>=0  || LoginName=="admin")
      {
        Show("member_set");
      }
     if(Permissions.indexOf("business")>=0  || LoginName=="admin")
      {
        Show("business_set");
      }
     if(Permissions.indexOf("lanmu")>=0  || LoginName=="admin")
      {
        Show("lanmu_set");
      }

     if(Permissions.indexOf("product")>=0  || LoginName=="admin")
      {
        Show("product_set");
      }
     if(Permissions.indexOf("article")>=0  || LoginName=="admin")
      {
        Show("article_set");
      }

     if(Permissions.indexOf("hr")>=0  || LoginName=="admin")
      {
        Show("hr_set");
      }

     if(Permissions.indexOf("collection")>=0  || LoginName=="admin")
      {
        Show("collection_set");
      }

     if(Permissions.indexOf("network")>=0  || LoginName=="admin")
      {
        Show("network_set");
      }

     if(Permissions.indexOf("zdyform")>=0  || LoginName=="admin")
      {
        Show("zdyform_set");
      }

     if(Permissions.indexOf("js")>=0  || LoginName=="admin")
      {
        Show("js_set");
      }

     if(LoginName=="admin")
      {
       var TagSpan=document.getElementsByTagName("span");
       for(i=0;i<TagSpan.length;i++)
        {
          TagSpan[i].id = "Span"+i;
          document.getElementById("Span"+i).style.display="";
        }

      }
      else
      {
       var APermissions=Permissions.split(',');
       for(i=0;i<APermissions.length;i++)
        {
         if(APermissions[i]!="" || LoginName=="admin")
          {
           Show(APermissions[i]);
          }
        }
      }

    
    }

  var zdyformItems=document.getElementsByName("zdyform_item");
  function Hide_AllZdyform()
    {
        for(i=0;i<zdyformItems.length;i++)
        {
            zdyformItems[i].style.display="none";
        }
    }
   function showzdyform(num)
    {
     var zdyformItem=zdyformItems[num];
     if(zdyformItem.style.display=="")
      {
       zdyformItem.style.display="none";
      }
     else
      {
        for(i=0;i<zdyformItems.length;i++)
        {
          if(num!=i)
          {
            zdyformItems[i].style.display="none";
          }
        }
        zdyformItem.style.display="";
      }
    }

-->
</script>
<style>
html,body{margin:0px;height:100%;}
</style>
</head> 

<body topmargin=0 bottommargin=0 leftmargin=0  rightmargin=0 bgcolor=#D1EAFE onload="Load_Menu()">
<table width=140px border=0 align="center" cellpadding=0 cellspacing=0 style="height:100%;overflow:hidden;background:url(images/left_bg.gif) repeat top;">
 <tr>
  <td align=center valign=top>
  <div style="width=140px;background:url(images/left_top.gif) no-repeat;padding:30px 0 35px 0;">
   <a href="sysmain.aspx"><span style='color:#ffffff;font-size:12px;font-weight:bold;text-decoration:none'>网站管理系统后台</span></a>
  </div>
<table width=120px cellpadding=0 cellspacing=0 border=0>
   <tbody>
     <tr>
     <td  id="basic_set" align="left" height=25px  onclick="show_menu(0)" style="display:none;cursor:pointer">&nbsp;<img src="images/left_1.gif" width=16 height=16 hspace=3 align=absmiddle>基本信息设置</td>
    </tr> 
   <tr id="left" name="left" style="display:in-line" >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="basic_1">·<a href="setup_1.aspx" class=left>基本参数设置</a><br></span>
      <span style="display:none;" id="basic_2">·<a href="adminset.aspx" class=left>管理员设置</a><br></span>
      <span style="display:none;" id="basic_3">·<a href="adv_1.aspx" class=left>站内广告管理</a><br></span>
      
    </td>
    </tr> 

 <tr>
     <td   id="member_set"  align="left" height=0px  onclick="show_menu(1)" style="display:none;cursor:pointer"><!--&nbsp;<img src="images/member.gif" width=20 height=20 hspace=3 align=absmiddle> 会员中心 --></td>
    </tr> 
   <tr id="left" name="left"  style="display:none" >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="member_1">·<a href="member_set.aspx" class=left>会员系统设置</a><br></span>
      <span style="display:none;" id="member_2">·<a href="member_type.aspx" class=left>会员类别设置</a><br></span>
      <span style="display:none;" id="member_3">
        
        ·<a href="member_1.aspx?tid=1" class=left>个人会员</a><br>
         
        ·<a href="member_1.aspx?tid=4" class=left>企业会员</a><br>
         
        ·<a href="member_1.aspx?tid=2" class=left>内部员工</a><br>
         
        ·<a href="member_1.aspx?tid=3" class=left>代理商</a><br>
         
     </span>
    </td>
  </tr> 

   <tr>
     <td  id="business_set" align="left" height=0px onclick="show_menu(2)" style="display:none;cursor:pointer"><!-- &nbsp;<img src="images/yw.gif" width=16 height=16 hspace=3 align=absmiddle>业务管理--></td>
    </tr> 
   <tr id="left" name="left"   style="display:none"  >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="business_1">·<a href="order_1.aspx" class=left>订单管理</a><br></span>
      <span style="display:none;" id="business_2">·<a href="Finance_1.aspx" class=left>财务记录</a><br></span>
      <span style="display:none;" id="business_3">·<a href="feedback_1.aspx" class=left>留言管理</a><br></span>
    </td>
    </tr>
  
 <tr>
     <td  id="lanmu_set" align="left" height=25px  onclick="show_menu(3)" style="display:none;cursor:pointer">&nbsp;<img src="images/left_2.gif" width=18 height=18 hspace=3 align=absmiddle>网站基本栏目</td>
    </tr> 
   <tr id="left" name="left"  style="display:none" >
     <td  align="left" class=left_padd>
	 <span style="display:none;" id="lanmu_1_1">·<a href="help/aboulist.aspx" class=left>栏目列表</a><br></span>
	 <span style="display:none;" id="lanmu_1_1">·<a href="help/editabout.aspx?bs=1" class=left>关于我们</a><br></span>
	 <span style="display:none;" id="lanmu_1_2">·<a href="help/editabout.aspx?bs=2" class=left>客户服务</a><br></span>
	 <span style="display:none;" id="lanmu_1_3">·<a href="help/editabout.aspx?bs=3" class=left>联系我们</a><br></span>
	 <span style="display:none;" id="lanmu_1_4">·<a href="help/editabout.aspx?bs=4" class=left>公司简介</a><br></span>
    </td>
  </tr> 

   <tr>
     <td  id="product_set" align="left" height=25px  onclick="show_menu(4)" style="display:none;cursor:pointer">&nbsp;<img src="images/left_3.gif" width=19 height=17 hspace=3 align=absmiddle>产品列表管理</td>
    </tr> 
   <tr id="left" name="left"  style="display:none" >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="product_1">·<a href="product/addproclass.aspx" class=left>产品类别设置</a> <br></span>
      <span style="display:none;" id="product_2">·<a href="product/prolist.aspx" class=left>产品管理</a><br></span>
      <span style="display:none;" id="product_3">·<a href="product/addproduct.aspx" class=left>增加产品</a><br></span>
      <span style="display:none;" id="product_6">·<a href="comments_1.aspx?type=product" class=left>评论管理</a></span>
    </td>
    </tr> 

   <tr>
     <td id="article_set"   align="left" height=25px  onclick="show_menu(5)" style="display:none;cursor:pointer">&nbsp;<img src="images/article.gif" width=16 height=16 hspace=3 align=absmiddle>文章列表管理</td>
    </tr> 
   <tr id="left" name="left"   style="display:none" >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="article_1">·<a href="newclass.aspx" class=left>文章类别管理</a><br></span>
      <span style="display:none;" id="article_2">·<a href="newslist.aspx" class=left>文章管理</a><br></span>
      <span style="display:none;" id="article_3">·<a href="addnews.aspx" class=left>发布文章</a><br></span>
      <span style="display:none;" id="article_4">·<a href="newssec.aspx" class=left>文章查询<br></a></span>
	  <span style="display:none;" id="article_6">·<a href="comments_1.aspx?type=article" class=left>评论管理</a></span>
    </td>
    </tr>


   <tr>
     <td id="zdyform_set"  align="left" height=0px onclick="show_menu(6)" style="display:none;cursor:pointer"><!-- &nbsp;<img src="images/zdyform.gif"  width=16 height=16 hspace=3 align=absmiddle>表单模型管理  --></td>
    </tr> 
   <tr id="left" name="left"   style="display:none"  >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="zdyform_1">·<a href="zdyform_1.aspx" class=left>自定义表单</a><br></span>
      <span style="display:none;" id="zdyform_2">·<a href="zdymodel_1.aspx" class=left>自定义模型</a><br></span>
     </td>
   </tr>
        

 <tr>
     <td  id="hr_set"  align="left" height=0px  onclick="show_menu(7)" style="display:none;cursor:pointer"><!-- &nbsp;<img src="images/hr.gif" width=16 height=16 hspace=3 align=absmiddle>招聘信息管理 --></td>
    </tr> 
   <tr id="left" name="left"   style="display:none" >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="hr_1">·<a href="hr_1.aspx" class=left>招聘信息管理</a> <br></span>
      <span style="display:none;" id="hr_2">·<a href="hr_2.aspx" class=left>发布招聘信息</a> <br></span>
      <span style="display:none;" id="hr_3">·<a href="hr_3.aspx" class=left>应聘简历管理</a></span>
    </td>
    </tr>

<tr>
     <td  id="network_set" align="left" height=0px onclick="show_menu(8)" style="display:none;cursor:pointer"><!-- &nbsp;<img src="images/network.gif"  width=16 height=16 hspace=3 align=absmiddle>商品信息 --></td>
    </tr> 
   <tr id="left" name="left"   style="display:none"  >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="network_1">·<a href="channel_1.aspx" class=left>网点管理</a> <br></span>
      <span style="display:none;" id="network_2">·<a href="channel_2.aspx" class=left>添加网点</a></span>
    </td>
 </tr>

  <tr>
     <td  id="collection_set"  align="left" height=25px  onclick="show_menu(9)" style="display:none;cursor:pointer">&nbsp;<img src="images/collection.gif" width=16 height=16 hspace=3 align=absmiddle>版权信息</td>
    </tr> 
   <tr id="left" name="left"   style="display:none" >
     <td  align="left" class=left_padd>
	  &nbsp;程序制作：
      <asp:Label id="Label1" runat="server">金色网络 </asp:Label> 

    </td>
    </tr>


  <tr>
     <td id="js_set"  align="left" height=0px onclick="show_menu(10)" style="display:none;cursor:pointer"><!-- &nbsp;<img src="images/left_8.gif"  width=16 height=16 hspace=3 align=absmiddle>JS调用区 --></td>
    </tr> 
   <tr id="left" name="left"   style="display:none"  >
     <td  align="left" class=left_padd>
      <span style="display:none;" id="js_1">·<a href="loginbox_1.aspx" class=left>会员登陆调用</a><br></span>
      <span style="display:none;" id="js_2">·<a href="slide_1.aspx" class=left>图片幻灯片调用</a><br></span>
      <span style="display:none;" id="js_3">·<a href="search_1.aspx" class=left>站内搜索调用</a><br></span>
      <span style="display:none;" id="js_4">·<a href="vote_1.aspx" class=left>问卷调查调用</a><br></span>
      <span style="display:none;" id="js_5">·<a href="link_1.aspx" class=left>友情链接调用</a> <br></span>
    </td>
    </tr>

     </tbody>
   </table>
   
  

 </td>
 </tr>
</table>


</body>
</html>  
