?? main_diary.asp
字號:
<%sub main_diary()
dim totaldiary,Currentpage,totalpages,i
sql="select top "&maindiary&" * from diary order by diary_date DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
%>
<%=ubb2html(cutstr(formatStr(autourl(rs("diary_content"))),700,true,url), true, true)%>
<%
else
If rs.EOF And rs.BOF Then%>
<div align="center">目前還沒有公告!</div>
<%end if
end if%>
<%
rs.close
set rs=nothing
end sub%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -