?? news.asp
字號:
<!--
┌─ o91.com───────────────┐
│ 動感購物商務平臺WWW.SNSN.NET版權所有 │
│ 設計:模糊視線13855119911 QQ:9912515 │
└────────────────────┘
-->
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp" -->
<html>
<head>
<title><%=webname%>--商城動態</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜歡本站,別忘了把本站介紹給您的好友哦!:)';return true">-->
<!--#include file="webtop.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
<td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="168" valign="top">
<!--#include file="left.asp"-->
</td>
<td width="1" bgcolor="C9C9C8"><img src="images/block.gif" width="1" height="1"></td>
<td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/bg1_4color_.jpg"><img src=images/bg1_4color_.jpg" width="1" height="3"></td>
</tr>
</table>
<br>
<%dim newsid
newsid=request.QueryString("id")
set rs=server.CreateObject("adodb.recordset")
if Not isChkInteger(request("id")) then
%>
<script language=javascript>
alert("參數錯誤!");
window.close();
</script>
<%
response.end
end if
rs.open "select * from shop_news where newsid="&newsid,conn,1,3
if rs.recordcount=0 then
%>
<script language='javascript'>alert('新聞調用錯誤,請返回!');window.location.href='index.asp';</script>
<%
end if
rs("viewcount")=rs("viewcount")+1
rs.update
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
<tr>
<td height="25" bgcolor="efefef"><strong> <img src="images/dot_03.gif" width="9" height="9" border="0">
站內新聞 >></strong><b> <%=trim(rs("newsname"))%></b></td>
</tr>
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
</table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="a1">
<td height="30" colspan="2" style="table-layout:fixed;word-break:break-all">
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td> <b><%=trim(rs("newsname"))%></b></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" style="table-layout:fixed;word-break:break-all">
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><%=trim(rs("newscontent"))%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="5" colspan="2" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="33%" valign="bottom" bgcolor="#FFFFFF">
<div align="center"><a href='javascript:window.close()'>點擊關閉窗口</a></div></td>
<td width="67%" bgcolor="#FFFFFF" style="PADDING-LEFT: 20px">發布人:<%=trim(rs("addname"))%><br>
發布時間:<%=year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日"%><br>
此新聞已被瀏覽 <font color=red><%=rs("viewcount")%></font> 次</td>
</tr>
</table>
<br>
<%rs.close
set rs=nothing%>
</td>
</tr>
</table></td>
<td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -