📄 top.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>top</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">
<style type="text/css">
<!--
body {
background-image: url(../images/main/main_topbg.jpg);
}
.style1 {
font-size: 14px;
color:#000000;
}
.button {font:normal 12px/120% Verdana,'宋体';height:18px;
border-left:1px #ced4e2 solid;
border-top:1px #ced4e2 solid;
border-right:1px #888888 solid;
border-bottom:1px #888888 solid;
background: #dddddd;}
-->
</style>
<script language="javascript" type="text/javascript">
function outSys(){
var out=window.confirm("确实要离开该页面吗?\n\n您确定退出系统?\n\n按“确定”继续,或按“取消”返回。");
if(out){
window.parent.close();
}else{
return false;
}
}
</script>
</head>
<%
LoginForm form = (LoginForm)session.getAttribute("users");
CompetenceData data = new CompetenceDA().selectCom(form);
%>
<body leftmargin="0" rightmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="100%" height="77" border="0" cellpadding="0" cellspacing="0" background="../images/util/topbg1.jpg">
<tr>
<td><img src="../images/util/logo.gif" width="709" height="77"></td>
</tr>
</table>
<table width="100%" height="41" border="0" cellpadding="0" cellspacing="0" background="../images/util/topnav_bg.jpg">
<tr>
<td width="160" align="center" valign="middle"> </td>
<TD width="95" align="center" valign="bottom"><a href="../purchasePages/purchase_warehousing.jsp" target="right"><%if(data.isC_a() == true){ %><img src="../images/util/button1.jpg" width="88" height="25" border="0" style="cursor:hand "><%}else{ %> <%} %></a></TD>
<TD width="95" align="center" valign="bottom"><a href="../stockPages/stock_inquiry.jsp" target="right"><%if(data.isC_b() == true){ %><img src="../images/util/button2.jpg" width="88" height="25" border="0" style="cursor:hand "><%}else{ %> <%} %></a></TD>
<TD width="95" align="center" valign="bottom"><a href="../sellsPages/sells_warehousing.jsp" target="right"><%if(data.isC_c() == true){ %><img src="../images/util/button3.jpg" width="88" height="25" border="0" style="cursor:hand "><%}else{ %> <%} %></a></TD>
<TD width="95" align="center" valign="bottom"><a href="../purchasePages/purchase_warehousing.jsp" target="right"><%if(data.isC_bd() == true){ %><img src="../images/util/button4.jpg" width="88" height="25" border="0" style="cursor:hand "><%}else{ %> <%} %></a></TD>
<TD width="95" align="center" valign="bottom"><a href="../bookkeepingPages/money_find.jsp" target="right"><%if(data.isC_fe() == true){ %><img src="../images/util/button6.jpg" width="88" height="25" border="0" style="cursor:hand "><%}else{ %> <%} %></a></TD>
<TD width="95" align="center" valign="bottom"><a href="../systemPages/changPassword.jsp" target="right"><img src="../images/util/button7.jpg" width="88" height="25" border="0" style="cursor:hand "></a></TD>
<TD width="95" align="center" valign="bottom"><a href="desk.jsp" target="right"><img src="../images/util/button8.jpg" width="88" height="25" border="0" style="cursor:hand "></a></TD>
<TD width="89" align="center" valign="bottom"><table width="52" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="Submit" type="button" class="button" value=" 退出系统 " onClick="return outSys()"></td>
</tr>
</table></TD>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -