⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 源码:asp编写的大学生毕业就业招聘信息管理系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>			
											
											</table>
										</div>
										</td>
									</tr>
									<tr>
										<td width="52" height="39">本站logo</td>
										<td width="141" height="39">
										<p align="left">
										<img border="0" src="<%=logo%>"></td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
					</div>
					</td>
					<td valign="top">
					<div align="left">
						<table border="0" width="544" cellspacing="0" cellpadding="0" id="table7" height="466">
							<tr>
								<td height="40" width="377" style="border-left: 1px solid #DBD3BD; border-right: 1px solid #DBD3BD; border-top: 1px solid #DBD3BD; border-bottom-width: 1px">
								<map name="FPMap0">
								<area href="article1.asp" shape="rect" coords="287, 11, 366, 28">
								</map>
								<img border="0" src="images/news.gif" usemap="#FPMap0"></td>
								<td height="40" width="7"> </td>
								<td height="40" width="160" valign="bottom">
								<img border="0" src="images/notice.gif" width="160" height="40"></td>
							</tr>
							<tr>
								<td width="377" height="197" style="border-left: 1px solid #DBD3BD; border-right: 1px solid #DBD3BD; border-top-width: 1px; border-bottom: 1px solid #DBD3BD" align="center">
								<table border="0" width="98%" cellspacing="0" cellpadding="0" id="table8" height="183">
									<tr>
										<td width="125" height="183">
										<img src="images/news/<%=weekday(date)%>.gif" style="padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
										<td valign="top">
										<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table9" height="23">
<%
sql="select top 8 id,title,addtime from article where class=1 order by id desc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
%>
											<tr>
												<td align="center" colspan="2">暂无新闻!
												 </td>
											</tr>
<%
rs.close
else
for i1=1 to 8
title=rs("title")
if len(title)>18 then title=left(title,16)&"..."
%>
											<tr>
												<td width="9%" align="center" height="23">
												<p align="center">
												<img border="0" src="images/new2.gif"></td>
												<td height="23" width="91%"><a  target="_blank" href="show_article.asp?id=<%=rs("id")%>">
								<%=title%></a></td>
											</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>			

										</table>
										</td>
									</tr>
								</table>
								</td>
								<td width="7" height="197"> </td>
								<td width="158" height="197" style="border: 1px solid #FFCC33; " valign="top" background="notice1.gif">
								<div align="center">
									<table border="0" width="91%" cellspacing="0" cellpadding="0" id="table10" height="191">
										<%
										sql="select notice,chtime from notice where id=1"
										rs.open sql,conn,1,1
										%>
										<tr>
											<td height="171">
											<p align="right">
								<marquee ONMOUSEOVER="this.stop()" ONMOUSEOUT="this.start()" width="140" height="163" direction="up" scrolldelay="60" scrollamount="1"><% =ubbcode(unHtml(rs("notice"))) %></marquee></td>
										</tr>
										<tr>
											<td>
											<p align="center"><b>
											<font color="#FF9900"><%=rs("chtime")%></font></b></td>
										</tr>
										<%rs.close%>
									</table>
								</div>
								</td>
							</tr>
							<tr>
								<td width="544" colspan="3" height="8"></td>
							</tr>
							<tr>
								<td width="544" colspan="3" height="40" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0">
								<map name="FPMap2">
								<area href="grqz1.asp" shape="rect" coords="423, 7, 508, 27">
								</map>
								<img border="0" src="images/job1.gif" width="544" height="40" usemap="#FPMap2"></td>
							</tr>
							<tr>
								<td width="544" colspan="3" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" valign="top">
<%
sql="select top "&index3&" job.id,job.enid,job.jtzw,job.hka,job.city,job.addtime,en_user.vip from job,en_user where job.enid=en_user.id and en_user.lock=false order by en_user.vip asc,job.id desc"
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "暂时没有推荐职业!" 
else
%>
								<table border="0" width="544" cellspacing="0" cellpadding="0" id="table12" height="49">
									<tr>
										<td height="25" bgcolor="#FEEBD5" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="205" align="center">
										<p>
										<b>公&nbsp; 司</b></td>
										<td height="25" bgcolor="#FEEBD5" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="146" align="center">
										<p>
										<b>招聘职位</b></td>
										<td height="25" bgcolor="#FEEBD5" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="101" align="center">
										<b>城&nbsp; 市</b></td>
										<td height="25" bgcolor="#FEEBD5" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="92" align="center">
										<b>日&nbsp; 期</b></td>
									</tr>
<%
set rs2=server.createobject("adodb.recordset")
for ii=1 to index3
sql2="select id,name from en_user where id="&rs("enid")
rs2.open sql2,conn,1,1
%>	
								<tr>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="205" height="25" align="center" background="images/bg1.gif"><a  target =_blank href="company.asp?id=<%=rs2("id")%>">
															<%=rs2("name")%></a><%if rs("vip")=true then response.write "<font color='#FF0000'>(VIP)</font>"%></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="146" height="25" align="center" background="images/bg1.gif"><a target =_blank  href="job.asp?id=<%=rs("id")%>">
															<%=rs("jtzw")%></a></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="101" height="25" align="center" background="images/bg1.gif">
										<p align="center"><%=rs("hka")%>·<%=rs("city")%></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="92" height="25" align="center" background="images/bg1.gif">
										<%
								a=instr(rs("addtime"),chr(32))-1
								response.write Mid(rs("addtime"),1,a)
								%>
								</td>
									</tr>
<%
rs.movenext
if rs.eof then exit for
rs2.close
next
rs.close
%>
								</table>
<%
end if
%>
</td>
							</tr>
							<tr>
								<td width="544" colspan="3" height="8"></td>
							</tr>
							<tr>
								<td width="544" colspan="3" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0" height="40">
								<map name="FPMap3">
								<area href="qyzp.asp" shape="rect" coords="427, 7, 508, 27">
								</map>
								<img border="0" src="images/person.gif" width="544" height="40" usemap="#FPMap3"></td>
							</tr>
							<tr>
								<td width="544" colspan="3" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="65" valign="top"><%
sql="select top "&index4&" id,name,job1,hkb,edu,sex,rdate,zhuanyen1 from in_user where lock=false and name<>'' and job<>'' order by id desc"
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "暂时没有注册用户!" 
else
%>
								<table border="0" width="544" cellspacing="0" cellpadding="0" id="table12" height="49">
									<tr>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="75" align="center">
										<p>
										<b>姓&nbsp; 名</b></td>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="54" align="center">
										<p>
										<b>性 别</b></td>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="62" align="center">
										<b>学 历</b></td>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="159" align="center">
										<b>专业</b></td>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="101" align="center">
										<b>居住地</b></td>
										<td height="25" bgcolor="#DAE3DA" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="93" align="center">
										<b>日&nbsp; 期</b></td>
									</tr>
<%
for ii=1 to index4
%>	
								<tr>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="75" height="25" align="center" background="images/bg1.gif"><a  target =_blank href="person.asp?id=<%=rs("id")%>"><%=rs("name")%></a></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="54" height="25" align="center" background="images/bg1.gif">
										[<%=rs("sex")%>]</td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="62" height="25" align="center" background="images/bg1.gif">
										[<%=rs("edu")%>]</td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="159" height="25" align="center" background="images/bg1.gif"><%=rs("zhuanyen1")%></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="101" height="25" align="center" background="images/bg1.gif"><%=rs("hkb")%></td>
										<td style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; " width="93" height="25" align="center" background="images/bg1.gif"><%
								a=instr(rs("rdate"),chr(32))-1
								response.write Mid(rs("rdate"),1,a)
								%></td>
									</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
								</table>
<%
end if
%>
</td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</div>
<%
set rs2=nothing
set rs=nothing
set conn=nothing
%>

<!--#include file="base.asp"-->
</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -