📄 masterinfo.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 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="masterinfo.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="10" height="71"> </td>
<td height="71">
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr>
<td height=70 width="478" align="center"><!--[if gte vml 1]><v:roundrect id="_x0000_s1026"
alt="" style='position:absolute;left:3in;top:0pt;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="100%" height="100%">
<tr>
<td align="center"><span style="font-size: 9pt; background-color:#FFFFFF">
<img src="../images1/banner.gif" width="468" height="50"></span></td>
</tr>
</table>
</v:textbox>
</v:roundrect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
position:absolute;z-index:3;left:184px;top:4px;width:500px;height:88px'><img
width=500 height=88 src="masterinfo.files/image001.gif" v:shapes="_x0000_s1026"></span><![endif]></td>
<td height=70 width="92" align="center">
<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="419" bordercolor="#FFFFFF">
<tr>
<td width="633" background="../images1/mybk3.jpg" valign="center" align="center" height="323">
<form method="post" action="">
<input type="hidden" name="myflag" value="myflag">
<table border="0" cellpadding="0" width="630" cellspacing="0">
<tr>
<td width="200"><!--[if gte vml 1]><v:roundrect
id="_x0000_s1025" alt="" style='position:absolute;left:90pt;top:61.5pt;width:566pt;
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="8" 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:81px;width:770px;height:96px'><img
width=770 height=96 src="masterinfo.files/image002.gif" v:shapes="_x0000_s1025"></span><![endif]><p> </p>
<p> </p>
<p> </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"> <p><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"> </td>
<td width="400" colspan="2">
<p align="center"><span style="font-size: 9pt">请加上您的电话、手机 QQ 邮件等
增加你收入的机会</span></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'> </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 + -