📄 menu.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<jsp:directive.page import="com.captainli.struts.form.LoginForm"/>
<jsp:directive.page import="com.captainli.dboperation.CompetenceDA"/>
<jsp:directive.page import="com.captainli.util.CompetenceData"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>menu</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="../css/menu.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
background-color: #73a3d4;
margin-left: 5px;
margin-top: 0px;
margin-right: 5px;
margin-bottom: 0px;
}
a:link {
color: #1A438E;
text-decoration: underline;
}
a:visited {
text-decoration: underline;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: underline;
}
.menuall {text-align:center;width:149px;background:#ffffff;}
-->
</style>
<script language="javascript" type="text/javascript">
//菜单里面图片变化
var itemp;
var tobj="";
itemp="";
function leftBgOver(obj){//菜单
obj.style.background="url(../images/menu/left_bg02.gif) center no-repeat";
//obj.style.position="center";
//obj.style.repeat="no-repeat":
}
function leftBgOut(obj,sty){
//alert( (sty)?"url(" + sty + ")":"");
if (tobj!="")
{
sty="../images/menu/left_bg01.gif";
obj.style.background= (sty)?"url(" + sty + ")":"";
}
else
{
obj.style.background= (sty)?"url(" + sty + ")":"";
}
}
</script>
<script type="text/javascript" language="javascript">
function pageLoad(){
document.getElementById("g_1").style.display = "none";
document.getElementById("g_2").style.display = "none";
document.getElementById("g_3").style.display = "none";
document.getElementById("g_4").style.display = "none";
document.getElementById("g_5").style.display = "none";
document.getElementById("g_6").style.display = "none";
}
function collapse(objid)
{
var obj = document.getElementById(objid);
collapseAll();
obj.style.display = '';
}
function collapseAll()
{
for (var i=0; i<7; i++)
{
var obj = document.getElementById('g_' + i.toString());
if (obj) obj.style.display = 'none';
}
}
</script>
</head>
<%
LoginForm form = (LoginForm)session.getAttribute("users");
CompetenceData data = new CompetenceDA().selectCom(form);
%>
<body onLoad="pageLoad()">
<table border="0" cellpadding="0" cellspacing="0" class="menuall">
<tr>
<td><img src="../images/menu/left_top.gif" alt="" width="149" height="6" /></td>
</tr>
<tr>
<td<%if(data.isC_a() == false){ %> style="display:none"<%} %> onClick="collapse('g_1')" style="cursor:hand;"><img src="../images/menu/menu_a.gif" width="139" height="36" border="0" /></td>
</tr>
<tr>
<td id="g_1"><table width="100%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tbody>
<tr <%if(data.isC_aa() == false || data.isC_a() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../purchasePages/purchase_warehousing.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
<td>产品采购入库</td>
</tr>
</table></td>
</tr>
<tr <%if(data.isC_ab() == false || data.isC_a() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../purchasePages/purchase_record.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
<td>入库记录查询</td>
</tr>
</table></td>
</tr>
<tr <%if(data.isC_ac() == false || data.isC_a() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../purchasePages/purchase_payment.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
<td>付款单</td>
</tr>
</table></td>
</tr>
<tr <%if(data.isC_ad() == false || data.isC_a() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../utilPages/system_renewal.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
<td>产品采购退货</td>
</tr>
</table></td>
</tr>
<tr <%if(data.isC_ae() == false || data.isC_a() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../utilPages/system_renewal.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
<td>退货记录查询</td>
</tr>
</table></td>
</tr>
<tr>
<td height="5"></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td <%if(data.isC_b() == false){ %> style="display:none"<%} %> onClick="collapse('g_2')" style="cursor:hand;"><img src="../images/menu/menu_b.gif" width="139" height="36" border="0" /></td>
</tr>
<tr>
<td id="g_2"><table width="100%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tbody>
<tr <%if(data.isC_ba() == false || data.isC_b() == false){ %> style="display:none"<%} %>>
<td height="30" align="center" background="../images/menu/left_bg01.gif" style="cursor:hand" onclick="javascript:parent.right.location.href='../stockPages/stock_inquiry.jsp';" onMouseOver="leftBgOver(this);" onMouseOut="leftBgOut(this,'../images/menu/left_bg01.gif');"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50"> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -