morereview.asp

来自「asp的新闻网站」· ASP 代码 · 共 111 行

ASP
111
字号
<%
'*********************************************************************************
'模块名称:IT新闻往期排行榜列表
'开发人:潘树文
'时间:2001年1月17日
'*********************************************************************************

%>
<html>
<!--#include file="../include/checkserver.asp"-->
<!--#include file="../include/odbc.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../style.css">
<title>千夜网-&gt;新闻-&gt;IT新闻</title>
</head>
<%set rs=server.CreateObject ("adodb.recordset")%>
<body topmargin="3" leftmargin="3">
<div align="center"><center>

<%flag="008000"%>
<!--#include file="../include/secondhead.asp"-->
</center></div><div align="center"><center>
<table border="0" width="770" cellspacing="0" cellpadding="0">
  <tr>
    <td width="174" valign="top" bgcolor="#FAFAFA" background="../images/bg-009.gif"><br>
   <!--#include file="include/left.asp"-->
    <p><br>
    </td>
    <td width="436" valign="top"><div align="center"><center><table border="0" width="95%"
    cellspacing="0" cellpadding="0">
      <tr>
        <td width="100%" colspan="2" background="../images/bg-002.gif" height="12">&nbsp; </td>
      </tr>
        <%sql="select * from news2_menu where menuid='"&request("menuid")&"'  "
        rs.Open sql,conn,3,1
        if not rs.EOF then
        
        %>
         <tr>
        <td width="30%" bgcolor="#B500B5" height="19"><p align="center"><span
        style="font-size: 14px"><font color="#FFFFFF"><%=rs("menuname")%></font></span></td>
         <%
         end if
         rs.Close
         
        %>  <td width="70%"
        style="border-right: 1px none rgb(255,128,64); border-top: 1px solid rgb(181,0,181)"
        height="19">&nbsp; </td>
      </tr>
      <tr>
        <td width="100%" colspan="2"><br><ul>
          <%
          if request("mysql")="" then
          sql="SELECT distinct issue  FROM news2_review WHERE menuid ='"&request("menuid")&"' order by issue desc "
          else
          sql=request("mysql")
          end if
        rs.Open sql,conn,3,1
        %><!--#include file="../include/rollpage.asp"--><%
        if not rs.EOF then
        rs.PageSize = 40
	    rs.AbsolutePage = getPageNo(rs)
        for i=1 to rs.PageSize
        If rs.EOF Then Exit For 
        %>
          <li><a class="l7"
            href="lookissue.asp?menuid=<%=request("menuid")%>&issue=<%=rs("issue")%>"
            ><%=rs("issue")%></a><span style="font-size:14px">期信息</span><br>
          </li>
        <%rs.MoveNext
         if right(trim(cstr(i)),1)="0"  then '隔十行空一行*******************************************
				 Response.Write "<br>"
			 end if 
        If rs.EOF Then Exit For 
         next
         end if
        
         
        %>  
        
        </td>
      </tr>
      
      <tr>
        <td width="100%" height="19" align=right colspan="2"><%call listPage(rs)%></td>
      </tr> <% rs.Close%>
    </table>
    </center></div></td>
    <td width="160" valign="top" bgcolor="#FAFAFA"><br><!--#include file="include/right.asp"-->
    <p><br>
    </td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="0" width="770" height="6" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10"><img src="../images/pic-140.gif" alt="pic-140.gif (176 字节)" width="10" height="10"></td>
    <td width="760" bgcolor="#0280D9"></td>
  </tr>
</table>
</center></div>

<hr width="90%" size="1" color="#B500B5">

<div align="center"><center><!--#include file="../include/bottom.txt"-->
</center></div>
</body>
</html>

⌨️ 快捷键说明

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