gusucode.com > ASP+ACCESS在线人才招聘网(源代码+论文) > ASP+ACCESS在线人才招聘网(源代码+论文)\source_\news.asp

    <!--#include file="inc/conn.asp"-->
<%Set Rs=Server.CreateObject("Adodb.RecordSet")%>
<HTML><HEAD><TITLE>在线人才网站</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="inc/cssset.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000 leftmargin="0" topmargin="0">
<center><!--#include file="inc/head.asp"-->
  <TABLE height=503 cellSpacing=0 cellPadding=0 width="770" border=0>
    <TBODY> 
    <TR> 
      <TD vAlign=top width="22%"> 
        <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" 
      background=images/11.gif border=0>
          <tbody> 
          <tr bgcolor=#ffffff background="images/11.gif"> 
            <td colspan=2 height=21><img height=16 src="images/hotnews.gif" 
            width=169></td>
          </tr>
          <tr> 
            <td valign=bottom align=right width=160 background=images/11.gif 
          height=5></td>
            <td height=5></td>
          </tr>
          <tr> 
            <td valign=top align=center width=160 background=images/11.gif 
          height=120> 
              <%sql="select top 15 id,title from news order by id desc"
				  Set Rs=Server.CreateObject("Adodb.RecordSet")
				  Rs.Open sql,conn,1,1%>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <%while not rs.eof%>
                <tr> 
                  <td height="19"><img src="images/point2.gif" width="24" height="15"><a href="news_detail.asp?news_id=<%=Rs("id")%>"><%=left(Rs("title"),12)%></a></td>
                </tr>
                <%Rs.MoveNext
				    Wend
					Rs.Close%>
              </table>
            </td>
            <td height=120></td>
          </tr>
          </tbody> 
        </table>
        <TABLE class=a10px height=114 cellSpacing=2 cellPadding=0 width="88%" 
      background=images/11.gif border=0>
          <TBODY> 
          <TR bgColor=#ffffff background="images/11.gif"> 
            <TD colSpan=2 height=21><IMG height=16 src="images/10.gif" 
            width=169></TD>
          </TR>
          <TR> 
            <TD vAlign=bottom align=right width=160 background=images/11.gif 
          height=5></TD>
            <TD height=5></TD>
          </TR>
          <TR> 
            <TD vAlign=top align=right width=160 background=images/11.gif 
          height=148> 
              <SELECT 
            onchange=window.open(this.options[this.selectedIndex].value); size=6 
            name=select2>
                <OPTION value=http://www.newjobs.com.cn/ 
              selected>中国国家人才网</OPTION>
                <OPTION 
              value=http://www.bjrc.com.cn/>北京人才网</OPTION>
                <OPTION 
              value=http://www.91student.com>中国就业网</OPTION>
                <OPTION 
              value=http://www.tjrc.com.cn/>中国北方人才市场</OPTION>
                <OPTION 
              value=http://www.hr.net.cn/>中国上海人才市场</OPTION>
                <OPTION 
              value=http://www.aphr.org/>亚太人力资源网</OPTION>
                <OPTION 
              value=http://www.54stu.com/2002/login.php>中国学生社区</OPTION>
                <OPTION 
              value=http://www.china-training.com/>中华培训网</OPTION>
                <OPTION 
              value=http://www.fescochina.com/>外企在线</OPTION>
                <OPTION 
              value=http://www.gzscse.gov.cn/>广州留学人员信息网</OPTION>
                <OPTION 
              value=http://www.syrc.com.cn/>沈阳人才网</OPTION>
                <OPTION 
              value=http://www.chinahrd.net/>中国人力资源开发网</OPTION>
                <OPTION 
              value=http://www.cccen.com/>中国谦龙网</OPTION>
                <OPTION 
              value=http://www.gzpi.gov.cn/>中国广州人事信息网</OPTION>
                <OPTION 
              value=http://www.rc114.com/>中国成都人才市场</OPTION>
                <OPTION 
              value=http://www.strc.com.cn/>汕头人才网</OPTION>
                <OPTION 
              value=http://www.wzjob.gov.cn/>温州人才网</OPTION>
                <OPTION 
              value=http://www.job168.com/service/navigation.asp>更多链接……</OPTION>
              </SELECT>
            </TD>
            <TD height=148></TD>
          </TR>
          </TBODY> 
        </TABLE>
      </TD>
        <TD align="center" vAlign=top> <br>
        <br>
        <table width="80%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              <table width="97%" border="0" cellspacing="0" cellpadding="0">
                <%sql="select top 20 * from news order by id desc"
			  Rs.Open sql,conn,1,1
			  while not rs.eof%>
                <tr> 
                  <td height="19" width="82%"  class=newform> <img src="images/point2.gif" width="24" height="15"> 
                    <a href="news_detail.asp?news_id=<%=Rs("id")%>" target=_blank><%=left(Rs("title"),30)%></a> 
                    <%if day(now())=day(Rs("up_time")) then%>
                    <img src="images/new.gif"> 
                    <%end if%>
                  </td>
                  <td width="18%"  class=newform><%=year(Rs("up_time"))&"-"&month(Rs("up_time"))&"-"&day(Rs("up_time"))%></td>
                </tr>
                <%Rs.MoveNext
			  Wend
			  Rs.Close%>
              </table>
            </td>
          </tr>
        </table>
        </TD>
    </TR>
  </TABLE>
<!--#include file="inc/bottom.asp"--></center></BODY></HTML>