📄 main.asp
字号:
<!--#include file="conn.inc"-->
<%
sql="select top 7 * from document where l_date>=date() and secret='否' order by d_date desc"
rs.open sql,conn,3,2
%>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0">
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<TITLE>New Page 2</TITLE>
<STYLE>
<!--
.border { background-color: #D0D7AF; border-left: 1 solid #ECEFDE;
border-right: 1 solid #808000; border-top: 1 solid #EFF1E4;
border-bottom: 1 solid #808000 }
p, td, input, select { font-size: 9pt }
A:visited {TEXT-DECORATION: none;color:#000000}
A:active {TEXT-DECORATION: none;color:#ff0000}
A:hover {TEXT-DECORATION: underline;color:#ff0000}
A:link {TEXT-DECORATION: none;color:#000000}
.button01 { background-color: #D0D7AF; border: 1 solid #999966 }
-->
</STYLE>
<BASE TARGET="self">
</HEAD>
<BODY BGCOLOR="#EAEDDC">
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="50%">
<P ALIGN="center"><BR>
<IMG BORDER="0" SRC="images/symbol.gif" WIDTH="200" HEIGHT="200"><BR>
<IMG BORDER="0" SRC="images/welcome.gif" WIDTH="320" HEIGHT="80"></TD>
<TD WIDTH="50%" VALIGN="top">
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="100%" HEIGHT="25" STYLE="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top-style: solid; border-top-width: 0; border-bottom: 1 solid #808000">
最新更新的公文</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P STYLE="line-height: 150%; margin: 12">
<%
on error resume next
if rs.eof then rs.movefirst
while not rs.eof
%>
<%
if rs("secret")="否" then
%>
※ <A HREF="/document/uploads/<%=rs("d_path")%>" TARGET="_blank"><%=rs("title")%></A>『<%=rs("d_date")%>』<br>
<%
else
%>
※ <%=rs("title")%>『<%=rs("d_date")%>』<br>
<%
end if
%>
<br>
<%
rs.movenext
wend
%>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -