📄 showdaily.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ubbcode.asp"-->
<!--#include file="function.asp"-->
<!--#include file="jbsz.asp"-->
<%dy_id=request.QueryString("id")
if dy_id<>"" then
set rs=server.CreateObject("adodb.recordset")
sql="select * from dy_daily where dy_id="&dy_id
rs.open sql,conn,3,3
rs("dy_hit")=rs("dy_hit")+1
rs.update%>
<title><%=dy_title%>日记本</title><body oncontextmenu="return false" onselectstart="return false" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="overflow-x:hidden">
<table width="470" height="350" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="290" height="320" align="right" valign="top">
<table width="257" height="314" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="50"><img src="img/daily_top.gif" width="257" height="40"></td>
</tr>
<tr>
<td height="37" align="center"><font color="#FF6633">日期:</font><%=rs("dy_time")%> <font color="#FF6633">天气:</font><img src="<%=rs("dy_tq")%>"> <font color="#FF6633">心情:</font><img src="<%=rs("dy_xq")%>"></td>
</tr>
<tr>
<td height="165" align="left" valign="top"><font color="#009900"><%=ubb(th2(rs("dy_content")))%></font></td>
</tr>
<tr>
<td height="24" align="left" valign="top">浏览次数:<%=rs("dy_hit")%></td>
</tr>
</table></td>
<td width="179" align="center" valign="bottom"><%randomize%><img src="img/daily<%=int(rnd()*2+1)%>.gif" width="206" height="263"></td>
</tr>
<tr align="center">
<td height="25" colspan="2" valign="top"><img src="img/daily_down.gif" width="400" height="30"></td>
</tr>
</table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -