⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 madmin.asp

📁 睿网留言版 2004 v1.0
💻 ASP
字号:
<!--#include file="conn.inc"-->
<%
if session("nimadebuyaokan")<>"tingbaxiaozi" then
   for i=1 to 10
   response.write "<br>"
   next
   response.write "<center>"
   response.write "你不是站长,请不要乱跑!" 
   response.write "好关闭窗口啦!"
   response.end
end if
%>

<%
dim adminmail
dim adminname
dim counter
dim adminhomepage
dim title
dim bgcolor1
dim background1
dim bianchuang
dim maxperpage
dim banquan
dim zhizuo
dim adminpass
dim pss
set rs1=server.createobject("adodb.recordset")
sql1="select * from admin where id=1"
rs1.open sql1,conn,1,3
adminmail=rs1("adminemail")
adminname=rs1("adminname")
adminpass=rs1("adminpass")
title=rs1("title")
bgcolor1=rs1("bgcolor1")
background1="image/"&rs1("background1")
backpic=rs1("background1")
bianchuang=rs1("bianchuang")
MaxPerPage=rs1("maxperpage")
adminhomepage=rs1("adminhomepage")
banquan=rs1("banquan")
zhizuo=rs1("zhizuo")
counter=rs1("counter")
pss=rs1("pss")
rs1.close
set rs1=nothing
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="style.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body topmargin="3" leftmargin="10" bgcolor="#999999">
<div align="center">
  <center>
<form method="POST" action="adminsave.asp">
  <table border="1" width="100%" height="26" cellspacing="0" style="border-collapse: collapse" cellpadding="0" bordercolor="#000000">
    <tr>
    <td width="50%" height="4" bgcolor="<%=bgcolor1%>">
    <a target="_blank" href="adminbook.asp">留言管理</a></td>
    <td width="50%" height="4" bgcolor="<%=bgcolor1%>">
    <p align="right">此处为<a href="madmin.asp">资料管理</a></td>
  </tr>  
  <tr>  
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      站长名字:</td>   
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="adminname" maxlength="20" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=adminname%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      站长密码:</td>   
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      <input type="password" name="adminpass" maxlength="20" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=adminpass%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      站长主页:</td>   
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="adminhomepage" maxlength="30" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=adminhomepage%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="11" bgcolor="<%=bgcolor1%>" align="center">
      站长邮件:</td>   
    <td width="44%" height="11" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="adminmail" maxlength="30" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=adminmail%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      访问计数:</td>   
    <td width="44%" height="12" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="counter" maxlength="6" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=counter%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      留言标题:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="title" maxlength="10" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=title%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      每页显示数:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="maxperpage" maxlength="2" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=maxperpage%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      表格背景:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="bgcolor1" maxlength="7" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=bgcolor1%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      边窗颜色:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="bianchuang" maxlength="7" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=bianchuang%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      背景图片:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="backpic" maxlength="20" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=backpic%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      是否允许公开:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="pss" maxlength="1" size="1" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=pss%>"><font color="#FF0000">1允许,0or其他相反</font></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      版权信息:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="banquan" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=banquan%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      程序制作:</td>   
    <td width="44%" height="13" bgcolor="<%=bgcolor1%>" align="center">
      <input type="text" name="zhizuo" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1" value="<%=zhizuo%>"></td>   
  </tr>  
  <tr>  
    <td width="44%" height="1" bgcolor="<%=bgcolor1%>">
      <input type="submit" value="提交" name="B1" style="float: left"></td>   
    <td width="44%" height="1" bgcolor="<%=bgcolor1%>">
      <input type="reset" value="重置" name="B2" style="float: right"></td>   
  </tr>  
  <tr>  
    <td width="88%" height="1" bgcolor="<%=bgcolor1%>" colspan="2">
      <p align="center">注:背景图片的目录是image/<font color="#FF0000">***.***,</font>如果管理没有完毕,请不要关闭此窗口!</td>   
  </tr>  
</table></center>
</div>
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -