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

📄 news.asp

📁 是一个电子商务网站的功能介绍
💻 ASP
字号:
<!--#include file="conn.asp"-->
 
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>考试信息</title>
<link rel="stylesheet" type="text/css" href="css.css">
<base target="_self">
</head>

<body>

<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="100%" height="30" style="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top-style: solid; border-top-width: 0; border-bottom: 1px solid #000000">
    <img border="0" src="images/ksxx.gif"></td>
  </tr>
 
  <tr>
    <td width="100%" height="30">
    <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#799AE1" width="100%" bgcolor="#FFFFFF" cellpadding="0">
     <tr>
        <td width="108">
        </td>
        <td width="516">  <table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="100%" height="28" bgcolor="#FFFFFF">
          <%
 

sql1="select top 10  * from exam_news order by fabsj desc"
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,3,2
do while not rs1.eof


%>  <tr>
            <td width="100%" height="28"><img border="0" src="images/bluebullet.gif">
    <a href="viewnews.asp?newsid=<%=rs1("newsid")%>"><%=cuter(rs1("title"),30)%></a> [<%=formatdatetime(rs1("fabsj"),1)%>]
    <%
    if (date()-rs1("fabsj"))<10 then
    %> <img border="0" src="images/new.gif"> <%
    end if
    %>  </td>
          </tr><%

rs1.movenext
loop %>
        </table></td>
      </tr>
    </table>
    </td>
  </tr>
  
  <tr>
    <td width="100%"> </td>
  </tr>
</table>

</body>

</html>

⌨️ 快捷键说明

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