📄 main.asp
字号:
<%
if session("admin_name")="" then
response.Redirect("index.asp")
end if
%>
<!--#include file="../conn/conn.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from admin where id=1"
rs.open sql,conn,1,1
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 {
line-height: 160%;
font-size: 12px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {color: #336699}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="center">
<p class="style2"> </p>
<p class="style2"> </p>
<p class="style2"><strong>您好,<%= session("admin_name") %></strong></p>
<p><font color="336699"><strong>欢迎使用!</strong></font></p>
<p><strong><span class="style1"><%=rs("title")%><span class="style2">-</span></span></strong><font color="#0099FF"><strong><font color="336699">后台管理</font></strong></font></p>
<p><font color="#0033FF" size="2"><strong><br>
</strong></font></p>
<p><font color="#0033FF" size="2"><strong><br>
</strong></font></p>
<p><font color="#0033FF" size="2"><strong> </strong></font></p>
<p> </p>
</div>
</body>
</html>
<%session("title")=rs("title")%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -