<!--#include virtual="/show/adminhead.asp"-->
<!--#include file="adminleft.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<%
call chkwurl()
call lognamecode()
call logquanxian("a1",1)
%>

<title><%=webname%>-最高权限-网站设置</title>  

<DIV>
	
<%
act=request.QueryString("act")
if act="edit" then

'httpmode=request.Form("httpmode")
'if httpmode="" then httpmode="http://"
'if httpmode="yes" then httpmode="https://"

adminaddress=trim(request.Form("adminaddress"))
webname=trim(request.Form("webname"))
zweburl=trim(request.Form("zweburl"))
weburl=trim(request.Form("weburl"))
webyulei=trim(request.Form("webyulei"))
if trim(webyulei)="" then webyulei="no"
wapurl=trim(request.Form("wapurl"))
iswap=trim(request.Form("iswap"))
if trim(iswap)="" then iswap="no"
pichost=trim(request.Form("pichost"))
if trim(pichost)="" then pichost="/"
ossurl=trim(request.Form("ossurl"))
if trim(ossurl)="" then ossurl="/"
apijk=trim(request.Form("apijk"))
isfan=trim(request.Form("isfan"))
if trim(isfan)="" then isfan="no"
nofan=trim(request.Form("nofan"))
faxinfang=trim(request.Form("faxinfang"))
ptjiami=trim(request.Form("ptjiami"))
rejiami=trim(request.Form("rejiami"))

isgzhtika=trim(request.Form("isgzhtika"))
if trim(isgzhtika)="" then isgzhtika="no"

if trim(ptjiami)="" then
response.Write "请设置-加密字符串"
response.End()
end if
if trim(rejiami)="" then
response.Write "请设置-订单回调秘钥"
response.End()
end if

gsname=trim(request.Form("gsname"))
jname=trim(request.Form("jname"))
gsadd=trim(request.Form("gsadd"))
gsaddpic=trim(request.Form("gsaddpic"))
webkeywords=trim(request.Form("webkeywords"))
webdescription=trim(request.Form("webdescription"))
weblogo=trim(request.Form("weblogo"))
webdlogo=trim(request.Form("webdlogo"))
xinlangweibo=trim(request.Form("xinlangweibo"))
tengxunweibo=trim(request.Form("tengxunweibo"))
gongzhonghaoname=trim(request.Form("gongzhonghaoname"))
gongzhonghaopic=trim(request.Form("gongzhonghaopic"))
icpbei=trim(request.Form("icpbei"))
icpzheng=trim(request.Form("icpzheng"))
wanganbei=trim(request.Form("wanganbei"))

buytishi=trim(request.Form("buytishi"))
if trim(buytishi)="" then buytishi="no"
allfuwuqqmai=trim(request.Form("allfuwuqqmai"))
fuwuqq=trim(request.Form("fuwuqq"))
allfuwuqq=trim(request.Form("allfuwuqq"))
shenheqq=trim(request.Form("shenheqq"))
qq5=trim(request.Form("qq5"))
kfwxhao=trim(request.Form("kfwxhao"))
kfwxerweima=trim(request.Form("kfwxerweima"))
gsmail=trim(request.Form("gsmail"))
fuwutel=trim(request.Form("fuwutel"))
allfuwutel=trim(request.Form("allfuwutel"))
showtel=trim(request.Form("showtel"))
if trim(showtel)="" then showtel="no"
appid=trim(request.Form("appid"))
secret=trim(request.Form("secret"))

iswxkfon=trim(request.Form("iswxkfon"))
if trim(iswxkfon)="" then iswxkfon="no"
wxkfappid=trim(request.Form("wxkfappid"))
wxkfsecret=trim(request.Form("wxkfsecret"))
wxkfre=trim(request.Form("wxkfre"))

isqqkfon=trim(request.Form("isqqkfon"))
if trim(isqqkfon)="" then isqqkfon="no"
qqkfappid=trim(request.Form("qqkfappid"))
qqkfsecret=trim(request.Form("qqkfsecret"))
qqkfre=trim(request.Form("qqkfre"))
qqkfwapre=trim(request.Form("qqkfwapre"))
maichukazhuanyi=trim(request.Form("maichukazhuanyi"))
if trim(maichukazhuanyi)="" then
response.Write "请设置-卖出卡转移独立库"
response.End()
end if

mailformname=trim(request.Form("mailformname"))
mailform=trim(request.Form("mailform"))
mailservername=trim(request.Form("mailservername"))
mailserverpass=trim(request.Form("mailserverpass"))
mailserver=trim(request.Form("mailserver"))
aysmsuser=trim(request.Form("aysmsuser"))
aysmspass=trim(request.Form("aysmspass"))
zzmail=trim(request.Form("zzmail"))
zztel=trim(request.Form("zztel"))

bannerpic1=trim(request.Form("bannerpic1"))
bannerlink1=trim(request.Form("bannerlink1"))
bannerpic2=trim(request.Form("bannerpic2"))
bannerlink2=trim(request.Form("bannerlink2"))
bannerpic3=trim(request.Form("bannerpic3"))
bannerlink3=trim(request.Form("bannerlink3"))
bannerpic4=trim(request.Form("bannerpic4"))
bannerlink4=trim(request.Form("bannerlink4"))
bannerpic5=trim(request.Form("bannerpic5"))
bannerlink5=trim(request.Form("bannerlink5"))

vipj=trim(request.Form("vipj"))
vneiqian=trim(request.Form("vneiqian"))
xiaobaojine=trim(request.Form("xiaobaojine"))
zidingyi1=trim(request.Form("zidingyi1"))
zidingyi2=trim(request.Form("zidingyi2"))

chongali=trim(request.Form("chongali"))
chongwx=trim(request.Form("chongwx"))

	sql="select * from aysitesys" 
	rs.open sql,conn,1,3
	rs("adminaddress")=adminaddress
	rs("webname")=webname
	rs("zweburl")=zweburl
	rs("weburl")=weburl
	rs("webyulei")=webyulei
	rs("wapurl")=wapurl
	rs("iswap")=iswap
	rs("pichost")=pichost
	rs("ossurl")=ossurl
	rs("apijk")=apijk
	rs("isfan")=isfan
	rs("nofan")=nofan
	rs("faxinfang")=faxinfang
	rs("ptjiami")=ptjiami
	rs("rejiami")=rejiami
	rs("gsname")=gsname
	rs("jname")=jname
	rs("gsadd")=gsadd
	rs("gsaddpic")=gsaddpic
	rs("webkeywords")=webkeywords
	rs("webdescription")=webdescription
	rs("weblogo")=weblogo
	rs("webdlogo")=webdlogo
	
	rs("xinlangweibo")=xinlangweibo
	rs("tengxunweibo")=tengxunweibo
	rs("gongzhonghaoname")=gongzhonghaoname
	rs("gongzhonghaopic")=gongzhonghaopic
	rs("icpbei")=icpbei
	rs("icpzheng")=icpzheng
	rs("wanganbei")=wanganbei
	rs("buytishi")=buytishi
	rs("allfuwuqqmai")=allfuwuqqmai
	rs("fuwuqq")=fuwuqq
	rs("allfuwuqq")=allfuwuqq
	rs("shenheqq")=shenheqq
	rs("qq5")=qq5
	rs("kfwxhao")=kfwxhao
	rs("kfwxerweima")=kfwxerweima
	rs("gsmail")=gsmail
	rs("fuwutel")=fuwutel
	rs("allfuwutel")=allfuwutel
	rs("showtel")=showtel
	rs("appid")=appid
	rs("secret")=secret
	rs("iswxkfon")=iswxkfon
	rs("wxkfappid")=wxkfappid
	rs("wxkfsecret")=wxkfsecret
	rs("wxkfre")=wxkfre
	rs("isqqkfon")=isqqkfon
	rs("qqkfappid")=qqkfappid
	rs("qqkfsecret")=qqkfsecret
	rs("qqkfre")=qqkfre
	rs("qqkfwapre")=qqkfwapre
	rs("maichukazhuanyi")=maichukazhuanyi
	rs("mailformname")=mailformname
	rs("mailform")=mailform
	rs("mailservername")=mailservername
	rs("mailserverpass")=mailserverpass
	rs("mailserver")=mailserver
	rs("aysmsuser")=aysmsuser
	rs("aysmspass")=aysmspass
	rs("zzmail")=zzmail
	rs("zztel")=zztel

	rs("bannerpic1")=bannerpic1
	rs("bannerlink1")=bannerlink1
	rs("bannerpic2")=bannerpic2
	rs("bannerlink2")=bannerlink2
	rs("bannerpic3")=bannerpic3
	rs("bannerlink3")=bannerlink3
	rs("bannerpic4")=bannerpic4
	rs("bannerlink4")=bannerlink4
	rs("bannerpic5")=bannerpic5
	rs("bannerlink5")=bannerlink5

	rs("vipj")=vipj
	rs("vneiqian")=vneiqian
	rs("xiaobaojine")=xiaobaojine
	rs("isgzhtika")=isgzhtika
	
	rs("zidingyi1")=zidingyi1
	rs("zidingyi2")=zidingyi2
	
	rs("chongali")=chongali
	rs("chongwx")=chongwx
	
	rs.update
	rs.close

	call logadd(request.Cookies("aynameid"),"管理-网站设置成功",0,0)
call PopErr2("网站设置成功！","adminsys_site.asp")
end if


%>
<DIV id=main1200> 
<%call webleft()%>
<DIV id=main_right>
<DIV id=main_right_content>
<STYLE>.apply_style {
	POSITION: absolute
}
.right_title A {
	LINE-HEIGHT: 27px; WIDTH: 126px; DISPLAY: inline-block; BACKGROUND: url(<%=ossurl%>images/bg22.gif) no-repeat; HEIGHT: 27px
}
.right_title A.current {
	BACKGROUND: url(<%=ossurl%>images/main_right_title_bg.gif) no-repeat; COLOR: #fff; FONT-WEIGHT: bold
}
.table_style_1 TD {
	HEIGHT: 38px
}
.table_style_home_info TD {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; HEIGHT: 30px; PADDING-TOP: 0px
}
</STYLE>


<%
sql="select * from aysitesys" 
rs.open sql,conn,1,1
%>

<DIV class=right_titleadmin>&nbsp;&nbsp;网站设置</DIV>
<DIV class=main>

<form action="?act=edit" method="post" name="form" id="form">
  <TABLE width="98%" class=table_style_2 style="MARGIN: 15px 0px">
  <TBODY>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>基本参数</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">后台路径：</TD>
    <TD><input name="adminaddress" type="text" id="adminaddress" size="16" class="inputty" value="<%if trim(rs("adminaddress"))<>"" then response.Write trim(rs("adminaddress"))%>"> 
      <span style="color: #999999">管理后台路径，注意：在这里修改后，请将根目录后台文件夹修改一致</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">平台名称：</TD>
    <TD><input name="webname" type="text" class="inputty" id="webname" value="<%if trim(rs("webname"))<>"" then response.Write trim(rs("webname"))%>" size="46" maxlength="30"> <span style="color: #999999">网站名称</span></TD>
  </TR>

  <TR>
    <TD height="30" align="center">该服务器网址：</TD>
    <TD><input name="weburl" type="text" class="inputty" id="weburl" value="<%if trim(rs("weburl"))<>"" then response.Write trim(rs("weburl"))%>" size="46" maxlength="30">	
    <span style="color: #999999">网站地址   以http://开头 以/结尾  如 http://www.ikpay.cn/</span>	</TD>
  </TR>
  <TR>
    <TD height="30" align="center">平台域名类别：</TD>
    <TD>
    <select name="webyulei" id="webyulei">
      <option value="yes" <%if trim(rs("webyulei"))="yes" then response.Write("selected")%>>单扩展域名-如.com/.cn/.org/.net</option>
      <option value="no" <%if trim(rs("webyulei"))="no" then response.Write("selected")%>>双扩展域名-如.com.cn/.org.cn</option>
    </select> 
    </TD>
  </TR>
 <TR>
    <TD height="30" align="center">WAP网址：</TD>
    <TD><input name="wapurl" type="text" class="inputty" id="wapurl" value="<%if trim(rs("wapurl"))<>"" then response.Write trim(rs("wapurl"))%>" size="46" maxlength="30">
      <input name="iswap" type="checkbox" id="iswap" value="yes" <%if trim(rs("iswap"))="yes" then response.Write "checked"%>>
      开启 <span style="color: #999999">手机端地址   以http://开头  以/结尾  如 http://wap.ikpay.cn/</span></TD>
  </TR> 
  <TR> 
    <TD height="30" align="center">图片服务器地址：</TD>
    <TD><input name="pichost" type="text" class="inputty" id="pichost" value="<%if trim(rs("pichost"))<>"" then response.Write trim(rs("pichost"))%>" size="46" maxlength="30">
      <span style="color: #999999">该地址为固定地址，禁止使用负载均衡，该地址用于上传投诉图片，商品图片等，为多服务器负载均衡使用，如不需要单独设置直接填写/</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">阿里云OSS地址：</TD>
    <TD><input name="ossurl" type="text" class="inputty" id="ossurl" value="<%if trim(rs("ossurl"))<>"" then response.Write trim(rs("ossurl"))%>" size="46" maxlength="30"> <span style="color: #999999">可将图片上传至阿里云OSS地址 减少服务器图片加载流量  以http://开头 以/结尾   如不需要直接填写/</span></TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">API接口地址：</TD>
    <TD><input name="apijk" type="text" class="inputty" id="apijk" value="<%if trim(rs("apijk"))<>"" then response.Write trim(rs("apijk"))%>" size="46" maxlength="30">
      <span style="color: #999999">API接口地址 用于调用IK支付接口  以http://开头 以/结尾  默认 https://api.ikpay.cn/</span></TD>
  </TR>

  <TR>
    <TD height="30" align="center">二级域名泛解析：</TD>
    <TD><input name="isfan" type="checkbox" id="isfan" value="yes" <%if trim(rs("isfan"))="yes" then response.Write "checked"%>>
      开启 &nbsp;<span style="color: #999999">商品购买链接二级域名如：buy.ikpay.cn   &nbsp;abc.ikpay.cn 如使用该功能请做好域名@记录泛解析 如：*.ikpay.cn 并且IIS添加域名记录(不指定域名的记录) </span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">禁用泛解析字头：</TD>
    <TD><input name="nofan" type="text" id="nofan" size="46" class="inputty" value="<%if trim(rs("nofan"))<>"" then response.Write trim(rs("nofan"))%>">
      <span style="color: #999999">禁止商户设置个性链接 用小写逗号分隔 如admin,wap 则是禁用admin.ikpay.cn与wap.ikpay.cn</span> <span style="color:#F00">如果平台网址为二级域名，请添加字头</span></TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">发信方设置：</TD>
    <TD>
    <select name="faxinfang" id="faxinfang">
      <option value="IK" <%if trim(rs("faxinfang"))="IK" then response.Write("selected")%>>默认IK发信</option>
    </select> 
    <span style="color: #999999">默认请使用IK发信</span></TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">加密字符串：</TD>
    <TD><input name="ptjiami" type="text" class="inputty" id="ptjiami" value="<%if trim(rs("ptjiami"))<>"" then response.Write trim(rs("ptjiami"))%>" size="46" maxlength="20">
    <span style="color: #999999">用于参与重要事件加密签名验证，防止重要信息被篡改，如订单交易，财务提现等，建议定期更改</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">订单回调秘钥：</TD>
    <TD><input name="rejiami" type="text" class="inputty" id="rejiami" value="<%if trim(rs("rejiami"))<>"" then response.Write trim(rs("rejiami"))%>" size="46" maxlength="20">
    <span style="color: #999999">不超过10位字符，如果多服务器请注意同时同步修改！用于鉴别是否伪造订单，在支付回调时验证需和该参数一致</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">卖出卡转移独立库</TD>
    <TD><input name="maichukazhuanyi" type="text" id="maichukazhuanyi" size="46" class="inputty" value="<%if trim(rs("maichukazhuanyi"))<>"" then response.Write trim(rs("maichukazhuanyi"))%>">天
      <span style="color: #999999">如设置15天则表示，将超过15天的已卖出的卡密转移到独立卡密库，缓解数据库压力</span></TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>公司信息</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司名称：</TD>
    <TD><input name="gsname" type="text" class="inputty" id="gsname" value="<%if trim(rs("gsname"))<>"" then response.Write trim(rs("gsname"))%>" size="46" maxlength="40"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司简称：</TD>
    <TD><input name="jname" type="text" class="inputty" id="jname" value="<%if trim(rs("jname"))<>"" then response.Write trim(rs("jname"))%>" size="46" maxlength="20"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司地址：</TD>
    <TD><input name="gsadd" type="text" class="inputty" id="gsadd" value="<%if trim(rs("gsadd"))<>"" then response.Write trim(rs("gsadd"))%>" size="46" maxlength="50"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司地址坐标图：</TD>
    <TD><input name="gsaddpic" type="text" id="gsaddpic" size="46" class="inputty" value="<%if trim(rs("gsaddpic"))<>"" then response.Write trim(rs("gsaddpic"))%>">
    <span style="color: #999999">用于"联系我们"展示地理位置 宽度850px 默认 /Template/Template4/img/map.jpg</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">网站关键字：</TD> 
    <TD><input name="webkeywords" type="text" id="webkeywords" size="46" class="inputty" value="<%if trim(rs("webkeywords"))<>"" then response.Write trim(rs("webkeywords"))%>"> 
    <span style="color: #999999">如 爱卡 自动发卡 用于搜索引擎收录</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">网站描述：</TD>
    <TD><input name="webdescription" type="text" id="webdescription" size="46" class="inputty" value="<%if trim(rs("webdescription"))<>"" then response.Write trim(rs("webdescription"))%>"> <span style="color: #999999">如 爱卡 自动发卡 用于于搜索引擎收录</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">PC网站LOGO：</TD>
    <TD><input name="weblogo" type="text" id="weblogo" size="46" class="inputty" value="<%if trim(rs("weblogo"))<>"" then response.Write trim(rs("weblogo"))%>"> 
      <span style="color: #999999">网站LOGO地址 默认 /Template/Template4/logo/logo.gif</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">WAP网站LOGO：</TD>
    <TD><input name="webdlogo" type="text" id="webdlogo" size="46" class="inputty" value="<%if trim(rs("webdlogo"))<>"" then response.Write trim(rs("webdlogo"))%>"> 
      <span style="color: #999999">网站短LOGO地址 默认 /Template/Template4/logo/logo.png 用于商户自定义域名使用</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">新浪微博地址：</TD>
    <TD><input name="xinlangweibo" type="text" id="xinlangweibo" size="46" class="inputty" value="<%if trim(rs("xinlangweibo"))<>"" then response.Write trim(rs("xinlangweibo"))%>"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">腾讯微博地址：</TD>
    <TD><input name="tengxunweibo" type="text" id="tengxunweibo" size="46" class="inputty" value="<%if trim(rs("tengxunweibo"))<>"" then response.Write trim(rs("tengxunweibo"))%>"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信公众号名称：</TD>
    <TD><input name="gongzhonghaoname" type="text" class="inputty" id="gongzhonghaoname" value="<%if trim(rs("gongzhonghaoname"))<>"" then response.Write trim(rs("gongzhonghaoname"))%>" size="46" maxlength="20">
 </TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信公众号二维码：</TD>
    <TD><input name="gongzhonghaopic" type="text" id="gongzhonghaopic" size="46" class="inputty" value="<%if trim(rs("gongzhonghaopic"))<>"" then response.Write trim(rs("gongzhonghaopic"))%>">
    <span style="color: #999999">默认: /images/weixinma.jpg 尺寸230*230</span></TD>
  </TR>

  <TR>
    <TD height="30" align="center">ICP备案号：</TD>
    <TD><input name="icpbei" type="text" class="inputty" id="icpbei" value="<%if trim(rs("icpbei"))<>"" then response.Write trim(rs("icpbei"))%>" size="46" maxlength="20"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">ICP许可证：</TD>
    <TD><input name="icpzheng" type="text" class="inputty" id="icpzheng" value="<%if trim(rs("icpzheng"))<>"" then response.Write trim(rs("icpzheng"))%>" size="46" maxlength="20"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">网安备案号：</TD>
    <TD><input name="wanganbei" type="text" class="inputty" id="wanganbei" value="<%if trim(rs("wanganbei"))<>"" then response.Write trim(rs("wanganbei"))%>" size="46" maxlength="20"></TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>相关费用</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
    <TR>
      <TD height="30" align="center">平台支付宝充值二维码</TD>
      <TD><input name="chongali" type="text" id="chongali" size="46" class="inputty" value="<%if rs("chongali")<>"" then response.Write rs("chongali")%>">
      <span style="color: #999999">默认: /images/payimg/chongali.jpg 尺寸230*230</span></TD>
    </TR>
    <TR>
      <TD height="30" align="center">平台微信充值二维码</TD>
      <TD><input name="chongwx" type="text" id="chongwx" size="46" class="inputty" value="<%if rs("chongwx")<>"" then response.Write rs("chongwx")%>">
      <span style="color: #999999">默认: /images/payimg/chongwx.jpg 尺寸230*230</span></TD>
    </TR>
    <TR>
      <TD height="30" align="center">尊贵VIP年费</TD>
      <TD><input name="vipj" type="text" id="vipj" size="46" class="inputty" value="<%if rs("vipj")<>"" then response.Write rs("vipj")%>"></TD>
    </TR>
  <TR>
    <TD height="30" align="center">单独内嵌代码年费</TD>
    <TD><input name="vneiqian" type="text" id="vneiqian" size="46" class="inputty" value="<%if rs("vneiqian")<>"" then response.Write rs("vneiqian")%>"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">VIP金额</TD>
    <TD><input name="xiaobaojine" type="text" id="xiaobaojine" size="46" class="inputty" value="<%if rs("xiaobaojine")<>"" then response.Write rs("xiaobaojine")%>"></TD>
  </TR>
  
  
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>联系方式</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">购买页提示：</TD>
    <TD>
<input name="buytishi" type="checkbox" id="buytishi" value="yes" <%if trim(rs("buytishi"))="yes" then response.Write "checked"%>>
开启 &nbsp;<span style="color: #999999">商品购买页面 开启友情提示 联系商家QQ等</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">买家客服QQ：</TD>
    <TD><input name="allfuwuqqmai" type="text" id="allfuwuqqmai" size="46" class="inputty" value="<%if trim(rs("allfuwuqqmai"))<>"" then response.Write trim(rs("allfuwuqqmai"))%>">
    <span style="color: #999999">显示在网站底部，可以是多个QQ</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">负责投诉QQ：</TD>
    <TD><input name="fuwuqq" type="text" class="inputty" id="fuwuqq" value="<%if trim(rs("fuwuqq"))<>"" then response.Write trim(rs("fuwuqq"))%>" size="46" maxlength="15">
    <span style="color: #999999">只允许填写一个 用于支付接口标题显示的QQ 建议填写负责查询或投诉的客服QQ</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">商家客服QQ：</TD>
    <TD><input name="allfuwuqq" type="text" id="allfuwuqq" size="46" class="inputty" value="<%if trim(rs("allfuwuqq"))<>"" then response.Write trim(rs("allfuwuqq"))%>">
    <span style="color: #999999">显示在网站底部，可以是多个QQ</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">负责审核QQ：</TD>
    <TD><input name="shenheqq" type="text" id="shenheqq" size="46" class="inputty" value="<%if trim(rs("shenheqq"))<>"" then response.Write trim(rs("shenheqq"))%>">
    <span style="color: #999999"> 用于平台开启了审核机制 在新商户注册后页面 显示的审核客服QQ，可以是多个QQ</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">商户QQ群：</TD>
    <TD><input name="qq5" type="text" class="inputty" id="qq5" value="<%if trim(rs("qq5"))<>"" then response.Write trim(rs("qq5"))%>" size="46" maxlength="15">
    <span style="color: #999999">显示在网站中右侧在线客服列表</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">客服微信号：</TD>
    <TD><input name="kfwxhao" type="text" class="inputty" id="kfwxhao" value="<%if trim(rs("kfwxhao"))<>"" then response.Write trim(rs("kfwxhao"))%>" size="46" maxlength="20">
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">客服微信二维码：</TD>
    <TD><input name="kfwxerweima" type="text" id="kfwxerweima" size="46" class="inputty" value="<%if trim(rs("kfwxerweima"))<>"" then response.Write trim(rs("kfwxerweima"))%>">
    <span style="color: #999999">默认: /images/kfweixinma.jpg 尺寸230*230</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司邮箱：</TD>
    <TD><input name="gsmail" type="text" class="inputty" id="gsmail" value="<%if trim(rs("gsmail"))<>"" then response.Write trim(rs("gsmail"))%>" size="46" maxlength="30"></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司400电话：</TD>
    <TD><input name="fuwutel" type="text" class="inputty" id="fuwutel" value="<%if trim(rs("fuwutel"))<>"" then response.Write trim(rs("fuwutel"))%>" size="46" maxlength="15">
    <span style="color: #999999">显示在页面左上角的一个电话 建议400电话</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">公司所有电话：</TD>
    <TD><input name="allfuwutel" type="text" id="allfuwutel" size="46" class="inputty" value="<%if trim(rs("allfuwutel"))<>"" then response.Write trim(rs("allfuwutel"))%>">
    <span style="color: #999999">显示在网站底部，可以是多个电话</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">展示公司电话</TD>
    <TD><input name="showtel" type="checkbox" id="showtel" value="yes" <%if trim(rs("showtel"))="yes" then response.Write "checked"%>> 展示</TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>微信公众号</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">微信公众号APPID</TD>
    <TD><input name="appid" type="text" class="inputty" id="appid" value="<%if trim(rs("appid"))<>"" then response.Write trim(rs("appid"))%>" size="46">
    <span style="color: #999999">用于微信支付 微信wap公众号支付 <a href="https://mp.weixin.qq.com/" target="_blank">https://mp.weixin.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信公众号SECRET</TD>
    <TD><input name="secret" type="text" class="inputty" id="secret" value="<%if trim(rs("secret"))<>"" then response.Write trim(rs("secret"))%>" size="46">
    <span style="color: #999999">用于微信支付 微信wap公众号支付 <a href="https://mp.weixin.qq.com/" target="_blank">https://mp.weixin.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">购买页开启微信提卡：</TD>
    <TD><input name="isgzhtika" type="checkbox" id="isgzhtika" value="yes" <%if trim(rs("isgzhtika"))="yes" then response.Write "checked"%>> 开启
    <span style="color: #999999">先配置好公众号信息</span>	</TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>开放平台</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信快捷登录</TD>
    <TD><input name="iswxkfon" type="checkbox" id="iswxkfon" value="yes" <%if trim(rs("iswxkfon"))="yes" then response.Write "checked"%>> 开启</TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信开发平台APPID</TD>
    <TD><input name="wxkfappid" type="text" class="inputty" id="wxkfappid" value="<%if trim(rs("wxkfappid"))<>"" then response.Write trim(rs("wxkfappid"))%>" size="46" maxlength="20">
    <span style="color: #999999">用于使用微信登录 <a href="https://open.weixin.qq.com/" target="_blank">https://open.weixin.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信开发平台SECRET</TD>
    <TD><input name="wxkfsecret" type="text" class="inputty" id="wxkfsecret" value="<%if trim(rs("wxkfsecret"))<>"" then response.Write trim(rs("wxkfsecret"))%>" size="46" maxlength="40">
    <span style="color: #999999">用于使用微信登录 <a href="https://open.weixin.qq.com/" target="_blank">https://open.weixin.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">微信开发平台回调地址</TD>
    <TD><input name="wxkfre" type="text" class="inputty" id="wxkfre" value="<%if trim(rs("wxkfre"))<>"" then response.Write trim(rs("wxkfre"))%>" size="46">
    <span style="color: #999999">微信授权登录成功后的平台回调地址 默认http://www.xxx.com/open/weixin/re.asp 将www.xxx.com替换为你的域名</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">QQ快捷登录</TD>
    <TD><input name="isqqkfon" type="checkbox" id="isqqkfon" value="yes" <%if trim(rs("isqqkfon"))="yes" then response.Write "checked"%>> 开启</TD>
  </TR>
  <TR>
    <TD height="30" align="center">QQ互联APPID</TD>
    <TD><input name="qqkfappid" type="text" class="inputty" id="qqkfappid" value="<%if trim(rs("qqkfappid"))<>"" then response.Write trim(rs("qqkfappid"))%>" size="46" maxlength="20">
    <span style="color: #999999">用于使用QQ登录 <a href="https://connect.qq.com/" target="_blank">https://connect.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">QQ互联APPKEY</TD>
    <TD><input name="qqkfsecret" type="text" class="inputty" id="qqkfsecret" value="<%if trim(rs("qqkfsecret"))<>"" then response.Write trim(rs("qqkfsecret"))%>" size="46" maxlength="40">
    <span style="color: #999999">用于使用QQ登录 <a href="https://connect.qq.com/" target="_blank">https://connect.qq.com/</a>查看</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">QQ互联PC端回调地址</TD>
    <TD><input name="qqkfre" type="text" class="inputty" id="qqkfre" value="<%if trim(rs("qqkfre"))<>"" then response.Write trim(rs("qqkfre"))%>" size="46">
    <span style="color: #999999">QQ授权登录成功后的平台回调地址 默认http://www.xxx.com/open/qq/re.asp 将www.xxx.com替换为你的域名</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">QQ互联WAP端回调地址</TD>
    <TD><input name="qqkfwapre" type="text" class="inputty" id="qqkfwapre" value="<%if trim(rs("qqkfwapre"))<>"" then response.Write trim(rs("qqkfwapre"))%>" size="46">
    <span style="color: #999999">QQ授权登录成功后的平台回调地址 默认http://www.xxx.com/open/qq/re.asp 将www.xxx.com替换为你的域名</span></TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>短信/邮件发信设置</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">邮件-发信名称：</TD>
    <TD><input name="mailformname" type="text" class="inputty" id="mailformname" value="<%if trim(rs("mailformname"))<>"" then response.Write trim(rs("mailformname"))%>" size="46" maxlength="40"> 
      <span style="color: #999999">邮件发信显示的名称 如 爱卡发卡</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">邮件-发信地址：</TD>
    <TD><input name="mailform" type="text" class="inputty" id="mailform" value="<%if trim(rs("mailform"))<>"" then response.Write trim(rs("mailform"))%>" size="46" maxlength="40"> <span style="color: #999999">邮件地址 如 webmaster@ikpay.cn</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">邮件-发信用户名：</TD>
    <TD><input name="mailservername" type="text" class="inputty" id="mailservername" value="<%if trim(rs("mailservername"))<>"" then response.Write trim(rs("mailservername"))%>" size="46" maxlength="40"> <span style="color: #999999">邮箱用户名 如 webmaster@ikpay.cn 一般填写邮箱地址</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">邮件-发信密码：</TD>
    <TD><input name="mailserverpass" type="password" class="inputty" id="mailserverpass" value="<%if trim(rs("mailserverpass"))<>"" then response.Write trim(rs("mailserverpass"))%>" size="46" maxlength="40"> 
    <span style="color: #999999">邮箱密码</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">邮件-发信服务器：</TD>
    <TD><input name="mailserver" type="text" class="inputty" id="mailserver" value="<%if trim(rs("mailserver"))<>"" then response.Write trim(rs("mailserver"))%>" size="46" maxlength="40"> <span style="color: #999999">咨询邮箱官方 如 网易发信服务器 smtp.163.com</span></TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">IK短信-Partner：</TD>
    <TD><input name="aysmsuser" type="text" class="inputty" id="aysmsuser" value="<%if trim(rs("aysmsuser"))<>"" then response.Write trim(rs("aysmsuser"))%>" size="46" maxlength="20"> 
    <span style="color: #999999"><a href="https://api.ikpay.cn" style="color: #999999" target="_blank">api.ikpay.cn</a> 注册ID-审核通过后-查看Partner</span></TD>
  </TR>
  <TR>
    <TD height="30" align="center">IK短信-网关密码：</TD>
    <TD><input name="aysmspass" type="password" class="inputty" id="aysmspass" value="<%if trim(rs("aysmspass"))<>"" then response.Write trim(rs("aysmspass"))%>" size="46" maxlength="40"> 
    <span style="color: #999999"><a href="https://api.ikpay.cn" style="color: #999999" target="_blank">api.ikpay.cn</a> 注册ID-进入短信网关-设置短信网关密码-充值短信余额</span></TD>
  </TR>
  
  <TR>
    <TD align="center">站长邮箱：</TD>
    <TD><input name="zzmail" type="text" class="inputty" id="zzmail" value="<%if trim(rs("zzmail"))<>"" then response.Write trim(rs("zzmail"))%>" size="46" maxlength="40"> 
      <span style="color: #999999">用于接收紧急通知 如商户加急提现通知 管理后台核心验证</span></TD>
  </TR>
  <TR>
    <TD align="center">站长手机：</TD>
    <TD><input name="zztel" type="text" class="inputty" id="zztel" value="<%if trim(rs("zztel"))<>"" then response.Write trim(rs("zztel"))%>" size="46" maxlength="20"> <span style="color: #999999">用于接收紧急通知 如商户加急提现通知 管理后台核心验证</span></TD>
  </TR>

  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>Banner/广告</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner1地址:</TD>
    <TD>
    <input name="bannerpic1" type="text" id="bannerpic1" class="inputty" size="46" value="<%if trim(rs("bannerpic1"))<>"" then response.Write trim(rs("bannerpic1"))%>">
    <span style="color: #999999">默认: /Template/Template5/banner/banner1.jpg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner1链接:</TD>
    <TD>
    <input name="bannerlink1" type="text" id="bannerlink1" class="inputty" size="46" value="<%if trim(rs("bannerlink1"))<>"" then response.Write trim(rs("bannerlink1"))%>">
    <span style="color: #999999">默认: /index/reg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner2地址:</TD>
    <TD>
    <input name="bannerpic2" type="text" id="bannerpic2" class="inputty" size="46" value="<%if trim(rs("bannerpic2"))<>"" then response.Write trim(rs("bannerpic2"))%>">
    <span style="color: #999999">默认: /Template/Template5/banner/banner2.jpg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner2链接:</TD>
    <TD>
    <input name="bannerlink2" type="text" id="bannerlink2" class="inputty" size="46" value="<%if trim(rs("bannerlink2"))<>"" then response.Write trim(rs("bannerlink2"))%>">
    <span style="color: #999999">默认: /index/reg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner3地址:</TD>
    <TD>
    <input name="bannerpic3" type="text" id="bannerpic3" class="inputty" size="46" value="<%if trim(rs("bannerpic3"))<>"" then response.Write trim(rs("bannerpic3"))%>">
    <span style="color: #999999">默认: /Template/Template5/banner/banner3.jpg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner3链接:</TD>
    <TD>
    <input name="bannerlink3" type="text" id="bannerlink3" class="inputty" size="46" value="<%if trim(rs("bannerlink3"))<>"" then response.Write trim(rs("bannerlink3"))%>">
    <span style="color: #999999">默认: /index/reg</span>
    </TD>
  </TR>
  
  <TR>
    <TD height="30" align="center">首页Banner4地址:</TD>
    <TD>
    <input name="bannerpic4" type="text" id="bannerpic4" class="inputty" size="46" value="<%if trim(rs("bannerpic4"))<>"" then response.Write trim(rs("bannerpic4"))%>">
    <span style="color: #999999">默认: /Template/Template5/banner/banner4.jpg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner4链接:</TD>
    <TD>
    <input name="bannerlink4" type="text" id="bannerlink4" class="inputty" size="46" value="<%if trim(rs("bannerlink4"))<>"" then response.Write trim(rs("bannerlink4"))%>">
    <span style="color: #999999">默认: /index/reg</span>
    </TD>
  </TR>

  <TR>
    <TD height="30" align="center">首页Banner5地址:</TD>
    <TD>
    <input name="bannerpic5" type="text" id="bannerpic5" class="inputty" size="46" value="<%if trim(rs("bannerpic5"))<>"" then response.Write trim(rs("bannerpic5"))%>">
    <span style="color: #999999">默认: /Template/Template5/banner/banner5.jpg</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">首页Banner5链接:</TD>
    <TD>
    <input name="bannerlink5" type="text" id="bannerlink5" class="inputty" size="46" value="<%if trim(rs("bannerlink5"))<>"" then response.Write trim(rs("bannerlink5"))%>">
    <span style="color: #999999">默认: /index/reg</span>
    </TD>
  </TR>
  <TR style="background-color:#FFE0C1">
    <TD height="30" align="center"><strong>加密文件自定义</strong></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD height="30" align="center">商户后台自定义1:</TD>
    <TD>
    <input name="zidingyi1" type="text" id="zidingyi1" class="inputty" size="46" value="<%if trim(rs("zidingyi1"))<>"" then response.Write trim(rs("zidingyi1"))%>">
    <span style="color: #999999">商户后台 郑重警告内容 第一行</span>
    </TD>
  </TR>
  <TR>
    <TD height="30" align="center">商户后台自定义2:</TD>
    <TD>
    <input name="zidingyi2" type="text" id="zidingyi2" class="inputty" size="46" value="<%if trim(rs("zidingyi2"))<>"" then response.Write trim(rs("zidingyi2"))%>">
    <span style="color: #999999">商户后台 郑重警告内容 第二行</span>
    </TD>
  </TR>
  <TR>
    <TD align="center">&nbsp;</TD>
    <TD height="30"><input type="submit" name="Submit" value=" 保 存 配 置 "></TD>
  </TR>
  </TBODY></TABLE>
	</form>
   
<%
rs.close
%>

</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>
<SCRIPT>
$(function(){
$('.left_title').each(function(){
   $(this).click(function(){
	   var index=$('.left_title').index(this);
	   if($(this).next().hasClass('hide_m')){
		   $(this).next().removeClass('hide_m');
           $(this).next().show();		 
		   $(this).find('img').attr('src','<%=ossurl%>images/expansion.gif');
		   $.cookie('m_index_'+index,'',{expires:0});
	   } else {
	       $(this).next().hide();
		   $(this).next().addClass('hide_m');
		   $(this).find('img').attr('src','<%=ossurl%>images/shrank.gif');		   
		   $.cookie('m_index_'+index,'none',{expires:365});
	   }
   })
})

$('.left_title').each(function(){
	var index=$('.left_title').index(this);
    $(this).next().css('display',$.cookie('m_index_'+index) ? $.cookie('m_index_'+index) : '');
	if($.cookie('m_index_'+index)){
	    $(this).next().addClass('hide_m');
	}
	$(this).find('img').attr('src',$.cookie('m_index_'+index) ? '<%=ossurl%>images/shrank.gif' : '<%=ossurl%>images/expansion.gif');
})
})

</SCRIPT>


	<!--#include virtual="/show/footadmin.asp"-->

