left.jsp
上传用户:xjrzjk
上传日期:2022-07-31
资源大小:1585k
文件大小:5k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%
  3.   try{
  4. %>
  5. <html>
  6. <head>
  7. <title>
  8. left
  9. </title>
  10. <link rel="stylesheet" href="css.css">
  11. </head>
  12. <base target="main">
  13. <script language="JavaScript1.2">
  14. scores = new Array(20);
  15. var numTotal=0;
  16. NS4 = (document.layers) ? 1 : 0;
  17. IE4 = (document.all) ? 1 : 0;
  18. ver4 = (NS4 || IE4) ? 1 : 0;
  19. if (ver4) {    with (document) {        write("<STYLE TYPE='text/css'>");        if (NS4) {            write(".parent {position:absolute; visibility:visible}");            write(".child {position:absolute; visibility:visible}");            write(".regular {position:absolute; visibility:visible}")        }        else {            write(".child {display:none}")        }        write("</STYLE>");    }}
  20. function getIndex(el) {    ind = null;    for (i=0; i<document.layers.length; i++) {        whichEl = document.layers[i];        if (whichEl.id == el) {            ind = i;            break;        }    }    return ind;}
  21. function arrange() {    nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;    for (i=firstInd+1; i<document.layers.length; i++) {        whichEl = document.layers[i];        if (whichEl.visibility != "hide") {            whichEl.pageY = nextY;            nextY += whichEl.document.height;        }    }}function initIt(){    if (!ver4) return;    if (NS4) {        for (i=0; i<document.layers.length; i++) {            whichEl = document.layers[i];            if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";       }        arrange();    }    else {        divColl = document.all.tags("DIV");        for (i=0; i<divColl.length; i++) {            whichEl = divColl(i);            if (whichEl.className == "child") whichEl.style.display = "none";        }    }}
  22. function expandIt(el) { if (!ver4) return;    if (IE4) {        whichEl1 = eval(el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval(scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.style.display = "none"; } }        whichEl1 = eval(el + "Child");        if (whichEl1.style.display == "none") {            whichEl1.style.display = "block";        }        else {            whichEl1.style.display = "none";        }    }    else {        whichEl = eval("document." + el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval("document." + scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.visibility = "hide"; } }        if (whichEl.visibility == "hide") {            whichEl.visibility = "show";        }        else {            whichEl.visibility = "hide";        }        arrange();    }}
  23. onload = initIt;
  24. </script>
  25. <body bgcolor="#bdcff7" topmargin="0" leftmargin="5">
  26. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  27. <tr>
  28. <td height=5></td>
  29. </tr>
  30. </table>
  31. <b>通用</b>
  32. <br>
  33. <div id='KB1Parent' class='parent'> <a href="#" onClick="expandIt('KB1'); return false">
  34.   <IMG SRC='../images/workplan.gif' BORDER=0 width="30" height="16"> 商品信息管理</a>
  35. </div>
  36. <div id='KB1Child' class='child'> <a href="add_class_1.jsp"> <IMG SRC='../images/blank.gif' BORDER=0>
  37.   添加大类</a><br>
  38.   <a href="add_class_2.jsp"> <IMG SRC='../images/blankend.gif' BORDER=0> 添加分类</a><br>
  39.   <a href="add_product.jsp"> <IMG SRC='../images/blankend.gif' BORDER=0> 添加商品</a><br>
  40.   <a href="product_check.jsp"> <IMG SRC='../images/blankend.gif' BORDER=0> 商品审查</a><br>
  41. </div>
  42. <div id='KB2Parent' class='parent'>
  43. <a href="#" onClick="expandIt('KB2'); return false"><img src='../images/gongwen.gif' border=0 width="30" height="16">交易信息管理</a></div>
  44. <div id='KB2Child' class='child'> <a href="OrderList_Check.jsp"> <IMG SRC='../images/blank.gif' BORDER=0>
  45.   客户定单处理</a><br>
  46.   <a href="noticecontrol.jsp"> </a><a href="havercidate.jsp"><img src='../images/blankend.gif' border=0></a><a href="OrderList_CheckOK.jsp">
  47.   发货记录查询</a><br>
  48.   <a href="noticelook.jsp"> </a></div>
  49. <div id='KB5Parent' class='parent'>
  50.   </a><a href="#" onClick="expandIt('KB5'); return false"><img src='../images/renli.gif' border=0 width="30" height="16">站内操作管理</a></div>
  51. <div id='KB5Child' class='child'> <a href="stafaddressinf.jsp"> <img src='../images/blank.gif' border=0></a><a href="user_check.jsp">
  52.   会员审查</a><a href="add_manager.jsp"><br>
  53.   <img src='../images/blank.gif' border=0> 管理员添加</a><br>
  54.   <a href="manager_list.jsp"> <IMG SRC='../images/blankend.gif' BORDER=0> 管理员审查</a><br>
  55. </div>
  56. <div id='KB6Parent' class='parent'> <a href="#" onClick="expandIt('KB6'); return false">
  57.   <IMG SRC='../images/yuyue.gif' BORDER=0 width="30" height="16"> 退出管理</a></div>
  58. <div id='KB6Child' class='child'> <a href="../index.jsp" target="_parent"> <IMG SRC='../images/blankend1.gif' BORDER=0>
  59.   退出本系统</a><br>
  60. </div>
  61. <SCRIPT>
  62. numTotal=4;scores[1]='KB1';scores[2]='KB2';scores[3]='KB5';scores[4]='KB6';</SCRIPT>
  63. </body>
  64. </html>
  65. <%
  66.   }catch(Exception e){
  67.   throw (e);
  68.   }
  69. %>