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

📄 webconfig.asp

📁 闲置物品免费交易的平台
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if
%>
<%dim action
action=request.QueryString("action")
'//保存信息
if action="save" then
dim pay_username,z_a,z_b,z_c,z_d,jf_1,jf_2,jf_3,jf_4,jf_hb,g_a,g_b,g_c,g_d,rmb_hb,z_hb,del_xx,b_y,s_y
set rs=server.CreateObject("adodb.recordset")
rs.Open "select webname,musicd,musicurl,webemail,dizhi,youbian,dianhua,copyright,weblogo,weburl,webbanner,mailaddress,mailusername,mailuserpass,mailname,mailsend,pay_username,z_a,z_b,z_c,z_d,jf_1,jf_2,jf_3,jf_4,jf_hb,g_a,g_b,g_c,g_d,rmb_hb,z_hb,del_xx,b_y,s_y from shop_config ",conn,1,3
rs("webname")=trim(request("webname"))
rs("webemail")=trim(request("webemail"))
rs("dizhi")=trim(request("dizhi"))
rs("youbian")=trim(request("youbian"))
rs("dianhua")=trim(request("dianhua"))
rs("copyright")=trim(request("copyright"))
rs("weblogo")=trim(request("weblogo"))
rs("webbanner")=trim(request("webbanner"))
rs("weburl")=trim(request("weburl"))
rs("mailaddress")=trim(request("mailaddress"))
rs("mailusername")=trim(request("mailusername"))
rs("mailuserpass")=trim(request("mailuserpass"))
rs("mailname")=trim(request("mailname"))
rs("mailsend")=trim(request("mailsend"))
rs("pay_username")=trim(request("pay_username"))
rs("z_a")=trim(request("z_a"))
rs("z_b")=trim(request("z_b"))
rs("z_c")=trim(request("z_c"))
rs("z_d")=trim(request("z_d"))
rs("z_hb")=trim(request("z_hb"))
rs("jf_1")=trim(request("jf_1"))
rs("jf_2")=trim(request("jf_2"))
rs("jf_3")=trim(request("jf_3"))
rs("jf_4")=trim(request("jf_4"))
rs("jf_hb")=trim(request("jf_hb"))
rs("g_a")=trim(request("g_a"))
rs("g_b")=trim(request("g_b"))
rs("g_c")=trim(request("g_c"))
rs("g_d")=trim(request("g_d"))
rs("rmb_hb")=trim(request("rmb_hb"))
rs("b_y")=trim(request("b_y"))
rs("s_y")=trim(request("s_y"))
rs("del_xx")=trim(request("del_xx"))
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('网站资料修改成功!');history.go(-1);</script>"
end if%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
  <form name="form1" method="post" action="webconfig.asp?action=save">
    <%set rs=server.CreateObject("adodb.recordset")
rs.Open "select webname,musicurl,musicd,webemail,dizhi,youbian,dianhua,copyright,weblogo,weburl,webbanner,mailaddress,mailusername,mailuserpass,mailname,mailsend,pay_username,z_a,z_b,z_c,z_d,jf_1,jf_2,jf_3,jf_4,jf_hb,g_a,g_b,g_c,g_d,rmb_hb,z_hb,del_xx,b_y,s_y from shop_config",conn,1,1%>
    <tr> 
      <td colspan="2" align="center" background="../images/admin_bg_1.gif"><b><font color="#ffffff">网站信息设置</font></b></td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">网站网址:</td>
      <td width="70%" style="PADDING-LEFT: 10px">HTTP:// 
        <input name="weburl" type="text" id="weburl" size="21" value="<%=trim(rs("weburl"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">网站名称:</td>
      <td style="PADDING-LEFT: 10px"> <input name="webname" type="text" id="webname" size="28" value="<%=trim(rs("webname"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">公司 e-mail:</td>
      <td style="PADDING-LEFT: 10px"> <input name="webemail" type="text" id="webemail" size="28" value="<%=trim(rs("webemail"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">公司地址:</td>
      <td style="PADDING-LEFT: 10px"> <input name="dizhi" type="text" id="dizhi" size="28" value="<%=trim(rs("dizhi"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">公司邮编:</td>
      <td style="PADDING-LEFT: 10px"> <input name="youbian" type="text" id="youbian" size="28" value="<%=trim(rs("youbian"))%>"	onKeyPress	= "return regInput(this,	/^[0-9]*$/,		String.fromCharCode(event.keyCode))"
onpaste		= "return regInput(this,	/^[0-9]*$/,		window.clipboardData.getData('Text'))"
ondrop		= "return regInput(this,	/^[0-9]*$/,		event.dataTransfer.getData('Text'))"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">公司电话:</td>
      <td style="PADDING-LEFT: 10px"> <input name="dianhua" type="text" id="dianhua" size="28" value="<%=trim(rs("dianhua"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">网站版权:</td>
      <td style="PADDING-LEFT: 10px"> <input name="copyright" type="text" size="28" value="<%=trim(rs("copyright"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">网站Logo:</td>
      <td style="PADDING-LEFT: 10px"> <input name="weblogo" type="text" id="weblogo" size="28" value="<%=trim(rs("weblogo"))%>"> 
        <font color=#ff0000>**</font> </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">BANNER地址:</td>
      <td bgcolor="#E8F1FF" style="PADDING-LEFT: 10px"> <input name="webbanner" type="text" id="webbanner" size="28" value="<%=trim(rs("webbanner"))%>"> 
        <font color=#ff0000>**</font> 760×100 </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td height="1" colspan="2"> <div align="center"><font size="2">&nbsp;<font color="#0033FF">在线支付设定</font></font> 
        </div></td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="29"> 
        <p style="margin-left: 10"> <font color="#FF0000">在线支付的用户名:</font></td>
      <td width="70%" style="border-bottom-style: none; border-bottom-width: medium" height="29"> 
        <p style="margin-left: 10"> 
          <input type="text" name="pay_username" value="<%=trim(rs("pay_username"))%>" size="28">
          <font color="#FF0000">** 点击这里免费申请帐号</font><font color="#0000FF"><a href="http://www.1st-pay.net/index.asp?refer=zhaobaosheng#part1"><font color="#0000FF">http://www.1st-pay.net/</font></a></font></td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td height="17" colspan="2" style="border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1"> 
        <div align="center"><font size="2">&nbsp;<font color="#0033FF">注册时赠送的道具和虚拟货币</font></font> </div></td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">赠送的<font color="#0000FF">虚拟货币</font><font color="#800000">:</font></td>
      <td width="70%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10"> 
          <input type="text" name="z_hb" size="28" value="<%=trim(rs("z_hb"))%>">
      </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">赠送的<font color="#800000">标题变色道具:</font></td>
      <td width="70%" style="border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10"> 
          <input type="text" name="z_a" size="28" value="<%=trim(rs("z_a"))%>">
      </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">赠送的<font color="#800000">信息置顶道具:</font></td>
      <td width="70%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10"> 
          <input type="text" name="z_b" size="28" value="<%=trim(rs("z_b"))%>">
      </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">赠送的<font color="#800000">一口价道具:</font></td>
      <td width="70%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10"> 
          <input type="text" name="z_c" size="28" value="<%=trim(rs("z_c"))%>">
      </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td width="30%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10">赠送的<font color="#800000">通过验证道具:</font></td>
      <td width="70%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="25"> 
        <p style="margin-left: 10"> 
          <input type="text" name="z_d" size="28" value="<%=trim(rs("z_d"))%>">
      </td>
    </tr>
    <tr bgcolor="#E8F1FF"> 
      <td height="17" colspan="2" style="border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1"> 
        <div align="center"><font color="#0000FF" size="2">&nbsp;积分奖励设置</font> 
           </div></td>

⌨️ 快捷键说明

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