📄 change.asp
字号:
<!--#include file="security.asp"-->
<!--#include file="articleconn.asp"-->
<%if session("flag")>1 then
response.write "<br><p align=center>您的操作权限不够!</p>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="css/css.css">
<title></title>
</head>
<style type=text/css>
body { background:#799AE1; margin:0px; font:9pt 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<body bgcolor="#D6EF7E">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" bgcolor="#F7F7F7" height="20">
<p align="center"><b><font size="2">网站信息管理页</font></b></td>
</tr>
</table>
<%
dim rs,sql,sel
set rs=server.createobject("adodb.recordset")
sql="select * from password where id=1"
rs.open sql,conn,1,1
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" colspan="2" bgcolor="#FFFFFF"><font size="2"> <b>
栏目管理:</b></font></td>
<%set rs=server.createobject("adodb.recordset")
sql="select * from type"
rs.open sql,conn,1,3
do while not rs.eof%>
</tr>
</form>
<form method="POST" onsubmit action="changeadmin.asp?typeid=<%=rs("typeid")%>">
<tr>
<td width="10%" nowrap bgcolor="#FFFFFF">
<p align="center"><font size="2"><%=rs("type")%></font></td>
<td width="95%" nowrap bgcolor="#FFFFFF"><font size="2">
<input type="text" name="typename" size="15">
<input type="submit" value="修改" name="change">
<input type="submit" value="删除" name="delet"></font></td>
</tr>
</form>
<% rs.movenext
loop
%>
<form method="POST" onsubmit action="changeadmin.asp">
<tr>
<td width="5%" nowrap bgcolor="#FFFFFF">
<p align="center"><font size="2">新增:</font></td>
<td width="104%" nowrap bgcolor="#FFFFFF"><font size="2">
<input type="text" name="type" size="15">
<input type="submit" value="新增" name="addname"></font></td>
</tr>
</form>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0" height="141">
<tr>
<td width="100%" colspan="2" nowrap height="15" bgcolor="#FFFFFF">
<font size="2"> <b>网页信息:</b></font></td>
</tr>
<%set rs=server.createobject("adodb.recordset")
rs.open "select * from home",conn,1,3
%>
<form method="POST" action="changeadmin.asp">
<tr>
<td width="13%" align="right" height="9" valign="middle" bgcolor="#FFFFFF">
<p align="center"><font size="2">站点名称:</font></td>
<td width="87%" height="9" bgcolor="#FFFFFF"><font size="2">
<input class="smallInput" name="homes" size="50" maxlength="255" value="<%=rs("homes")%>"></font></td>
</tr>
<tr>
<td width="13%" align="right" height="9" valign="middle" bgcolor="#FFFFFF">
<p align="center"><font size="2">国际域名:</font></td>
<td width="87%" height="9" bgcolor="#FFFFFF"><font size="2">
<input class="smallInput" name="url" size="50" maxlength="255" value="<%=rs("url")%>"></font></td>
</tr>
<tr>
<td width="13%" align="right" height="9" valign="middle" bgcolor="#FFFFFF">
<p align="center"><font size="2">存放网址:</font></td>
<td width="87%" height="9" bgcolor="#FFFFFF"><font size="2">
<input class="smallInput" name="urls" size="50" maxlength="255" value="<%=rs("urls")%>"></font></td>
</tr>
<tr>
<td width="13%" align="right" height="9" valign="middle" bgcolor="#FFFFFF">
<p align="center"><font size="2">会员在线时间:</font></td>
<td width="87%" height="9" bgcolor="#FFFFFF"><font size="2">
<input class="smallInput" name="time" size="10" maxlength="100" value="<%=rs("time")%>"></font> 单位:分钟 超过此时间将会被自动踢出!</td>
</tr>
<tr>
<td width="13%" align="right" height="4" valign="middle" bgcolor="#FFFFFF"> </td>
<td width="87%" height="4" bgcolor="#FFFFFF"><font size="2">
<input type="submit" value=" 修 改 " name="cmdok" class="buttonface">
<input type="reset" value=" 重 写 " name="cmdcancel" class="buttonface"></font><br><br></td>
</tr>
</form>
</table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -