📄 time.asp
字号:
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="SELECT admin.admin FROM admin where admin='"&session("admin_name")&"'"
rs.open sql,conn,1,1
if not rs.eof then
%>
<style type="text/css">
<!--
.style5 {color: #FFFFFF; font-size: 12px; font-weight: bold; }
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>
<table width="612" border="0" cellspacing="0">
<tr>
<td width="33%" align="left"> </td>
<td width="44%" align="left"><span class="style5">您好,<%=rs("admin")%> 今天的日期是:<%=date()%></span></td>
<td width="23%" align="right"><div align="center"><a href="quite.asp"><span class="style5">注销登录</span></a></div></td>
</tr>
</table>
<%
else
response.Redirect("login.asp")
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -