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

📄 sort1.asp

📁 雨后文章系统V10.04 演示http://dajia.cashome.com/mycode 管理用户密码:admin
💻 ASP
字号:
<% 
dim conn,rs,articleid,sql,strsql,visitnum
articleid=request.QueryString("articleid")
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & server.mappath("db\db.mdb")
set rs=server.CreateObject("ADODB.Recordset")
strsql="select * from article where articleid="&articleid
rs.open strsql,conn
visitnum=rs("visitnum")+1
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>铁吧——Tie8</title>

<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 14px}
.style9 {font-family: "隶书"; font-size: 12px;}
body,td,th {
	font-size: 12px;
	color: #CCCCCC;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
	color: #CC3300;
}
-->
</style>
</head>

<body bgcolor="#003399">
<table width="760" height="80" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#003399">
  <tr>
    <td width="152"><img src="img/logo.gif" width="150" height="80"></td>
   <td width="608" valign="bottom" align="right">
      <table width="100%"border="0" align="left" cellpadding="0" cellspacing="0">
	  <tr>
	   <td align="center" valign="top">
	  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="468" height="60">
     <param name="movie" value="img/banner.swf">
     <param name="quality" value="high">
     <embed src="img/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="468" height="60"></embed>
   </object>
	   </td>
	  </tr>
	  <tr>
      <td>
	     <table>
		     <tr>
			   <td>
			      <A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(location.href)" href='javascript:'>设为首页</A>
                  <A href='javascript:external.AddFavorite(location.href,document.title)'>收藏本站</A> 
	              <A href='mailto:dajiaweb@126.com'>联系站长&nbsp;</A>
				</td>
	   <td valign="bottom" align="left" width="205"><META http-equiv='Content-Type' content='text/html;charset=gb2312'>
<DIV id='a'></DIV>
<SCRIPT>
function changtime(){
alldate=new Date();
str1=alldate.getFullYear()+"年"+(alldate.getMonth()+1)+"月"
str1+=alldate.getDate()+"日 "+alldate.getHours()+":"
str1+=alldate.getMinutes()+":"+alldate.getSeconds()
if(document.readyState=="complete")a.innerText=str1
}
setInterval('changtime()',1000)
</SCRIPT></td>
     </tr>
	 </table>
	 </td>
	 </tr>
	</table>
   </td>
  </tr>
</table>
<hr align="center" width="760" size="1" color="#0066CC">
<div align="center">
  <table width="760" height="20" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#003399">
    <tr>
      <td><p><div align="left"><a href="index.asp">首页</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=1">李铁新闻</a> &nbsp;|&nbsp;
		<a href="sort.asp?classid=2">李铁图集</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=3">辽宁30号</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=4">埃弗顿12号</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=5">China8号</a>&nbsp;|&nbsp;
		<a href="http://sports.tom.com/china/litie.html" target="_blank">TOM李铁</a>&nbsp;|&nbsp;
		<a href="http://index.sports.sohu.com/person/plist-3640.html" target="_blank">SOHU李铁</a>&nbsp;|&nbsp;
		<a href="aboutme.asp">站长介绍</a>&nbsp;|&nbsp;
		<a href="login.asp">管理登陆</a>
		</div></p>
		</td>
    </tr>
  </table>
</div>

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#0066CC">
  <tr>
    <td width="200"align="left" valign="top" scope="row"> 
      <table width="100%" height="100%" border="0">
        <tr><td align="left" valign="top" scope="row"><!--#include file="ip.asp"--></td></tr>
		<tr><td align="center" valign="top" scope="row"><!--#include file="hot.asp"--></td></tr>
		<tr><td align="center" valign="top" scope="row"><!--#include file="tuijian.asp"--></td></tr>
	   </table>
	 </td>
	 <td width="490" align="center" valign="top">
	<table width="100%" align="center" cellpadding="0" cellspacing="0">
      <tr height="30"><td></td></tr><tr bgcolor="#003399" valign="top">
        <td valign="top">
		<font size="2"><%=rs("title") %></font></td></tr><tr height="30"><td>(作者:<%=rs("author")%>&nbsp;发布时间:<%=rs("date")%>&nbsp;阅读次数:<%=visitnum%></td></tr>
		<tr><%
		if rs("classid")=2 then
		%><td align="center">
		<img src="<%=rs("content")%>" align="middle">
		<%else%><td align="left">
		 <font size="1"><%=rs("content")%></font>
		 <%end if%>
		  </td>
		</tr>
    </table>
	</td>
    </tr>
 </table>
 
 <!--#include file="foot.asp"-->
<%
rs.close
dim strvisit
strvisit="update article set visitnum=visitnum+1 where articleid="&articleid
rs.open strvisit,conn
%>
</body>
</html>




⌨️ 快捷键说明

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