⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 left.jsp

📁 此小软件实现了小型超市的进销存系统,它展示了小型超市的进货和销售,还有库存的各种技术!
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%
  try{
%>
<html>
<head>
<title>
left
</title>
<link rel="stylesheet" type="text/css" href="../style.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
a:link {
	color: #333300;
}
-->
</style></head>
<base target="main">

<script language="JavaScript1.2">
scores = new Array(20);
var numTotal=0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

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>");    }}



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;}


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";        }    }}


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();    }}



onload = initIt;

</script>




<body bgcolor="#bdcff7" topmargin="0" leftmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=5></td>
</tr>
</table>
<b>通用</b>
<br>

<div id='KB1Parent' class='parent'> <a href="#" onClick="expandIt('KB1'); return false">
  <IMG SRC='../images/workplan.gif' BORDER=0 width="30" height="16"> 商品信息管理</a>
</div>
<div id='KB1Child' class='child'> <a href="add_class_1.jsp" target="right"> <IMG SRC='../images/blank.gif' BORDER=0>
  大类管理</a><br>
  <a href="add_class_2.jsp" target="right"> <IMG SRC='../images/blankend.gif' BORDER=0> 小类管理</a><br>
  <a href="add_pro.jsp" target="right"> <IMG SRC='../images/blankend.gif' BORDER=0> 添加商品</a><br>
  <a href="prochk.jsp" target="right"> <IMG SRC='../images/blankend.gif' BORDER=0> 商品审查</a>
</div>

<div id='KB2Parent' class='parent'>
<a href="#" onClick="expandIt('KB2'); return false"><img src='../images/gongwen.gif' border=0 width="30" height="16">交易信息管理</a></div>
<div id='KB2Child' class='child'> <a href="orders_no.jsp" target="right"> <IMG SRC='../images/blank.gif' BORDER=0>
  客户定单处理</a><br>
  <a href="orders_yes.jsp" target="right"><img src='../images/blankend.gif' border=0>  发货记录查询</a>
</div>

<div id='KB4Parent' class='parent'>
<a href="#" onClick="expandIt('KB4'); return false"><img src='../images/gongwen.gif' border=0 width="30" height="16">网站新闻管理</a></div>
<div id='KB4Child' class='child'> <a href="news_add.jsp" target="right">  <IMG SRC='../images/blank.gif' BORDER=0>
 添加新闻</a><br>
<a href="newschk.jsp" target="right"><img src='../images/blankend.gif' border=0>
  新闻审核</a><br>
   <a href="public.jsp" target="right"> <IMG SRC='../images/blank.gif' BORDER=0>
本站公告</a>
</div>

<div id='KB5Parent' class='parent'>
  </a><a href="#" onClick="expandIt('KB5'); return false"><img src='../images/renli.gif' border=0 width="30" height="16">站内操作管理</a></div>
<div id='KB5Child' class='child'>  <img src='../images/blank.gif' border=0><a href="userchk.jsp" target="right">
  会员审查</a><br>
  <a href="manager_edit.jsp" target="right">
  <img src='../images/blank.gif' border=0> 管理员信息修改</a><br>
  <a href="company_edit.jsp" target="right">
  <img src='../images/blank.gif' border=0> 公司信息修改</a><br>
  <a href="blank_edit.jsp" target="right">
<img src='../images/blank.gif' border=0> 账户信息修改</a></div>


<div id='KB6Parent' class='parent'> <a href="#" onClick="expandIt('KB6'); return false">
  <IMG SRC='../images/yuyue.gif' BORDER=0 width="30" height="16"> 退出管理</a></div>
<div id='KB6Child' class='child'> <a href="../index.jsp" target="_parent"> <IMG SRC='../images/blankend1.gif' BORDER=0>
  退出本系统</a><br>
</div>

<SCRIPT>
numTotal=4;scores[1]='KB1';scores[2]='KB2';scores[3]='KB5';scores[4]='KB6';</SCRIPT>
</body>
</html>
<%
  }catch(Exception e){
  throw (e);
  }
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -