📄 about.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%Const dbdns=""%>
<!--#include file="AppCode/Conn.asp"-->
<!--#include file="AppCode/fun/function.asp"-->
<!--#include file="AppCode/Class/Ok3w_Article.asp"-->
<!--#include file="vbs.asp"-->
<%
ID=myCdbl(Request.QueryString("id"))
Set Article = New Ok3w_Article
Call Article.HitsAdd(ID)
Call Article.Load(ID)
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<base href="<%=GetPageUrlPath()%>" />
<title><%=Article.Title%></title>
<script language="javascript">
var sPath = document.location.protocol + "//" + document.location.host + document.location.pathname;
if(sPath.indexOf("/about/")>=0)
{
var sPath_tmp = sPath.split("/about/");
var BasePath = sPath_tmp[0]+"/";
document.write('<base href="'+BasePath+'" />');
}
</script>
<script language="javascript" src="images/js.js"></script>
<link href="css/css2.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--#include file="top.asp"-->
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40">您当前位置:<a href="">网站首页</a> >> <%=Article.Title%></td>
<form id="form1" name="form1" method="get" action="search.asp">
<td width="344"><span style="font-weight: bold">站内查找:</span>
<input name="keyword" type="text" id="keyword" size="29" />
<input type="submit" name="Submit" value="搜索" />
</td>
</form>
</tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellpadding="8" cellspacing="0" style="border:1px solid #AEE1DC;">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" align="center"><h1><%=Article.Title%></h1>
<div class="hui">来源:<%=Article.ComeFrom%> 发布时间:<%=FormatDateTime(Article.AddTime,2)%> 查看次数:<%Call News_Hits(Article.ID)%></div>
<hr size="1" color="#C3E7E3" /></td>
</tr>
<tr>
<td class="gray14"><%Call OutThisPageContent(Article.ID,Article.Content,"about")%></td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="360" align="right" valign="top"><table width="346" border="0" cellpadding="0" cellspacing="1" bgcolor="#AEE1DC">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/index5_37.gif">
<tr>
<td width="4%"> </td>
<td width="53%" align="left" class="black14b">相关文章</td>
<td width="43%" align="right"><img src="images/index5_39.gif" width="35" height="29" /></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<%
Sql="select ID,ClassID,Title from Ok3w_Article where ChannelID=2 and IsPass=1 order by ID"
Rs.Open Sql,Conn,0,1
Do While Not Rs.Eof
%>
<tr>
<td width="20"><span class="gray">·</span></td>
<td align="left"><a href="about/<%=Rs("id")%>.html" class="gray14"><%=Rs("Title")%></a></td>
</tr>
<%
Rs.MoveNext
Loop
Rs.Close%>
</table>
</td>
</tr>
</table>
<table width="344" border="0" cellpadding="3" cellspacing="1" bgcolor="#AEE1DC" style="margin-top:12px;">
<tr>
<td align="center" bgcolor="#FFFFFF"><%=GetAdSense(5)%></td>
</tr>
</table></td>
</tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<!--#include file="foot.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -