?? news.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html><head><title><%=webname%>--新聞查看</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onmouseover="window.status='〖<%=webname%>〗<%=weburl%>如果您喜歡本站,別忘了把本站介紹給您的好友哦!';return true">
<!--#include file="bjxhead.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD class=b width=7 background=image/b-l.gif> </TD>
<TD class=b vAlign=top align=left width=764><%if IsNumeric(request.QueryString("id"))=False then
response.write("<script>alert(""非法訪問!"");location.href=""index.asp"";</script>")
response.end
end if
dim id
id=request.QueryString("id")
if not isinteger(id) then
response.write"<script>alert(""非法訪問!"");location.href=""index.asp"";</script>"
end if%>
<%dim newsid
newsid=request.QueryString("id")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from BJX_news where newsid="&newsid,conn,1,3
rs("viewcount")=rs("viewcount")+1
rs.update
%>
<table width="760" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
<tr>
<td valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" height="30"><font color=#ff0000><b><%=trim(rs("newsname"))%></b></font></td>
</tr>
<tr bgcolor="#ffffff">
<td height="100" valign="top">
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0">
<tr>
<td colspan="2"><%=trim(rs("newscontent"))%></td>
</tr>
<tr>
<td class=table-shang width="80%" >發(fā)布人:<%=trim(rs("addname"))%><br>
發(fā)布時(shí)間:<%=year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日"%><br>
此新聞已被瀏覽 <font color=red><%=rs("viewcount")%></font> 次</td>
<td class=table-shang width="20%" valign="bottom"> <div align="center"><a href='javascript:window.close()'>點(diǎn)擊關(guān)閉窗口</a></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%rs.close
set rs=nothing%></TD>
<TD class=b width=7 background=image/b-r.gif><IMG height=1
src="image/tm.gif" width=1></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="service.asp"-->
<!--#include file="bjxfoot.asp"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -