guanggaoviews.asp

来自「大型人才程序网站程序」· ASP 代码 · 共 143 行

ASP
143
字号
<% Response.Buffer=false %>
<!--#include file="../inc/dbconn1.inc"-->
<%uid=request("uid")%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>
<title>乐清人才网</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<STYLE type=text/css>TABLE {
	FONT-SIZE: 9pt; LINE-HEIGHT: 12pt
}
.bord {
	BACKGROUND: #ffffff; BORDER-BOTTOM: rgb(238,238,238) 1px solid; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-RIGHT: rgb(238,238,238) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; FONT-WEIGHT: normal
}
.sbtxt       { color: #000000; font-family: 宋体; font-size: 12px; text-decoration: none }
.sblue       { color: #0000cc; font-family: 宋体; font-size: 12px; text-decoration: none }
.sorenge     { color: #ff6600; font-family: 宋体; font-size: 12px; text-decoration: none }
a:hover      { color: #0000ff; font-family: 宋体; font-size: 12px; text-decoration: none }
.swtxt       { color: #ffffff; font-family: 宋体; font-size: 12px; text-decoration: none }
.shtxt       { color: #666666; font-family: 宋体; font-size: 12px; text-decoration: none }
.bftxt       { color: #FFFFFF; font-family: 宋体; font-size: 12px; text-decoration: none }
.hstxt       { color: #FF0000; font-family: 宋体; font-size: 12px; text-decoration: none }
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function checks()
{
   if (isNaN(go2to.page.value))
		alert("请正确填写转到页数!");
   else if (go2to.page.value=="")
	     {
		alert("请输入转到页数!");
		 }
   else
		go2to.submit();
}
//-->
</SCRIPT>
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<body bgcolor="#DFDFDF"  topmargin="0">
<!--#include virtual="../inc/top.htm"--> 
<table align=center bgcolor=#ffffff border=0 cellpadding=0 cellspacing=0 
width=760>
  <tr> 
    <td valign=top width=168> 
      <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="2">
              <tr valign="bottom"> 
                <td height=22 ><font color="#666600" size="2">网站讯息</font></td>
              </tr>
              <tr> 
                <td height="2"></td>
              </tr>
              <% set rs=server.createobject("adodb.recordset")
		 sq2="select * from guanggao order by ksrq desc"
		 rs.open sq2,conn,1,1
         sss=rs.recordcount
         c=0%> <% do while not rs.eof %> 
              <tr valign="bottom"> 
                <td height="15"><a <%if date()-rs("ksrq")>3 then%>class="sbtxt"<%else%>class="hstxt"<%end if%> href="../guanggao/guanggaoviews.asp?uid=<%=rs("id")%>" ><u><%=rs("ggbt")%></u></a></td>
              </tr>
              <tr valign="bottom"> 
                <td height="2"></td>
              </tr>
              <% c=c+1
     rs.movenext
     if c>=10 then exit do
     loop
     rs.close
     set rs=nothing %> 
              <tr> 
                <td height="30"> </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
    <td bgcolor=#d5c88a width=2></td>
    <td valign=top colspan="3">
      <table border=0 cellpadding=0 cellspacing=0 width=95% align="center">
        <tr valign="bottom"> 
          <td height=10 colspan="3"></td>
        </tr>
        <tbody> 
        <tr> 
          <td height=85 colspan="3" valign="top"> 
            <table border="0" cellpadding="2" cellspacing="0" width="100%" height="0" bordercolor="#316594" bordercolordark="#FFFFFF">
              <tr> 
                <td valign="center" align="center" height="10" ></td>
              </tr>
              <% set rs=server.createobject("adodb.recordset")
                              sq3="select * from guanggao where id="&uid&""
                              rs.open sq3,conn,1,1%> 
              <tr> 
                <td valign="center" ><font size="3" ><b><%=rs("ggbt")%></b></font></td>
              </tr>
              <tr> 
                <td valign="center" height="25"><font size="2">发布日期:<%=rs("ksrq")%></font></td>
              </tr>
              <tr> 
                <td valign="center" ><font size="2"><%=rs("text")%></font></td>
              </tr>
              <tr> 
                <td valign="center" height="20" ></td>
              </tr>
              <tr> 
                <td valign="center" align="left" ><font size="2">链接:<a href=<%=rs("lianjie")%> class="sbtxt" target="_blank" ><u><%=rs("lianjie")%></u></a></font></td>
              </tr>
              <tr> 
                <td height="25" valign="center" align="right" ><a href="guanggao.asp" class="sbtxt"><u>更多网站讯息</u></a><font size="2">>>></font> </td>
              </tr>
              <tr> 
                <td height="15" valign="center" align="right" ></td>
              </tr>
              <% rs.close
                            set rs=nothing %> 
            </table>
          </td>
        </tr>
        </tbody> 
      </table>
    </td>
  </tr>
</table>




<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td><!--#include virtual="../inc/down.htm"--></td>
  </tr>
</table>

⌨️ 快捷键说明

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