<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>后台管理系统</title>
<link href="content/skins/css/style.css" rel="stylesheet" type="text/css" />
<style>
.main_left {
table-LAYOUT:auto;
BACKGROUND:url(content/skins/images/left_bg.gif);
}

.main_left_top {
BACKGROUND:url(content/skins/images/left_menu_bg.gif);
PADDING-TOP:2px !important;
}

.main_left_title {
TEXT-ALIGN:left;
PADDING-LEFT:15px;
FONT-SIZE:14px;
FONT-WEIGHT:700;
COLOR:#fff;
}

.left_iframe {
HEIGHT:92%;
VISIBILITY:inherit;
WIDTH:180px;
BACKGROUND:transparent;
}

.main_iframe {
HEIGHT:92%;
VISIBILITY:inherit;
WIDTH:100%;
Z-INDEX:1;
}

table,td {
FONT-SIZE:12px;
FONT-FAMILY:tahoma, 宋体, fantasy;
}

.hand {
cursor:pointer;
}
</style>
<script type="text/javascript">
  function UbzMenuCls()
  {
    var MenuHides = new Array();
    this.Show = function(obj,depth){
      var childNode = this.GetChildNode(obj);
      if (!childNode){return ;}
      if (typeof(MenuHides[depth])=="object")
      {
        this.closediv(MenuHides[depth]);
        MenuHides[depth] = '';
      };
      if (depth>0)
      {
        if (childNode.parentNode.offsetWidth>0)
        {
          childNode.style.left= childNode.parentNode.offsetWidth+'px';
          
        }
        else
        {
          childNode.style.left='100px';
        };
        
        childNode.style.top = '-2px';
      };
      childNode.style.display ='block';
      MenuHides[depth]=childNode;
    
    };
    this.closediv = function(obj){
      if (typeof(obj)=="object"){
        if (obj.style.display!='none'){
        obj.style.display='none';
        }
      }
    }
    this.Hide = function(depth){
      var i=0;
      if (depth>0){
        i = depth
      };
      while(MenuHides[i]!=null && MenuHides[i]!=''){
        this.closediv(MenuHides[i]);
        MenuHides[i]='';
        i++;
      };
    
    };
    this.Clear = function(){
      for(var i=0;i<MenuHides.length;i++){
        if (MenuHides[i]!=null && MenuHides[i]!=''){
          MenuHides[i].style.display='none';
          MenuHides[i]='';
        }
      }
    }
    this.GetChildNode = function(submenu){
      for(var i=0;i<submenu.childNodes.length;i++)
      {
        if(submenu.childNodes[i].nodeName.toLowerCase()=="div")
        {
          var obj=submenu.childNodes[i];
          break;
        }
      }
      return obj;
    }
  
  }
  
  var Menus = new UbzMenuCls;
  document.onclick=Menus.Clear;


  var TempStr = ""
  + "<a href=?c=home&a=home target='frmright'>常规管理</a>"
  + "@@<a href=?c=sys&a=setting target='frmright'>系统基本设置</a>"
  + "@@<a href=?c=logo target='frmright'>上传logo</a>"
  + "@@<a href=?c=master target='frmright'>管理员设置</a>"
  + "@@<a href=sysnet.asp target='frmright'>系统网关管理(重要)</a>"
  + "@@<a href=?c=payment target='frmright'>支付网关管理</a>"
  + "@@<a href=?c=order&a=profit target='frmright'>商城盈利</a>"
  + "@@<a href=chkserver.asp target='frmright'>探测远程服务器</a>"
  + "@@<a href=javascript:onclick=change('/Admin/ADList')>页面广告管理</a>"
  + "@@<a href=icat.asp target='frmright'>首页商品类目编辑</a>"
  + "@@<a href=logout.asp target='frmright'>退出</a>"
  + "||<a href=logout.asp target='frmright'><font color='#ffc600'><b>进货系统</b></font></a>"
  + "@@<a href=pidsearch.asp target='frmright'>我要进货(搜索供货商品)</a>"
  + "@@<a href=eplist.asp?optype=i target='frmright'>所有使用自动进货的商品</a>"
  + "@@<a href=eplist.asp?optype=i|w target='frmright'>等待供货商审核的商品</a>"
  + "@@<a href=eplist.asp?optype=i|s target='frmright'>供货商审核通过的商品</a>"
  + "@@<a href=eplist.asp?optype=i|d target='frmright'>供货商拒绝审核的商品</a>"
  + "||<a href=eplist.asp?optype=o target='frmright'><font color='#ffc600'><b>供货系统</b></font></a>"
  + "@@<a href=eplist.asp?optype=o target='frmright'>所有进货商的请求</a>"
  + "@@<a href=eplist.asp?optype=o|w target='frmright'>等待我审核的请求</a>"
  + "@@<a href=eplist.asp?optype=o|s target='frmright'>我审核通过的请求</a>"
  + "@@<a href=eplist.asp?optype=o|d target='frmright'>我拒绝通过的请求</a>"
  + "||<a href=main.asp target='frmright'>新闻公告</a>"
  + "@@<a href=main.asp target='frmright'>添加商城新闻</a>"
  + "@@<a href=main.asp target='frmright'>编缉商城新闻</a>"
  + "@@<a href=artldepart.asp target='frmright'>新闻分类管理</a>"
  + "@@<a href=msgadd.asp target='frmright'>发送短消息</a>"
  + "@@<a href=msglist.asp?optype=r target='frmright'>收到的信息</a>"
  + "||<a href=?c=order target='frmright'>订单管理</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList')>所有订单</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList/?extra=0')>未付款订单</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList/?extra=2')>待处理订单</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList/?extra=3')>已处理订单</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList/?extra=10')>今日商品订单</a>"
  + "@@<a href=javascript:onclick=change('/Admin/OrderList')>查询商品订单</a>"
  + "@@<a href=orderrepay.asp target='frmright'>手工补单</a>"
  + "||<a href=javascript:onclick=change('/Admin/CustomerList')>客户管理</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList')>所有客户列表</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList/?rank=1')>普通会员</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList/?rank=2')>VIP会员</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList/?rank=3')>铜牌会员</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList/?rank=4')>银牌商人</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CustomerList/?rank=5')>金牌商人</a>"
  + "@@<a href=czlist.asp target='frmright'>会员所有充值记录</a>"
  + "@@<a href=czlist.asp?optype=f target='frmright'>会员未成功充值</a>"
  + "@@<a href=czlist.asp?optype=s target='frmright'>会员已成功充值</a>"
  + "@@<a href=ask.asp target='frmright'>会员留言管理</a>"
  + "@@<a href=reply.asp?action=on target='frmright'>需回复的留言</a>"
  + "||<a href=javascript:onclick=change('/Admin/ProductList')>商品管理</a>"
  + "@@<a href=javascript:onclick=change('/Admin/CategoryList')>商品分类管理</a>"
  + "@@<a href=javascript:change('/Admin/ProductAdd')>添加商品</a>"
  + "@@<a href=javascript:onclick=change('/Admin/ProductList')>编缉商品</a>"
  + "@@<a href=pidsearch.asp target='frmright'>我要进货(搜索供货商品)</a>"
  + "||<a href=javascript:onclick=change('/Admin/CardList')>卡号管理</a>"
  + "@@<a href=prdcardsadd.asp?optype=s&ubzpid=100 target='frmright'>批量加卡</a>"
  + "@@<a href=prdcardlist.asp?optype=s target='frmright'>已售出卡号</a>"
  + "@@<a href=prdcardlist.asp?optype=f target='frmright'>未售出卡号</a>"
  + "@@<a href=prdcardlist.asp target='frmright'>编辑卡号</a>"
  + "||<a href=javascript:onclick=change('/Admin/FinanceList')>帐务管理</a>"
  + "@@<a href=trdlist.asp target='frmright'>当日帐务信息</a>"
  + "@@<a href=trades.asp target='frmright'>历史帐务信息</a>"
  + "||<a href=data.asp target='frmright'>数据管理</a>"
  + "@@<a href=rewrite.asp?action=data target='frmright'>更新所有数据</a>"
  + "@@<a href=rewrite.asp target='frmright'>全站静态页面生成</a>"
  + "@@<a href=rewrite.asp?action=product&optype=1 target='frmright'>商品静态页面生成</a>"
  + "@@<a href=rewrite.asp?action=list&optype=1 target='frmright'>商品列表静态页面生成</a>"
  + "@@<a href=rewrite.asp?action=index&optype=1 target='frmright'>首页静态页面生成</a>"
  + "@@<a href=rewrite.asp?action=department&optype=1 target='frmright'>分类静态页面生成</a>";
    
  var Menu_1  = TempStr.split("||");
  var Menu_2;
  var htmlstr = "<ul>";
  var i = 0, j = 0;
  for (i = 0; i < Menu_1.length - 1; i++) 
  {
      Menu_2 = Menu_1[i].split("@@");
  
      htmlstr = htmlstr + "<li id='menu_" + i + "' onclick='getleftbar(this);' onmouseover='Menus.Show(this, 0)'>" + Menu_2[0] + " "
                    + "<div class='menu_childs' onmouseout='Menus.Hide(0)' onmouseover='Menus.Hide(1)'><ul>";
                    
      for (j = 0; j < Menu_2.length - 1; j++) 
      {
          htmlstr = htmlstr + "<li>" + Menu_2[j] + "</li>";
      }
  
      htmlstr = htmlstr + "</ul></div>"
                    + "<div class='menu_div'><img src='Content/skins/images/menu01_right.gif' style='vertical-align:bottom;'></div></li>";
  }
  
  htmlstr = htmlstr + "</ul>";
      
      
  var leftopen = 1; 
  
    
  function getleftbar(obj) 
  {
    var leftobj;
    var titleobj=obj.getElementsByTagName("a");
    leftobj = document.all ? frames["frmleft"] : document.getElementById("frmleft").contentWindow;
    if (!leftobj){return;}
    var menubar = leftobj.document.getElementById("menubar")
    if (menubar){
        if (titleobj[0]){
          document.getElementById("leftmenu_title").innerHTML = titleobj[0].innerHTML;
        }
        var a=obj.getElementsByTagName("ul");
        for(var i=0;i<a.length;i++){
          menubar.innerHTML = a[i].innerHTML;
          //alert(a[i].innerHTML);
        }
    }
  }
    
  function switchSysBar()
  {  
    if (1 == leftopen)
    {
      leftopen = 0;
      switchPoint.innerHTML = '<img src="content/skins/images/left.gif" class="hand">';
      document.all("frmTitle").style.display="none"
    }
    else
    {
       leftopen = 1;
       switchPoint.innerHTML = '<img src="content/skins/images/right.gif" class="hand">';
       document.all("frmTitle").style.display=""
    }
  }
  
</script>
<body style="MARGIN: 0px">
<div class="top_table">
<div>
  <div class="system_logo"><img src="content/skins/images/logo_up.gif"></div>
  <div class="menu" ><script>document.write(htmlstr);</script></div>
</div>
</div>
<div style="height:24px; background:#337ABB;"></div>
<table border=0 cellPadding=0 cellSpacing=0 height="92%" width="100%" style="background:#337ABB;">
<TBODY>
<TR>
  <TD align=middle id=frmTitle vAlign=top name="fmTitle" class="main_left">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="main_left_top">
    <tr height="32">
      <td valign="top"></td>
      <td class="main_left_title" id="leftmenu_title">常用快捷功能</td>
      <td valign="top" align="right"></td>
    </tr>
  </table>
  <IFRAME frameBorder=0 id=frmleft name=frmleft src="index.php?c=home&a=left" class="left_iframe" allowTransparency="true"></IFRAME>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr height="32">
      <td valign="top"></td>
      <td valign="bottom" align="center"></td>
      <td valign="top" align="right"></td>
    </tr>
  </table>
  </td>
  <TD bgColor=#337ABB style="WIDTH: 10px">
     <table border=0 cellPadding=0 cellSpacing=0 height="100%">
      <TBODY>
      <TR>
       <TD onclick=switchSysBar() style="HEIGHT: 100%">
       <SPAN class=navPoint id=switchPoint title="关闭/打开左栏"><img src="content/skins/images/right.gif" class="hand"></SPAN>
       </TD>
      </TR>
      </TBODY>
     </table>
     </TD>
  <TD bgcolor="#337ABB" width="100%" vAlign=top>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#C4D8ED">
    <tr height="32">
      <td valign="top" width="10" background="content/skins/images/bg2.gif"><img src="content/skins/images/teble_top_left.gif" alt="" /></td>
      <td background="content/skins/images/bg2.gif"width="28" ><img src="content/skins/images/arrow.gif" alt="" align="absmiddle" /></td>
      <td background="content/skins/images/bg2.gif"><span style="float:left">官方公告：</span><span style="color:#c00; font-weight:bold; float:left;width:360px;" id="ubzannounce"></span></td>
      <td background="content/skins/images/bg2.gif" style="text-align:right; color: #135294; ">管理员：{$vd['admin']} | <a href="index.asp" target='_top'>后台首页</a> | <a href="../index.html" target="_blank">零售平台首页</a> | <a href="logout.asp" target="_top">退出</a> </td>
      <td align="right" valign="top" background="content/skins/images/bg2.gif" width="28" ><img src="content/skins/images/teble_top_right.gif" alt="" /></td>
      <td align="right" width="15" bgcolor="#337ABB"></td>
    </tr>
  </table>
  <IFRAME frameBorder=0 id=frmright name=frmright scrolling=yes src="index.php?c=home&a=home" class="main_iframe"></IFRAME>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:#C4D8ED;">
  <tr>
  <td><img src="content/skins/images/teble_bottom_left.gif" alt="" width="5" height="6" /></td>
  <td align="right"><img src="content/skins/images/teble_bottom_right.gif" alt="" width="5" height="6" /></td>
  <td align="right" width="16" bgcolor="#337ABB"></td>
  </tr>
  </table>
</TD>
</TR>
</TBODY>
</table>
</body>
</html>