?? news.asp
字號:
<!--#include file="top.asp"-->
<!--#include file="UBB.asp"-->
<%
dim xiangxi:xiangxi=trim(request.querystring("xiangxi"))
if not(isnumeric(xiangxi)) then
response.Redirect"index.asp"
end if
set rs=server.createobject("adodb.recordset")
sql="select * from news where id="&xiangxi
'sql="select * from wenxue where sh='1' and id="&xiangxi 防止未通過審核而輸入文章ID的值進行瀏覽
rs.open sql,conn,1
%>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" background="images/topb.gif">
<tr>
<td>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td align=middle height=40>
<div align="center"><font class=red_3
size=3><b>
<% =rs("bt") %>
</b></font></div>
</td>
</tr>
<tr>
<td class=gray
align=middle>
<div align="center">
<select
onChange="if(this.options[this.selectedIndex].value!=''){do_color('font_word',this.options[this.selectedIndex].value);}"
size=1 name=do_color_frm>
<option value=""
selected>顏色</option>
<option style="COLOR: #000000"
value=#000000>默認</option>
<option style="COLOR: #808080"
value=#808080>灰度</option>
<option style="COLOR: #808000"
value=#808000>橄欖色</option>
<option style="COLOR: #008000"
value=#008000>綠色</option>
<option style="COLOR: #0000ff"
value=#0000FF>藍色</option>
<option style="COLOR: #800000"
value=#800000>褐色</option>
<option style="COLOR: #ff0000"
value=#FF0000>紅色</option>
</select>
<script language=JavaScript>
<!--
function do_color(vobject,vvar)
{ document.getElementById(vobject).style.color=vvar; }
function do_zooms(vobject,vvar)
{ document.getElementById(vobject).style.fontsize=vvar+'px'; }
-->
</script>
本文已被瀏覽
<% =rs("lls") %>
次</div>
</td>
</tr>
<tr>
<td height=10></td>
</tr>
<tr>
<td valign=top>
<table width="98%" border=0 align="center" cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td width=22
background="images/news_line.gif"
height=1></td>
<td bgcolor=#666666></td>
<td width=1 bgcolor=#666666 rowspan=5></td>
</tr>
<tr>
<td width=22
background="images/news_b.gif"
height=5></td>
<td></td>
</tr>
<tr>
<td
background="images/news_bg.gif"></td>
<td align=middle>
<table class=tf width="98%" align=center border=0>
<tbody>
<tr>
<td class=bw width="100%"> <font class=htd
id=font_word
style="FONT-SIZE: 14px; FONT-FAMILY: 宋體, Verdana, Arial, Helvetica, sans-serif">
<% Response.Write(ubbcode(rs("nr"))) %>
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width=22
background="images/news_b.gif"
height=5></td>
<td></td>
</tr>
<tr>
<td background="images/news_line.gif"
height=1></td>
<td bgcolor=#666666 height=1></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height=10></td>
</tr>
<tr>
<td>
<table width="100%" border=0>
<tbody>
<tr>
<td class=htd> 發布于:
<% =rs("riqi") %>
<div align="right"></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<!-- #include file="let.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -