📄 time.asp
字号:
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="SELECT dbo.tb_Employee.name FROM dbo.tb_Employee INNER JOIN dbo.tb_User ON dbo.tb_Employee.id = dbo.tb_User.name where dbo.tb_User.username='"&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;
}
.STYLE6 {color: #000000}
.STYLE7 {color: #FF6600}
-->
</style>
<table width="599" border="0" cellspacing="0">
<tr>
<td width="1%" align="left"> </td>
<td width="76%" align="left"><span class="style5"><span class="STYLE6">您好,<%=rs("name")%> 今天的日期是:<%=date()%></span></span></td>
<td width="23%" align="right"><div align="center"><a href="quite.asp"><span class="style5"><span class="STYLE7">注销登录</span></span></a></div></td>
</tr>
</table>
<%
else
response.Redirect("login.asp")
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -