📄 install.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系统初始!</title>
<link rel="stylesheet" href="admin/admin.css" type="text/css">
</head>
<body topmargin="1" leftmargin="1">
<%
if request("type")="save" then
if request("user")="" then
response.write"<script>alert('错误:帐号不能为空!');history.go(-1)</script>"
response.end
end if
MDBpath="admin/"%>
<!--#include file="admin/mdb_path_user.asp"-->
<%
pwd1=request("pwd")
conn.execute("update UserInfo set user='"&request("user")&"' where dj=4")
conn.close
set conn=nothing
response.write"<script>alert('设置成功:\n成功设置初始最高管理员,\n请立即删除此文件"/install.asp",\n点击确定进入登陆页!');location.href='admin/login.asp'</script>"
response.end
end if
%>
<form action="install.asp?type=save" method="post">
<div align="center">
<br>
<table class="tableBorder" border="0" cellspacing="1" bordercolor="#111111" width="376" height="78">
<tr>
<th width="370" height="14">
<font color="#FFFFFF"><b>设置最高管理帐号</b></font></th>
</tr>
<tr>
<td width="370" bgcolor="#FFFFFF" height="28">
<p align="center"> 帐号:<input name="user" size="15" style="border-style: solid; border-width: 1">
<input name="b1" type="submit" value="确认">
</td>
</tr>
<tr>
<th width="370" height="27">
<p align="center"> <font color="#000000">设置后请立即删除此文件!!! </font>
</p>
</th>
</tr>
</table>
</center>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -