<%
if session("id")="" or session("ac")="" or session("user")="" then
%>
|
|
<%
else
%>
<%
end if
%>
 |
|
|
|
|
 |
<%
sql="select top "&index1&" id,title from article where class=2 order by id desc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "暂无文章!"
rs.close
else
for i1=1 to 4
title=rs("title")
if len(title)>13 then title=left(title,11)&"..."
%>
|
 |
" target="_blank" href="show_article.asp?id=<%=rs("id")%>">
<%=title%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>
|
|
 |
<%
sql="select top "&index1&" id,title from article where class=3 order by id desc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "暂无文章!"
rs.close
else
for i1=1 to 4
title=rs("title")
if len(title)>13 then title=left(title,11)&"..."
%>
|
 |
" target="_blank" href="show_article.asp?id=<%=rs("id")%>">
<%=title%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>
|
|
 |
<%
sql="select top "&index1&" id,title from article where class=4 order by id desc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "暂无文章!"
rs.close
else
for i1=1 to 4
title=rs("title")
if len(title)>13 then title=left(title,11)&"..."
%>
|
 |
" target="_blank" href="show_article.asp?id=<%=rs("id")%>">
<%=title%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>
|
|
 |
<%
sql="select top "&index1&" id,title from article where class=4 order by id desc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "暂无文章!"
rs.close
else
for i1=1 to 4
title=rs("title")
if len(title)>13 then title=left(title,11)&"..."
%>
|
 |
" target="_blank" href="show_article.asp?id=<%=rs("id")%>">
<%=title%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>
|
|
 |
|
|
|
|
|
 |
|
%>.gif) |
<%
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
%>
|
暂无新闻! |
<%
rs.close
else
for i1=1 to 8
title=rs("title")
if len(title)>18 then title=left(title,16)&"..."
%>
|
 |
" target="_blank" href="show_article.asp?id=<%=rs("id")%>">
<%=title%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
end if
%>
|
|
|
 |
<%
sql="select notice,chtime from notice where id=1"
rs.open sql,conn,1,1
%>
|
|
|
<%=rs("chtime")%> |
<%rs.close%>
|
|
|
|
<%
if s_logo=true then
sql="select pic,url from logo where show=1"
rs.open sql,conn,1,1
if rs.recordcount<>0 then
response.write ""
response.write ""
for i=1 to rs.recordcount
if ((i mod 4)=0 and rs.eof) then exit for
if trim(rs("url"))="" then
response.write "&") | "
else
response.write "&") | "
end if
if ((i mod 3)=0 and not(rs.eof)) then response.write " "
rs.movenext
if rs.eof then exit for
next
if (i mod 3)<>0 then
for ii=1 to (3-(i mod 3))
response.write " | "
next
end if
response.write " "
response.write " "
end if
rs.close
end if
%> |
 |
<%
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=0 order by en_user.vip desc,job.id desc"
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "暂时没有推荐职业!"
else
%>
|
公 司 |
招聘职位 |
城 市 |
日 期 |
<%
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
%>
|
">
<%=rs2("name")%><%if rs("vip")=true then response.write "(已认证)"%> |
">
<%=rs("jtzw")%> |
<%=rs("hka")%>·<%=rs("city")%> |
<%
a=instr(rs("addtime"),chr(32))-1
response.write Mid(rs("addtime"),1,a)
%>
|
<%
rs.movenext
if rs.eof then exit for
rs2.close
next
rs.close
%>
<%
end if
%>
|
|
|
 |
<%
sql="select top "&index4&" id,name,job1,hkb,edu,sex,rdate,zhuanyen1 from stu_user where lock=0 and name<>'' and job<>'' order by id desc"
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "暂时没有注册用户!"
else
%>
|
姓 名 |
性 别 |
学 历 |
专业 |
现住地区 |
日 期 |
<%
for ii=1 to index4
%>
|
"><%=rs("name")%> |
[<%=rs("sex")%>] |
[<%=rs("edu")%>] |
<%=rs("zhuanyen1")%> |
<%=rs("hkb")%> |
<%
a=instr(rs("rdate"),chr(32))-1
response.write Mid(rs("rdate"),1,a)
%> |
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
<%
end if
%>
|
|
| <%if s_ad_m=true then response.write ad_m%> |
|