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

📄 toparticle.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="网佳资讯,http://www.e169.net">
<LINK href="style.css" rel=stylesheet>
<title><%=classname%>|<%=hosturl%></title>
</head>

<body topmargin="0" leftmargin="0">
<div align="center">                                              
  <center>                                              
  <table border="0" width=95% align=center cellspacing="0" cellpadding="1" bgcolor="#FFFFFF">     
    <tr>     
      <td valign="top" width="33%">      
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 align=center>   
  <TBODY>   
  <TR>   
    <TD bgColor="<%=Tablebackcolor%>">   
      <TABLE cellSpacing=1 cellPadding=4 width="100%" border=0>   
        <TR>   
          <TD bgColor="<%=Tabletitlecolor%>"><img border="0" src="http://www.goldseeds.net/images/Ico.gif">最新更新文章-&gt;<a href="http://www.goldseeds.net/article/" target="_blank">网佳文章专区</a>   
	</TD></TR>   
        <TR>   
          <TD bgColor="<%=Tablebodycolor%>">   
<font style=line-height:150%>    
<%  set rs = server.createobject("adodb.recordset")
  
	sql="SELECT top 9 * FROM article where year(dateandtime)=year(date()) and month(dateandtime)=month(date()) and day(dateandtime)>=day(date()-6) order by articleid desc"    
	rs.open sql,conn,1,1    
	if rs.bof and rs.eof then    
		response.write "本周无更新文章"    
	else    
	do while not rs.eof      
%>        
<a href="list.asp?id=<%=rs("articleid")%>" title="<%=rs("title")%>" target="_blank"><%if len(rs("title"))>20 then%><%=left(rs("title"),20)%>...<%else%><%=rs("title")%><%end if%></a>(<%if rs("dateandtime")=date() then%><font color=red><%=month(rs("dateandtime"))%>月<%=day(rs("dateandtime"))%>日</font><%else%><font color='#999999'><%=month(rs("dateandtime"))%>月<%=day(rs("dateandtime"))%>日</font><%end if%>)[<font color=red><%=rs("hits")%></font>]<br>       
<%   
	rs.movenext        
	loop   
	end if     
	rs.close      
%>       
</font>    
	</TD></TR>   
      </table>   
    </td>   
  </tr>   
  </tbody>   
</table>   
      </td>    
    </tr>                               
  </table>                               
</div>   
  
</body>                                
</html>                              

⌨️ 快捷键说明

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