?? companyview.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("你還沒登錄,無權(quán)查看此頁面!", contextPath + "/index.jsp"));
return;
}
%>
<html>
<head>
<title>個人職位管理系統(tǒng)</title>
<link rel="stylesheet" href="<%=contextPath%>/css/itsp.css" type="text/css">
<SCRIPT LANGUAGE=javascript>
</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"> 個人職位管理系統(tǒng)--公司查詢</td>
<td><img src="<%=contextPath%>/images/top_r2.GIF" width="294" height="22"></td>
<td width=100 align="center"><a href="../../index.html">[ 退出系統(tǒng) ]</a></td>
</tr>
</table>
<br>
<br>
<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">公司性質(zhì)</td>
<td class=ttTable height=30 width="0">公司電話</td>
<td class=ttTable height=30 width="0"><div align="center">公司簡介</div></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.getKind()%></td>
<td class=tdsmall height=25 width="0"><%=company.getTelephone()%></td>
<td class=tdsmall height=25 width="0"><%=company.getIntroduce()%></td>
</tr>
<%
}
}
%>
</tbody>
</table>
<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/index.jsp';">
</td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -