📄 systemparam.asp
字号:
<% ModuleCode="M0710" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
%>
<!--#include file="../../Include/connect.asp"-->
<%
if Request.Form("act")<>"" then
strSQL="exec SP_SysPara_Handle " & +_
"'" & Session("UserID") & "'," & +_
"'" & "修改" & "'," & +_
"'" & Request.ServerVariables("REMOTE_ADDR") & "'," & +_
"'" & Request.Form("IfRun") & "'," & +_
"'" & Request.Form("DNS1") & "'," & +_
"'" & Request.Form("DNS2") & "'," & +_
"'" & Request.Form("IPayURL") & "'," & +_
"'" & Request.Form("IPayUID") & "'," & +_
"'" & Request.Form("CCIP") & "'," & +_
"'" & Request.Form("CCPort") & "'," & +_
"'" & Request.Form("CCUID") & "'," & +_
"'" & Request.Form("CCPWD") & "'," & +_
"'" & Request.Form("Param1") & "'," & +_
"'" & Request.Form("Param2") & "'," & +_
"'" & Request.Form("Param3") & "'," & +_
"'" & Request.Form("Param4") & "'," & +_
"'" & Request.Form("Param5") & "'," & +_
"'" & Request.Form("Param6") & "'," & +_
"'" & Request.Form("Param7") & "'," & +_
"'" & Request.Form("Param8") & "'," & +_
"'" & Request.Form("Param9") & "'," & +_
"'" & Request.Form("Param10") & "'," & +_
"'" & Request.Form("Param11") & "'," & +_
"'" & Request.Form("Param12") & "'," & +_
"'" & Request.Form("TestSize") & "'," & +_
"'" & Request.Form("ResDNMoney") & "'"
Set Rs= Cn.Execute(strSQL)
%>
<br><br>
<p align="center" class="titletext"><%=Rs("msg")%>
<% if Rs("result")=0 then %>
[<a href="SystemParam.asp" class="a2">返回</a>]
<% else %>
[<a href="#" onclick="javascript:history.go(-1)" class="a2">返回上一步</a>]
<% end if %>
</p>
<%
Rs.Close
Cn.Close
Call PrintPageBottom
Response.End
end if
strSQL="exec SP_SysPara_Handle " & +_
"'" & Session("UserID") & "'," & +_
"'" & "读取" & "'," & +_
"'" & Request.ServerVariables("REMOTE_ADDR") & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'," & +_
"'" & "" & "'"
Set Rs= Cn.Execute(strSQL)
if Rs.Eof then
Rs.Close
Cn.Close
Response.Write "<br><br><p align='center'>读取系统参数错误!</p>"
Call PrintPageBottom
Response.End
end if
%>
<table width="80%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td height="26" align="center">
<font color="<%=Opt_Font_TitleColor%>" class="titletext"><strong>系统参数</strong></font>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="<%=Opt_Table_BGColor%>">
<form name="form3" action="" method="post">
<input type="hidden" name="act" value="next">
<tr>
<td colspan="2" height="26">
<strong>系统运行参数</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
系统状态:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<%
if Rs("IfRun")="Y" then
%>
<input type="Radio" name="IfRun" Value="Y" Checked>对外服务
<input type="Radio" name="IfRun" Value="N">维护中
<%
else
%>
<input type="Radio" name="IfRun" Value="Y">对外服务
<input type="Radio" name="IfRun" Value="N" Checked>维护中
<%
end if
%>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
提醒周期:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
到期<input type="text" name="Param9" size="2" maxlength="5" class="input" value="<%=Rs("Param9")%>">天前提醒
过期<input type="text" name="Param11" size="2" maxlength="5" class="input" value="<%=Rs("Param11")%>">天后删除
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
产品试用:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
试用天数:<input type="text" name="Param12" size="2" maxlength="5" class="input" value="<%=Rs("Param12")%>">天 ,
试用时大小:<input type="text" name="TestSize" size="3" maxlength="5" class="input" value="<%=Rs("TestSize")%>"> M
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
域名解析服务费:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="ResDNMoney" size="5" maxlength="5" class="input" value="<%=Rs("ResDNMoney")%>"> 元 (免费输入: <font color=red>0</font>)
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
可更改的错误页面代码:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param1" size="30" maxlength="50" class="input" value="<%=Rs("Param1")%>">
用<font color="red">,</font>号隔开
</td>
</tr>
<tr>
<td colspan="2" height="26">
<strong>DNS 设置</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
DNS1 IP:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="DNS1" size="30" maxlength="50" class="input" value="<%=Rs("DNS1")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
DNS1 Name:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param2" size="30" maxlength="50" class="input" value="<%=Rs("Param2")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
DNS2 IP:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="DNS2" size="30" maxlength="50" class="input" value="<%=Rs("DNS2")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
DNS2 Name:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param3" size="30" maxlength="50" class="input" value="<%=Rs("Param3")%>">
</td>
</tr>
<tr>
<td colspan="2" height="26">
<strong>网站转发功能</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
URL转发服务器IP:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param10" size="30" maxlength="50" class="input" value="<%=Rs("Param10")%>">
</td>
</tr>
<tr>
<td colspan="2" height="26">
<strong>系统信件设置</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
邮箱地址:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param4" size="30" maxlength="50" class="input" value="<%=Rs("Param4")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
发件人名:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param5" size="30" maxlength="50" class="input" value="<%=Rs("Param5")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
登陆用户:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param6" size="30" maxlength="50" class="input" value="<%=Rs("Param6")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
登陆密码:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="password" name="Param7" size="30" maxlength="50" class="input" value="<%=Rs("Param7")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
SMTP服务器:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="Param8" size="30" maxlength="50" class="input" value="<%=Rs("Param8")%>">
</td>
</tr>
<tr>
<td colspan="2" height="26">
<strong>IPay网上支付接口参数</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
接口网址:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="IPayURL" size="30" maxlength="50" class="input" value="<%=Rs("IPayURL")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
商户编号:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="IPayUID" size="30" maxlength="50" class="input" value="<%=Rs("IPayUID")%>">
</td>
</tr>
<tr>
<td colspan="2" height="26">
<strong>中国频道DNS接口参数</strong>
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
IP:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="CCIP" size="30" maxlength="50" class="input" value="<%=Rs("CCIP")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
Port:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="CCPort" size="30" maxlength="50" class="input" value="<%=Rs("CCPort")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
用户ID:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="text" name="CCUID" size="30" maxlength="50" class="input" value="<%=Rs("CCUID")%>">
</td>
</tr>
<tr height="24">
<td bgcolor="<%=Opt_TR_BGColor%>" align="center">
用户密码:
</td>
<td bgcolor="<%=Opt_TD_BGColor2%>">
<input type="password" name="CCPWD" size="30" maxlength="50" class="input" value="<%=Rs("CCPWD")%>">
</td>
</tr>
<tr height="26">
<td bgcolor="<%=Opt_TD_BGColor2%>" colspan="2" align="center">
<input type="submit" class="button" value=" 修改 ">
<input type="reset" class="button" value=" 重写 ">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<p align="center"><a href="OtherParam.asp" class="a2">其他参数...</a>
<%
Rs.Close
Cn.Close
Call PrintPageBottom
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -