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

📄 setad.asp

📁 软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能
💻 ASP
字号:
<!--#include file="login.asp"-->
<!--#include file="conn1.asp"-->
<%
mm=request("mm")
if mm=1 then
Set rsm=Server.CreateObject("ADODB.recordset")
mysq1="select * from  定制站标 where user='"&user&"'"
rsm.open mysq1,cn1,3,2
if rsm.eof then
rsm.addnew
rsm("user")=user
rsm("logo1")=request("logo1")
rsm("logo2")=request("logo2")
rsm("bbs")=request("bbs")
rsm("bgc")=request("bgc")
rsm.update
else
mysq="update 定制站标 set logo1='"&request("logo1")&"',logo2='"&request("logo2")&"',bbs='"&request("bbs")&"',bgc='"&request("bgc")&"' where user='"&user&"' "
cn1.execute mysq
end if
rsm.close
set rsm=nothing
mm=0
%>
<script language="vbscript">
msgbox("修改成功!")
</script>
<%
end if
Set rs2=Server.CreateObject("ADODB.recordset")
msq2="select * from 定制站标 where user='"&user&"'"
set rs2=cn1.execute(msq2)
if rs2.eof then
rs2.close
set rs2=nothing
Set rs2=Server.CreateObject("ADODB.recordset")
msq2="select * from 定制站标 where user='admin'"
set rs2=cn1.execute(msq2)
end if

%>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="File-List" href="setad.files/filelist.xml">
<title>
田响商务建站-后台管理</title>
<link href="mycss.css" rel="stylesheet" type="text/css">

<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->

</head>
<body leftMargin=0 topMargin=1 background="../images/bg.gif">
<div align="center">
  <center>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" height="66">
  <tr> 
    <td width="168" height="80">
    <img src="../images1/logo.gif" width="168" height="70"></td>
    <td width="2" height="66"></td>
    <td height="66"> 
      <table border=0 cellpadding=0 cellspacing=0 width="590">
        <tr> 
          <td height=70 width="478" align="center"><!--[if gte vml 1]><v:roundrect id="_x0000_s1025"
 alt="" style='position:absolute;left:216.75pt;top:0;width:365.25pt;height:56.25pt;
 z-index:3' arcsize="10923f" strokecolor="silver">
 <v:fill color2="fill darken(118)" rotate="t" method="linear sigma" focus="50%"
  type="gradient"/>
 <v:shadow on="t" opacity=".5" offset="-6pt,6pt"/>
 <v:textbox>
<table cellspacing="0" cellpadding="0" width="90%" height="100%">
  <tr>
    <td align="center"><span style="font-size: 9pt; background-color:#FFFFFF">
    <img src="../images1/banner.gif" width="450" height="50"></span></td>
  </tr>
</table>
 </v:textbox>
</v:roundrect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:3;left:181px;top:-1px;width:480px;height:80px'><img
width=480 height=80 src="setad.files/image001.gif" v:shapes="_x0000_s1025"></span><![endif]></td>
          <td height=70 width="92" align="center" bgcolor="#FFFFFF"> 
                      <a href="index.asp?id=<%=id%>" style="text-decoration: none">
                      <font color="#000000">
                      <img border="0" src="../images1/b7.jpg" width="100" height="80"></font></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table border="3" cellpadding="0" cellspacing="0" width="760" height="499" bordercolor="#FFFFFF">
    
    <tr>
      <td width="630" background="../images1/mybk3.jpg" valign="center" align="center" height="363">
<form method="post" action="" name="from1">
<input type="hidden" name="myflag" value="myflag">
<table border="0" cellpadding="0" width="724" cellspacing="0">
  <tr>
    <td width="200"><!--[if gte vml 1]><v:roundrect
 id="_x0000_s1026" alt="" style='position:absolute;left:94pt;top:62.25pt;
 width:562pt;height:67.5pt;z-index:2' arcsize="10923f" strokecolor="silver">
 <v:fill color2="fill darken(118)" rotate="t" method="linear sigma" focus="-50%"
  type="gradient"/>
 <v:shadow opacity=".5" offset="-6pt,-6pt"/>
 <v:textbox>
<table cellspacing="0" cellpadding="0" width="100%" height="14" bgcolor="#F6F6F6" border="3" style="border-collapse: collapse" bordercolor="#111111">
  <tr>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton5" type="button" value="管理首页" name="管理首页" onclick="window.location='manage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <span style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton4" type="button" value="安全退出" name="安全退出" onclick="window.location='exit.asp?id=<%=user%>'" style="color: #FFFFFF; border: 2px solid #FFFF00; background-color: #FF0000"></span></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton12" type="button" value="横幅广告" name="定制站标" onclick="window.location='setad.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton6" type="button" value="新手必读" name="新手必读" onclick="window.location='help.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="会员专区" name="会员专区" onclick="window.location='money_bbs.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="最新动态" name="最新动态" onclick="window.location='newsadd.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="酷站推荐" name="酷站推荐" onclick="window.location='chonglang8.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线游戏" name="在线游戏" onclick="window.location='chonglang.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线电影" name="在线电影" onclick="window.location='chonglang1.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
  </tr>
  <tr>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton8" type="button" value="站长资料" name="站长资料" onclick="window.location='mastermodi.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton9" type="button" value="站长信息" name="站长信息" onclick="window.location='masterinfo.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton10" type="button" value="临时客户" name="临时会员" onclick="window.location='usermanage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton11" type="button" value="正式客户" name="正式会员" onclick="window.location='r_usermanage.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="1" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton13" type="button" value="友情连接" name="图标链接" onclick="window.location='setlogo.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="免费资源" name="免费资源" onclick="window.location='chonglang6.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="资讯中心" name="资讯中心" onclick="window.location='chonglang4.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="在线音乐" name="在线音乐" onclick="window.location='chonglang2.asp?id=<%=user%>'" style="color: #FFFFFF; border: 3px solid #FFFF00; background-color: #FF0000"></font></td>
    <td width="80" height="24" bgcolor="#CC3300" align="center">
    <font color="#000000" style="font-size: 9pt; background-color:#FFFFFF">
    <input id="mybutton7" type="button" value="酷软下载" name="酷软下载" onclick="window.location='chonglang3.asp?id=<%=user%>'" style="color: #FFFFFF; border: 2px solid #FFFF00; background-color: #FF0000"></font></td>
  </tr>
</table>
 </v:textbox>
</v:roundrect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:2;left:3px;top:82px;width:640px;height:80px'><img
width=640 height=80 src="setad.files/image002.gif" v:shapes="_x0000_s1026"></span><![endif]><p> </p>
    <p> </p>
    <p> </p>
    <p> </td>
    <td width="200"></td>
    <td width="294"><input name="mm" type="hidden" id="mm" value="1"></td>
  </tr>
  <tr>
    <td width="200"></td>
    <td align="center" width="200">
    <p align="right"><b><font color="#FF0000" face="黑体">定制站标</font></b></td>
    <td width="294"></td>
  </tr>
  <tr>
    <td colspan="3" width="724">
      <hr size="1" color="#008000">
    </td>
  </tr>

  <tr>
    <td width="200" align="center">
    <p align="right"><font color="#0000FF" face="宋体">站标190*80:</font></td>
    <td width="494" colspan="2"><textarea id="mytextarea" rows="2" name="logo1" cols="53"><%=rs2("logo1")%></textarea></td>
  </tr>
  <tr>
    <td width="724" colspan="3">
      <hr size="1" color="#008000">
    </td>
  </tr>
  <tr>
    <td width="200" align="center">
    <p align="right"><font color="#0000FF" face="宋体">大广告761*63:</font></td>
    <td width="494" colspan="2"><textarea id="mytextarea" rows="2" name="logo2" cols="53"><%=rs2("logo2")%></textarea></td>
  </tr>

  <tr>
    <td width="724" colspan="3">
      <hr size="1" color="#008000">
    </td>
  </tr>
  <tr>
    <td width="200" align="center"><font color="#0000FF" face="宋体">论坛地址:</font></td>
    <td width="494" colspan="2"><textarea id="myinput" rows="2" name="bbs" cols="53"><%=rs2("bbs")%></textarea></td>
  </tr>
    <td width="724" colspan="3">
      <hr size="1" color="#008000">
    </td>
  </tr>
  <tr>
    <td width="200" align="center"><font color="#0000FF" face="宋体">网站配色:</font></td>
    <td width="494" colspan="2">
    <select  name="bgc1" size="1" id="bgc1"  onChange="javascript:document.from1.logo1.value='images'+document.from1.bgc.value+'/logo.gif';document.from1.logo2.value='images'+document.from1.bgc.value+'/banner.gif'" disabled multiple>
                    <option value="1"selected>----幸运红----</option>
                    <option value="2">----神秘蓝----</option>
                    <option value="3">----橄榄绿----</option>
                    <option value="4">----紫罗兰----</option>
                    <option value="5">----快乐蓝----</option>
                    <option value="6">----咖啡棕----</option>
                    <option value="7">----艺术黑----</option>
                  </select>
                 
                  <input name="bgc" type="hidden" id="bgc" value="1"></td>  
  </tr>

  <tr>
                <td width="724" colspan="3"> <hr size="1" color="#0000FF"></td>
  </tr>
  <tr>
    <td width="724" colspan="3" align="right"><input id='mybutton2' type='submit' value='提交' name='mydel'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <td width="200"> </td>
    <td width="200"></td>
    <td width="294"></td>
  </tr>
</table>
</form>

</td>
    </tr>
    </table>

  </center>
</div>
</body>
</html>

⌨️ 快捷键说明

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