📄 audittemp.asp
字号:
<!-- #include file="conn.asp"-->
<%
if Request.Form("foot")<>"" Then
set rs=Server.CreateObject("ADODB.recordset")
sql="select * from admin"
rs.open sql,conn,3,3
if Not Rs.EOF Then
rs("sitefoot")=Request.Form("foot")
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Redirect "../admin/AuditTemp.asp"
Else
Call AlertBack("密码不正确")
End if
End if
set rs=Server.CreateObject("ADODB.recordset")
sql="select * from admin"
rs.open sql,conn,3,3
if Not Rs.EOF Then
tempfoot=rs("sitefoot")
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>站长帐户 - <%=sitetitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<link href="/favicon.ico" type="image/x-icon" rel="bookmark" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="imagetoolbar" content="no" />
<meta content="Copyright 2007 netsoz.com" name="copyright" />
<link href="../css/accounts.css" type="text/css" rel="stylesheet" />
</head>
<body bgcolor="#FFFFFF">
<DIV id=Head>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" align="center" style="padding:1px 0px 0px 0px;"><a href="../index.asp" onFocus="this.blur();"><img src="../images/logo_coodirs.gif" width=206 height=50 vspace=7 border=0 alt="netsoz中文网站目录"></a></td>
<td valign="top" style="padding:1px 0px 0px 0px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right" valign="top" style="padding:6px 16px 0px 0px;">
<strong><%=Session("user")%></strong> - <a href="../accounts/" class="linkNo">我的帐户</a> - <a href="../index.asp" class="linkNo">网站目录首页</a> - <a href="../accounts/logout/" class="linkNo">退出</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" style="border-top:1px solid #99B2CC; border-bottom:1px solid #99B2CC;">
<tr>
<td height="20" bgcolor="#DBE9F4"> 您的位置:<strong><%=Session("user")%></strong> 的管理中心</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160" valign="top" style="padding:6px 0px 0px 0px;">
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td nowrap="nowrap" class="f60b14" style="padding:3px 0px 3px 6px;">管理中心</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td height="1" background="../images/dot_line.gif"></td>
</tr>
</table>
<!-- #include file="LeftMenu.asp"-->
<table width="100%" border="0" cellspacing="1" cellpadding="2" style="margin-bottom:30px;">
<tr>
<td height="1" background="../images/dot_line.gif"></td>
</tr>
</table>
</td>
<td width="1" background="../images/dot_line.gif"></td>
<td valign="top" style="padding:0px 0px 10px 16px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px;">
<tr>
<td height="1" background="../images/dot_line.gif"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><span class=txtcolor><strong>网站模板</strong></span><br><br></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<form action="AuditTemp.asp" method="post">
<tr>
<td align="right" width="80">页脚Foot:</td>
<td><textarea name="foot" style="width:500px;height:300px;"><%=tempfoot%></textarea></td>
</tr>
<tr>
<td colspan="2" height="40" style="padding:0px 0px 0px 100px;"><input type="submit" name="submit" class=btxx value="保存"> <input type="reset" name="reset" value="重填" class=btxx></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<%=sitefoot%>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -