📄 selcom1.asp
字号:
<!--#include file="odbc_connection.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>岗位查询</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style6 {font-size: 12px; color: #000000; }
-->
</style>
<link href="css/css1.css" rel="stylesheet" type="text/css">
<link href="css/table.css" rel="stylesheet" type="text/css">
<link href="css/css2.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style9 {
font-size: 12px;
color: #6600FF;
}
.style10 {
font-size: 14px;
font-weight: bold;
color: #009900;
}
.style11 {font-size: 12px; color: #FF3300}
-->
</style>
</head>
<% dim rs,sql
name=trim(request("name"))
want=trim(request("want"))
shf=trim(request("shf"))
%>
<%sql="select * from cominfo where 0=0 " %>
<%if name<>"0" then
sql=sql+"and name like'%"&name&"%'"
end if
if want<>"0" then
sql=sql+"and want like'%"&want&"%'"
end if
if shf<>"0" then
sql=sql+"and shf like'%"&shf&"%'"
end if%>
<%set rs=Server.CreateObject("ADODB.RecordSet")
rs.open sql,db,1%>
<%if rs.recordcount<=0 then%>
<table width="506" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="506" align="center" class="a1"><span class="style6"><br><br>对不起,没有符合你要找你的内容!</span></td>
</tr>
</table>
<%else%>
<body bgcolor="#0F409F" text="#000000" style="scrollbar-arrow-color:#8FBFEF;scrollbar-base-color:0F3F9F; SCROLLBAR-TRACK-COLOR: #4F87CF;SCROLLBAR-3DLIGHT-COLOR: #8FBFEF; SCROLLBAR-DARKSHADOW-COLOR: #8FBFEF; SCROLLBAR-HIGHLIGHT-COLOR: #0F3F9F">
<table width="760" height="341" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="64" align="center" valign="top"><!--#include file="top.asp"--></td>
</tr>
<tr>
<td height="187" align="center" valign="top" background="images/ww3.jpg">
<table width="760" height="115" border="0" cellpadding="5" cellspacing="0" style="border-collapse:collapse ">
<tr align="center">
<td height="30" colspan="4"><span class="style10">共找到条<%=rs.recordcount%>信息</span>
<hr size="1"></td>
</tr>
<tr align="center">
<td width="150" height="30" align="left"><span class="style9"> 公司名称</span></td>
<td width="143" height="30" align="left"><span class="style9">招聘类型</span></td>
<td width="185" height="30" align="left"><span class="style9">公司地址</span></td>
<td width="122" height="30" align="left"><span class="style9"> 发布时间</span></td>
</tr>
<%Do While Not rs.Eof%>
<tr align="center" class="style6">
<td height="28" align="left" class="a1"> <a href="incom_count.asp?user=<%=rs("user")%>"><%=rs("name")%></a> <span class="style6"><%=rs("hits")%></span></td>
<td height="28" align="left"><span class="style6"><%=rs("want")%></span></td>
<td height="28" align="left"><span class="style6"><%=rs("addr")%></span></td>
<td height="28"><span class="style6"><%=rs("com_date")%></span></td>
</tr>
<%rs.movenext
loop%>
</table>
</td>
</tr>
<tr>
<td height="90" align="center" valign="middle" bgcolor="#0F409F"><!--#include file="dibu.asp"--></td>
</tr>
</table>
<%end if%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -