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

📄 message.asp

📁 鄂尔多斯建站网全站程序(冬季修正版)
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../include/message.asp"-->
<%
'**********************************
'版本:host_free 3.0               *
'官方网站:http://www.850518.com   *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版)     *
'msn: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<html>

<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 6.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>

<body style="background-color: #eeeeee">

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
      <%
  if request("action")="message" then
  dim homepage,logo,url,bbs,mail,oicq,tel,handphone,tex,aboutus,zhifu,smtp,password,copyright
  zhifu=request("zhifu")
  homepage=request("homepage")
  logo=request("logo")
  url=request("url")
  bbs=request("bbs")
  mail=request("mail")
  oicq=request("oicq")
  tel=request("tel")
  handphone=request("handphone")
  tex=request("tex")
  aboutus=request("aboutus")
  smtp=request("smtp")
  password=request("password")
  copyright=request("copyright")
  
    if homepage="" then
  response.write("<script>alert('网站名称不能为空!');history.go(-1)</script>")
  response.end
  end if
      if zhifu="" then
  response.write("<script>alert(支付名称不能为空!');history.go(-1)</script>")
  response.end
  end if
    if logo="" then
  response.write("<script>alert('网站图标不能为空!');history.go(-1)</script>")
  response.end
  end if
    if url="" then
  response.write("<script>alert('网站地址不能为空!');history.go(-1)</script>")
  response.end
  end if
      if bbs="" then
  response.write("<script>alert('论坛地址不能为空!');history.go(-1)</script>")
  response.end
  end if
    if mail="" then
  response.write("<script>alert('邮件地址不能为空!');history.go(-1)</script>")
  response.end
  end if
    if oicq="" then
  response.write("<script>alert('oicq号码不能为空!');history.go(-1)</script>")
  response.end
  end if
    if tel="" then
  response.write("<script>alert('联系电话不能为空!');history.go(-1)</script>")
  response.end
  end if
    if handphone="" then
  response.write("<script>alert('手机号码不能为空!');history.go(-1)</script>")
  response.end
  end if
    if tex="" then
  response.write("<script>alert('联系地址不能为空!');history.go(-1)</script>")
  response.end
  end if
  if aboutus="" then
  response.write("<script>alert('关于我们不能为空!');history.go(-1)</script>")
  response.end
  end if
    if smtp="" then
  response.write("<script>alert('smtp地址不能为空!');history.go(-1)</script>")
  response.end
  end if
    if password="" then
  response.write("<script>alert('邮件密码不能为空!');history.go(-1)</script>")
  response.end
  end if
      if copyright="" then
  copyright="copyright &copy;&nbsp; 2004 中国络网有限公司 850518.com"
  end if
  
  set rs=server.createobject("adodb.recordset")
  sql="select * from message"
  rs.open sql,conn,3,3
  rs("homepage")=homepage
  rs("logo")=logo
  rs("url")=url
  rs("bbs")=bbs
  rs("mail")=mail
  rs("oicq")=oicq
  rs("tel")=tel
  rs("handphone")=handphone
  rs("tex")=tex
  rs("aboutus")=aboutus
  rs("zhifu")=zhifu
  rs("smtp")=smtp
  rs("password")=password
  rs("copyright")=copyright
  
  rs.update
  rs.close
  set rs=nothing
  conn.close
  set conn=nothing
  response.write"<a href=message.asp><p align=center>修改配置成功,请返回</a>"
  
  else
  %>
  <form method="post" action="message.asp?action=message">
    <tr>
      <td height="20">
		<p><b><font color="#ffffff">&nbsp; 网站信息基本设置</font></b></td>       
    </tr>
    <tr>
      <td height="20" bgcolor="#ffffff">
		<div align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table1">
				<tr>
					<td> </td>
				</tr>
				<tr>
					<td>
					<div align="center">
						<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table2">
							<tr>
								<td height="25" width="170" align="right">
								在线支付帐号:</td>
								<td height="25">&nbsp;<input type="text" name="zhifu" size="30" value="<%=zhifu%>">&nbsp;        
								没有<b><a href="http://www.1st-pay.net/index.asp?refer=sosos" class="red">点击这里</a></b>申请</td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">网站名称:</td>
								<td height="25">&nbsp;<input type="text" name="homepage" size="30" value="<%=homepage%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">网站图标:</td>
								<td height="25">&nbsp;<input type="text" name="logo" size="30" value="<%=logo%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">网站地址:</td>
								<td height="25">&nbsp;<input type="text" name="url" size="30" value="<%=url%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">论坛地址:</td>
								<td height="25">&nbsp;<input type="text" name="bbs" size="30" value="<%=bbs%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">
								smtp地址:</td>
								<td height="25">&nbsp;<input type="text" name="smtp" size="30" value="<%=smtp%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">邮件地址:</td>
								<td height="25">&nbsp;<input type="text" name="mail" size="30" value="<%=mail%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">邮件密码:</td>
								<td height="25">&nbsp;<input type="password" name="password" size="30" value="<%=password%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">oicq号码:</td>
								<td height="25">&nbsp;<input type="text" name="oicq" size="30" value="<%=oicq%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">联系电话:</td>
								<td height="25">&nbsp;<input type="text" name="tel" size="30" value="<%=tel%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">手机号码:</td>
								<td height="25">&nbsp;<input type="text" name="handphone" size="30" value="<%=handphone%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">公司地址:</td>
								<td height="25">&nbsp;<input type="text" name="tex" size="30" value="<%=tex%>"></td>
							</tr>
							<tr>
								<td height="25" width="170" align="right">
                                版权信息:</td>
								<td height="25">&nbsp;<input type="text" name="copyright" size="50" value="<%=copyright%>">&nbsp;</td>
							</tr>
							<tr>
								<td height="25" width="170" align="right" valign="top">
								关于我们:</td>
								<td height="25">&nbsp;<textarea rows="20" name="aboutus" cols="60"><%=aboutus%></textarea></td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr>
					<td height="25">
					<p align="center">
					<input type="submit" value="提交修改" name="b3">&nbsp;
					<input type="reset" value="重置" name="b4"></td>
				</tr>
				<tr>
					<td> </td>
				</tr>
			</table>
		</div>
		</td>
    </tr>
</form>
<%end if%>   
  </table>
  </center>
</div>

</body>

</html>
<%
'**********************************
'版本:host_free 3.0               *
'官方网站:http://www.850518.com   *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版)     *
'msn: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>

⌨️ 快捷键说明

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