📄 jobmanager.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" %>
<%@ page import="com.publish.jxc.charpter9.*" %>
<%@ page import="java.util.ArrayList" %>
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
String contextPath = request.getContextPath();
if (session.getAttribute("user") == null) {
out.print(Utility.outPrintPage("你还没登录,无权查看此页面!", contextPath + "/index.jsp"));
return;
}
%>
<html>
<head>
<title>个人职位管理系统</title>
<link rel="stylesheet" href="<%=contextPath%>/css/itsp.css" type="text/css">
<SCRIPT LANGUAGE=javascript>
function submit(companyId, conpanyName)
{
window.dataform.companyId.value = companyId;
window.dataform.companyName.value = companyName;
window.dataform.submit();
}
</SCRIPT>
</head>
<body >
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="22">
<tr>
<td width="1"><img src="<%=contextPath%>/images/top_r1.GIF" width="62" height="22"></td>
<td width=150 align="center"> 个人职位管理系统--职位管理</td>
<td><img src="<%=contextPath%>/images/top_r2.GIF" width="294" height="22"></td>
<td width=100 align="center"><a href="../../index.html">[ 退出系统 ]</a></td>
</tr>
</table>
<br>
<br>
<form name=dataform action="/charpter9/manager" method="post" >
<table bgcolor="#999999" align=center border=0 cellpadding=1 cellspacing=1 width="90%">
<tbody>
<tr bgcolor="#efefef" align="center" valign="middle">
<td class=ttTable height=30 width="20"> </td>
<td class=ttTable height=30 width="0">公司名称</td>
<td class=ttTable height=30 width="0">公司简介</td>
<td class=ttTable height=30 width="100">编辑职位</td>
</tr>
<%
ArrayList showList = (ArrayList)session.getAttribute("showList");
if (showList != null)
{
int length = showList.size();
for(int i=0; i<length; i++)
{
CompanyXMLModel company = (CompanyXMLModel)showList.get(i);
%>
<tr align="center" bgcolor="#ffffff" valign="middle">
<td class=tdsmall height=25 width="20"><%=(i+1)%></td>
<td class=tdsmall height=25 width="0"><%=company.getName()%></td>
<td class=tdsmall height=25 width="0"><%=company.getIntroduce()%></td>
<td class=tdsmall height=25 width="100"><input type="image" src="<%=contextPath%>/images/edit.gif"
onMouseDown="javascript:window.dataform.companyId.value='<%=company.getId()%>';window.dataform.companyName.value='<%=company.getName()%>';window.dataform.submit();" width="15" height="15" border="0">
</td>
</tr>
<%
}
}
%>
</tbody>
</table>
<input name="actionName" type="hidden" value="ZWEDIT">
<input name="companyId" type="hidden" value="0">
<input name="companyName" type="hidden" value="">
</form>
<br>
<table align=center border=0 cellpadding=0 cellspacing=2 width="95%">
<tbody>
<tr valign=center>
<td align=middle> <br>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<input class=stbtm type="button" name="Button" value="返回上页" onClick="javascript:window.location.href='<%=contextPath%>/pages/admin/index.jsp';">
</td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -