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

📄 masterinfo.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("站长公告")=request("站长公告")
rsm("站长简介")=request("站长简介")
rsm.update
else
mysq="update 站长信息 set 站长公告='"&request("站长公告")&"',站长简介='"&request("站长简介")&"' 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>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>
网站网电在线销售中心!</title>
<link href="mycss.css" rel="stylesheet" type="text/css">

 
</head>
<body leftMargin=0 topMargin=1 background="../images/mybk2.gif">
<div align="center" style="width: 782; height: 421">
  <center>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" height="71">
  <tr>  
    <td width="190" height="71">
    <img src="../images1/logo.gif" width="190" height="65"></td>
    <td width="10" height="71"> </td>
    <td height="71"> 
      <table border=0 cellpadding=0 cellspacing=0 width="100%">
        <tr> 
          <td height=70 width="478" align="center"><img src="../images1/banner.gif" width="468" height="60"></td>
          <td height=70 width="92" align="center"> 
            <table width="82" border="0" cellspacing="0" cellpadding="1" height="60" bgcolor="#1859FF">
              <tr> 
                <td> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#E7EBFF" height="58">
                    <tr> 
                      <td bgcolor="#FF0000">
                        <font color=#FFFFFF>站长:<a style=cursor:hand; title===============================&#13;&#10;&nbsp;站长联系资料&#13;&#10;==============================&#13;&#10;&nbsp;站长:<%=user%>&#13;&#10;&nbsp;QQ:<%=oicq1%>&#13;&#10;&nbsp;信箱:<%=mail1%>&#13;&#10;==============================><%=left(user,4)%></a><br>QQ:<a style=cursor:hand; title===============================&#13;&#10;&nbsp;站长联系资料&#13;&#10;==============================&#13;&#10;&nbsp;站长:<%=user%>&#13;&#10;&nbsp;QQ:<%=oicq1%>&#13;&#10;&nbsp;信箱:<%=mail1%>&#13;&#10;==============================><%=left(oicq1,6)%></a><br>信箱:</font><font color=1859FF><a href=mailto:<%=mail1%>><font color="#FFFFFF"><img border=0 src=../images/mail.gif align=absbottom width=16 height=16 alt=<%=mail1%>></font></a></font><font color="#FFFFFF">
                        </font>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table border="3" cellpadding="0" cellspacing="0" width="773" height="419" bordercolor="#FFFFFF">
    
    <tr>
      <td width="146" height="23" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
        <font color="#000000" style="font-size: 9pt">
      <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="139" height="23" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
        <span style="font-size: 9pt">
  <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="149" height="23" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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="177" height="23" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt"> 
  <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="162" height="23" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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>
    </tr>
    <tr>
      <td width="146" height="16" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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="139" height="16" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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="149" height="16" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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="177" height="16" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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="162" height="16" bgcolor="#CC3300" background="../images/hard_03.gif" align="center">
  <font color="#000000" style="font-size: 9pt">
  <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>
    </tr>
    <tr>
      <td width="633" background="../images1/mybk3.jpg" valign="center" align="center" height="323" colspan="5">
<form method="post" action="">
<input type="hidden" name="myflag" value="myflag">
<table border="0" cellpadding="0" width="630" cellspacing="0">
  <tr> 
    <td width="200"> </td>
    <td width="200"></td>
    <td width="200"></td>
  </tr>
  <tr>
    <td width="200"></td>
    <td align="center" width="200"><font color="#0000FF" size="3" face="黑体">站长信息</font></td>
    <td width="200"><input name="mm" type="hidden" id="mm" value="1"></td>
  </tr>
  <tr>
    <td colspan="3" width="630">
      <hr size="1" color="#0000FF">
    </td>
  </tr>

  <tr>
    <td width="200" align="center"><font color="#0000FF" size="3" face="宋体">站长公告:</font></td>
                <td width="400" colspan="2"><textarea id="mytextarea" rows="8" name="站长公告" cols="53"><%=rs2("站长公告")%></textarea></td>
  </tr>

  <tr>
    <td width="630" colspan="3">
      <hr size="1" color="#008000">
    </td>
  </tr>
  <tr>
    <td width="200" align="center"><font color="#0000FF" size="3" face="宋体">站长简介:</font></td>
    <td width="400" colspan="2"><textarea id="mytextarea" rows="8" name="站长简介" cols="53"><%=rs2("站长简介")%></textarea></td>
  </tr>

  <tr>
    <td width="630" colspan="3">
      <hr size="1" color="#0000FF">
    </td>
  </tr>
  <tr>
    <td width="630" 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="200"></td>
  </tr>
</table>
</form>

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

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

⌨️ 快捷键说明

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