<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<!--#include file="../include/lebi_cache_cls.asp"-->
<!--#include file="../include/config.inc"-->
<%
'*****************************************
'* 软件名称 乐彼网上开店软件(56770 EShop)
'* 软件开发 http://www.56770.com
'* 版权所有 http://www.56770.com
'* 文件名称 Admin_pay.asp
'* 最后更新 2013-10-17 by 56770.kingdge
'*****************************************
Dim admin_flag
admin_flag=",8.8,"
include "lang/"& LangFilePath &"/lang_sys.inc"
include "lang/"& LangFilePath &"/lang_menu.inc"
include "lang/"& LangFilePath &"/lang_pay.inc"
CurrentId = 5
CurrentUrl = "admin_pay.asp"
LB_Head()
LB_Menu()
Response.Write("<div class=""mainbody"">")
Response.Write("<div class=""mainbody2"">")
If Eshop_Lebi_name="" Or instr(","&Eshop_Lebi_flag&",",admin_flag)=0 Then
        adminflag()
Else
		If OutSubmit = 1 Then CheckOutSubmit()
        Select Case request("action")
		       Case "update" update()
			   Case "chinabank" chinabank()
			   Case "alipay" alipay()
			   Case "paypal" paypal()
			   Case "paypal_cn" paypal_cn()
			   Case "bill" bill()
			   Case "tenpay" tenpay()
			   Case "tenpay2" tenpay2()
			   Case "ips" ips()
			   Case "baofu" baofu()
			   Case Else
			        main()
		End Select
End If
Response.Write("</div>")
Response.Write("</div>")
LB_Footer()

Sub update()
        If OnlyRead = 1 Then OnlyReadMessage()
        up_type = request("up_type")
		pay_name = safereplace(request("pay_name"))
		ShowLang = Replace(safereplace(request("ShowLang"))," ","")
		pic_title = safereplace(request("pic_title"))
		paymentpic_title = safereplace(request("paymentpic_title"))
        set rss=server.CreateObject("adodb.recordset")
        sql="select * from [Lebi_pay]"
        rss.open sql, conn, 1, 3
		If up_type = 1 Then
		        rss("p_chinabank")=Safereplace(trim(request("chinabank_state")))&"|"&Safereplace(trim(request("chinabank_name")))&"|"&Safereplace(trim(request("chinabank_key")))&"|"&Safereplace(trim(request("chinabank_leixing")))&"|"&Safereplace(trim(request("chinabank_url")))&"|"&replace(trim(request("chinabank_info")),"'","’")&"|"&Safereplace(trim(request("chinabank_pic")))&"|"&Safereplace(trim(request("chinabank_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
        End If
		If up_type = 2 Then
		        rss("p_alipay")=Safereplace(trim(request("alipay_state")))&"|"&Safereplace(trim(request("alipay_email")))&"|"&Safereplace(trim(request("alipay_code")))&"|"&Safereplace(Trim(request("alipay_partnerId")))&"|"&Safereplace(trim(request("alipay_of")))&"|"&Safereplace(trim(request("alipay_ef")))&"|"&Safereplace(trim(request("alipay_url")))&"|"&replace(trim(request("alipay_info")),"'","’")&"|"&Safereplace(trim(request("alipay_pic")))&"|"&Safereplace(trim(request("alipay_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|"& Safereplace(trim(request("alipay_service"))) &"||||"
		End If
        If up_type = 3 Then
		        rss("p_paypal")=Safereplace(trim(request("paypal_state")))&"|"&Safereplace(trim(request("paypal_name")))&"|"&Replace(Safereplace(trim(request("paypal_code")))," ","")&"|"&replace(trim(request("paypal_info")),"'","’")&"|"&Safereplace(trim(request("paypal_pic")))&"|"&Safereplace(trim(request("paypal_paymentpic")))&"|"&Safereplace(trim(request("paypal_key")))&"|"&Safereplace(trim(request("paypal_url")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
		End If
		If up_type = 4 Then
                rss("p_99bill")=Safereplace(Trim(request("bill_state")))&"|"&Safereplace(trim(request("bill_id")))&"|"&Safereplace(trim(request("bill_key")))&"|"&Safereplace(trim(request("bill_url")))&"|"&replace(trim(request("bill_info")),"'","’")&"|"&Safereplace(trim(request("bill_pic")))&"|"&Safereplace(trim(request("bill_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
		End If
		If up_type = 5 Then
		        rss("p_tenpay")=Safereplace(trim(request("tenpay_state")))&"|"&Safereplace(trim(request("tenpay_name")))&"|"&Safereplace(trim(request("tenpay_key")))&"|"&Safereplace(trim(request("tenpay_leixing")))&"|"&Safereplace(trim(request("tenpay_url")))&"|"&replace(trim(request("tenpay_info")),"'","’")&"|"&Safereplace(trim(request("tenpay_pic")))&"|"&Safereplace(trim(request("tenpay_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
        End If
		If up_type = 6 Then
		        rss("p_tenpay2")=Safereplace(trim(request("tenpay_state")))&"|"&Safereplace(trim(request("tenpay_name")))&"|"&Safereplace(trim(request("tenpay_key")))&"|"&Safereplace(trim(request("tenpay_leixing")))&"|"&Safereplace(trim(request("tenpay_url")))&"|"&replace(trim(request("tenpay_info")),"'","’")&"|"&Safereplace(trim(request("tenpay_pic")))&"|"&Safereplace(trim(request("tenpay_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
        End If
        If up_type = 7 Then
		        rss("p_paypal_cn")=Safereplace(trim(request("paypal_state")))&"|"&Safereplace(trim(request("paypal_name")))&"|"&Safereplace(trim(request("paypal_code")))&"|"&replace(trim(request("paypal_info")),"'","’")&"|"&Safereplace(trim(request("paypal_pic")))&"|"&Safereplace(trim(request("paypal_paymentpic")))&"|"&Safereplace(trim(request("paypal_key")))&"|"&Safereplace(trim(request("paypal_url")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|||||"
		End If
        If up_type = 8 Then
		        rss("p_ips")=Safereplace(trim(request("ips_state")))&"|"&Safereplace(trim(request("ips_name")))&"|"&Safereplace(trim(request("ips_key")))&"|"&Safereplace(trim(request("ips_currency")))&"|"&Safereplace(trim(request("ips_url")))&"|"&replace(trim(request("ips_info")),"'","’")&"|"&Safereplace(trim(request("ips_pic")))&"|"&Safereplace(trim(request("ips_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|"&Safereplace(trim(request("ips_gateway")))&"|"&Safereplace(trim(request("ips_lang")))&"|||"
		End If
		If up_type = 9 Then
		        rss("p_baofu")=Safereplace(trim(request("baofu_state")))&"|"&Safereplace(trim(request("baofu_name")))&"|"&Safereplace(trim(request("baofu_key")))&"|"&Safereplace(trim(request("baofu_leixing")))&"|"&Safereplace(trim(request("baofu_url")))&"|"&replace(trim(request("baofu_info")),"'","’")&"|"&Safereplace(trim(request("baofu_pic")))&"|"&Safereplace(trim(request("baofu_paymentpic")))&"|"& pay_name &"|"& pic_title &"|"& paymentpic_title &"|"& ShowLang &"|"&Safereplace(trim(request("baofu_TerminalID")))&"||||"
        End If
        rss.update
        rss.close:Set rss=Nothing
		ManageLog Lang_Pay(1) &" ["&up_type&"]"
		Set Cache = New Cls_Cache
        Cache.DelCache("Lebi_sys_pay")
        Call Up_mes(Lang_sys(69),"·"& Lang_sys(68),0,"?",0,0,2,1)
End Sub

Function paymentstate(str)
        If str = "1" Then
		        paymentstate = "<font color=red>"& Lang_Pay(2) &"</font>"
        Else
		        paymentstate = Lang_Pay(3)
		End If
End Function

Sub main()
Set rs = conn.execute("select * from [Lebi_pay]")
p_tenpay=Split(rs("p_tenpay"),"|")
p_tenpay2=Split(rs("p_tenpay2"),"|")
p_chinabank=Split(rs("p_chinabank"),"|")
p_alipay=Split(rs("p_alipay"),"|")
p_99bill=Split(rs("p_99bill"),"|")
p_paypal=Split(rs("p_paypal"),"|")
p_paypal_cn=Split(rs("p_paypal_cn"),"|")
p_ips=Split(rs("p_ips"),"|")
p_baofu=Split(rs("p_baofu"),"|")
rs.close : Set rs = Nothing
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="paylist" class="classtable">
<tr>
	<td height="30" colspan="4" class="classhead"><%=Lang_Menu(139)%></td>
	<td colspan="2" align="right" class="classhead">
	<%=QuickMenu("Admin_bank.asp|"& Lang_Menu(138) &"","Admin_links.asp|"& Lang_Menu(140) &"")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" width="25%"><%=Lang_Pay(4)%></td>
	 <td class="classtop" height="30" width="25%"><%=Lang_Pay(5)%></td>
	 <td class="classtop" height="30" width="20%"><%=Lang_Pay(6)%></td>
	 <td class="classtop" height="30" width="10%"><%=Lang_Pay(7)%></td>
	 <td class="classtop" height="30" width="10%"><%=Lang_Pay(8)%></td>
	 <td class="classtop" height="30" width="10%"><%=Lang_Pay(9)%></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(10)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(17)%></td>
	 <td class="classrow" height="30"><a href="http://www.tenpay.com/" target="_blank">www.tenpay.com</a></td>
	 <td class="classrow" height="30"><%=p_tenpay(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_tenpay(0))%></td>
	 <td class="classrow" height="30"><a href="?action=tenpay"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="http://union.tenpay.com/mch/mch_index1.shtml?sp_suggestuser=1201973301" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(11)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(18)%></td>
	 <td class="classrow" height="30"><a href="http://www.tenpay.com/" target="_blank">www.tenpay.com</a></td>
	 <td class="classrow" height="30"><%=p_tenpay2(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_tenpay2(0))%></td>
	 <td class="classrow" height="30"><a href="?action=tenpay2"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="http://union.tenpay.com/mch/mch_index1.shtml?sp_suggestuser=1201973301" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(12)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(19)%></td>
	 <td class="classrow" height="30"><a href="http://www.99bill.com/" target="_blank">www.99bill.com</a></td>
	 <td class="classrow" height="30"><%=p_99bill(10)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_99bill(0))%></td>
	 <td class="classrow" height="30"><a href="?action=bill"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="https://www.99bill.com/website/signup/websignup.htm" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(13)%> <a href="http://act.life.alipay.com/systembiz/56770/" target="_blank"><span style="color:#0000ff">免费申请</span></a></td>
	 <td class="classrow" height="30"><%=Lang_Pay(20)%></td>
	 <td class="classrow" height="30"><a href="http://www.alipay.com/" target="_blank">www.alipay.com</a></td>
	 <td class="classrow" height="30"><%=p_alipay(13)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_alipay(0))%></td>
	 <td class="classrow" height="30"><a href="?action=alipay"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="http://act.life.alipay.com/systembiz/56770/" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(14)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(21)%></td>
	 <td class="classrow" height="30"><a href="http://www.chinabank.com.cn/" target="_blank">www.chinabank.com.cn</a></td>
	 <td class="classrow" height="30"><%=p_chinabank(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_chinabank(0))%></td>
	 <td class="classrow" height="30"><a href="?action=chinabank"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="http://www.chinabank.com.cn/gateway/register.shtml" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(15)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(22)%></td>
	 <td class="classrow" height="30"><a href="http://www.paypal.com.cn/" target="_blank">www.paypal.com.cn</a></td>
	 <td class="classrow" height="30"><%=p_paypal_cn(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_paypal_cn(0))%></td>
	 <td class="classrow" height="30"><a href="?action=paypal_cn"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="https://www.paypal.com/cn/cgi-bin/webscr?cmd=_registration-run" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(16)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(23)%></td>
	 <td class="classrow" height="30"><a href="http://www.paypal.com/" target="_blank">www.paypal.com</a></td>
	 <td class="classrow" height="30"><%=p_paypal(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_paypal(0))%></td>
	 <td class="classrow" height="30"><a href="?action=paypal"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30"><%=Lang_Pay(53)%></td>
	 <td class="classrow" height="30"><%=Lang_Pay(54)%></td>
	 <td class="classrow" height="30"><a href="http://www.ips.com.cn/" target="_blank">www.ips.com.cn</a></td>
	 <td class="classrow" height="30"><%=p_ips(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_ips(0))%></td>
	 <td class="classrow" height="30"><a href="?action=ips"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="http://www.ips.com.cn/" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
  <tr class="classrow">
     <td class="classrow" height="30">宝付支付</td>
	 <td class="classrow" height="30">宝付网络科技（上海）有限公司</td>
	 <td class="classrow" height="30"><a href="http://www.baofoo.com/" target="_blank">www.baofoo.com</a></td>
	 <td class="classrow" height="30"><%=p_baofu(11)%></td>
	 <td class="classrow" height="30"><%=paymentstate(p_baofu(0))%></td>
	 <td class="classrow" height="30"><a href="?action=baofu"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a> <a href="https://reg.baofoo.com/" target="_blank"><img src="images/icon_link.gif" width="16" height="16" title=" <%=Lang_Pay(52)%> " border="0"></a></td>
  </tr>
</table>
<script>tdshow("paylist");</script>
<%
End Sub

Sub chinabank()
Set rs = conn.execute("select p_chinabank from [Lebi_pay]")
p_chinabank=Split(rs("p_chinabank"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
	<td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="1"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" colspan="2"><%=Lang_Pay(14)%></td>
  </tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="chinabank_state">
<option value="1" <%=judge2(p_chinabank(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_chinabank(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_chinabank(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_chinabank(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(27)%></td>
<td class="classrow" height="30"><input type="text" name="chinabank_name" size="30" value="<%=p_chinabank(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="chinabank_key" size="30" value="<%=p_chinabank(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(29)%></td>
<td class="classrow" height="30"><input type="text" name="chinabank_leixing" size="3" value="<%=p_chinabank(3)%>" class="form">&nbsp;<em><%=Lang_Pay(45)%></em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="chinabank_pic" name="chinabank_pic" size="30" value="<%=p_chinabank(6)%>" class="form">
<input type="button" id="Upload_chinabank_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','chinabank_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_chinabank(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_chinabank(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="chinabank_paymentpic" name="chinabank_paymentpic" size="30" value="<%=p_chinabank(7)%>" class="form">
<input type="button" id="Upload_chinabank_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','chinabank_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_chinabank(7)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_chinabank(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="chinabank_url" size="50" value="<%=p_chinabank(4)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/Receivepay.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'chinabank_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="chinabank_info" id="chinabank_info" rows="12" cols="80" class="text"><%= p_chinabank(5) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('chinabank_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('chinabank_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
   <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayChinabank}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub alipay()
Set rs = conn.execute("select p_alipay from [Lebi_pay]")
p_alipay=Split(rs("p_alipay"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="2"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
<td height="30" class="classtop" colspan=2><%=Lang_Pay(13)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="alipay_state">
<option value="1" <%=judge2(p_alipay(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_alipay(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(36)%></td>
<td class="classrow" height="30"><select name="alipay_service">
<option value="0" <%=judge2(p_alipay(14),0)%>><%=Lang_Pay(46)%></option>
<option value="1" <%=judge2(p_alipay(14),1)%>><%=Lang_Pay(47)%></option>
<option value="2" <%=judge2(p_alipay(14),2)%>><%=Lang_Pay(48)%></option>
</select></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_alipay(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_alipay(13),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(37)%></td>
<td width="85%" class="classrow" height="30"><%=Lang_Pay(38)%><input type="text" name="alipay_of" size="5" value="<%=p_alipay(4)%>" class="form">&nbsp;&nbsp;<%=Lang_Pay(39)%><input type="text" name="alipay_ef" size="5" value="<%=p_alipay(5)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(40)%></td>
<td class="classrow" height="30"><input type="text" name="alipay_email" size="30" value="<%=p_alipay(1)%>" class="form"> <a href="http://act.life.alipay.com/systembiz/56770/" target="_blank"><span style="color:#0000ff">还没有支付宝帐号？点此免费申请</span></a>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(41)%></td>
<td class="classrow" height="30"><input type="text" name="alipay_code" size="30" value="<%=p_alipay(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(42)%></td>
<td class="classrow" height="30"><input type="text" name="alipay_partnerId" size="30" value="<%=p_alipay(3)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="alipay_url" size="50" value="<%=p_alipay(6)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/Alipay_Back.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="alipay_pic" name="alipay_pic" size="30" value="<%=p_alipay(8)%>" class="form">
<input type="button" id="Upload_alipay_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','alipay_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_alipay(8)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_alipay(11)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="alipay_paymentpic" name="alipay_paymentpic" size="30" value="<%=p_alipay(9)%>" class="form">  <input type="button" id="Upload_alipay_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','alipay_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_alipay(9)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_alipay(12)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'alipay_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="alipay_info" id="alipay_info" rows="12" cols="80" class="text"><%= p_alipay(7) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('alipay_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('alipay_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
   <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayAlipay}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub paypal_cn()
Set rs = conn.execute("select p_paypal_cn from [Lebi_pay]")
p_paypal=Split(rs(0),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="7"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
<td height="30" class="classtop" colspan=2><%=Lang_Pay(15)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="paypal_state">
<option value="1" <%=judge2(p_paypal(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_paypal(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_paypal(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_paypal(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(40)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_name" size="30" value="<%=p_paypal(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(43)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_code" size="5" value="<%=p_paypal(2)%>" class="form"> <em><%=Lang_Pay(49)%></em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(44)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_key" size="30" value="<%=p_paypal(6)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="paypal_pic" name="paypal_pic" size="30" value="<%=p_paypal(4)%>" class="form">
<input type="button" id="Upload_paypal_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','paypal_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_paypal(4)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_paypal(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="paypal_paymentpic" name="paypal_paymentpic" size="30" value="<%=p_paypal(5)%>" class="form">  <input type="button" id="Upload_paypal_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','paypal_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_paypal(5)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_paypal(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_url" size="50" value="<%=p_paypal(7)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/paypal_cn_receive.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'paypal_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="paypal_info" id="paypal_info" rows="12" cols="80" class="text"><%= p_paypal(3) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('paypal_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('paypal_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
   <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayPaypal_cn}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub paypal()
Set rs = conn.execute("select p_paypal from [Lebi_pay]")
p_paypal=Split(rs("p_paypal"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="3"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
<td height="30" class="classtop" colspan="2"><%=Lang_Pay(16)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="paypal_state">
<option value="1" <%=judge2(p_paypal(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_paypal(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_paypal(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_paypal(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(40)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_name" size="30" value="<%=p_paypal(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(43)%></td>
<td class="classrow" height="30">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
If Not Lang.eof Then 
	LangData = Lang.getrows()
End If 
Lang.close : Set Lang = Nothing 
For i = 0 To UBound(LangData,2)
%>
<%=LangData(0,i)%>：<input type="text" name="paypal_code" size="5" value="<%
If UBound(LangData,2) = 0 Then 
	response.write(p_paypal(2))
Else
	If InStr(p_paypal(2),",") = 0 Then 
		paypal_code = p_paypal(2) &",,,,,,,,"
	Else
		paypal_code = p_paypal(2)
	End If 
	response.write(Split(paypal_code,",")(i))
End If 
%>" class="form">
<%
Next 
%>
<em><%=Lang_Pay(49)%></em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(44)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_key" size="30" value="<%=p_paypal(6)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="paypal_pic" name="paypal_pic" size="30" value="<%=p_paypal(4)%>" class="form">
<input type="button" id="Upload_paypal_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','paypal_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_paypal(4)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_paypal(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="paypal_paymentpic" name="paypal_paymentpic" size="30" value="<%=p_paypal(5)%>" class="form">  <input type="button" id="Upload_paypal_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','paypal_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_paypal(5)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_paypal(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="paypal_url" size="50" value="<%=p_paypal(7)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/paypal_receive.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'paypal_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="paypal_info" id="paypal_info" rows="12" cols="80" class="text"><%= p_paypal(3) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('paypal_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('paypal_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
   <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayPaypal}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub bill()
Set rs = conn.execute("select p_99bill from [Lebi_pay]")
p_99bill=Split(rs("p_99bill"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="4"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
<td height="30" class="classtop" colspan="2"><%=Lang_Pay(12)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="bill_state">
<option value="1" <%=judge2(p_99bill(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_99bill(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_99bill(7)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_99bill(10),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(40)%></td>
<td class="classrow" height="30"><input type="text" name="bill_id" size="30" value="<%=p_99bill(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="bill_key" size="30" value="<%=p_99bill(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="bill_pic" name="bill_pic" size="30" value="<%=p_99bill(5)%>" class="form">
<input type="button" id="Upload_bill_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','bill_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_99bill(5)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_99bill(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="bill_paymentpic" name="bill_paymentpic" size="30" value="<%=p_99bill(6)%>" class="form">
<input type="button" id="Upload_bill_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','bill_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_99bill(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_99bill(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="bill_url" size="50" value="<%=p_99bill(3)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/Bill_receive.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'bill_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="bill_info" id="bill_info" rows="12" cols="80" class="text"><%= p_99bill(4) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('bill_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('bill_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
  <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayBill}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub tenpay()
Set rs = conn.execute("select p_tenpay from [Lebi_pay]")
p_tenpay=Split(rs("p_tenpay"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="5"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" colspan="2"><%=Lang_Pay(10)%></td>
  </tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="tenpay_state">
<option value="1" <%=judge2(p_tenpay(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_tenpay(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_tenpay(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_tenpay(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(27)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_name" size="30" value="<%=p_tenpay(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_key" size="30" value="<%=p_tenpay(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(29)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_leixing" size="3" value="<%=p_tenpay(3)%>" class="form">&nbsp;<em><%=Lang_Pay(50)%></em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="tenpay_pic" name="tenpay_pic" size="30" value="<%=p_tenpay(6)%>" class="form">
<input type="button" id="Upload_tenpay_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','tenpay_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_tenpay(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_tenpay(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="tenpay_paymentpic" name="tenpay_paymentpic" size="30" value="<%=p_tenpay(7)%>" class="form">  <input type="button" id="Upload_tenpay_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','tenpay_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_tenpay(7)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_tenpay(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_url" size="50" value="<%=p_tenpay(4)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/tenpay_back.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'tenpay_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="tenpay_info" id="tenpay_info" rows="12" cols="80" class="text"><%= p_tenpay(5) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('tenpay_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('tenpay_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
  <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayTenpay}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub tenpay2()
Set rs = conn.execute("select p_tenpay2 from [Lebi_pay]")
p_tenpay=Split(rs("p_tenpay2"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="6"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" colspan="2"><%=Lang_Pay(11)%></td>
  </tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="tenpay_state">
<option value="1" <%=judge2(p_tenpay(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_tenpay(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_tenpay(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_tenpay(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(27)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_name" size="30" value="<%=p_tenpay(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_key" size="30" value="<%=p_tenpay(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(29)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_leixing" size="3" value="<%=p_tenpay(3)%>" class="form">&nbsp;<em><%=Lang_Pay(50)%></em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="tenpay_pic" name="tenpay_pic" size="30" value="<%=p_tenpay(6)%>" class="form">
<input type="button" id="Upload_tenpay_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','tenpay_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_tenpay(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_tenpay(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="tenpay_paymentpic" name="tenpay_paymentpic" size="30" value="<%=p_tenpay(7)%>" class="form">  <input type="button" id="Upload_tenpay_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','tenpay_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_tenpay(7)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_tenpay(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="tenpay_url" size="50" value="<%=p_tenpay(4)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/tenpay2_back.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'tenpay_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="tenpay_info" id="tenpay_info" rows="12" cols="80" class="text"><%= p_tenpay(5) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('tenpay_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('tenpay_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
 <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayTenpay2}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub ips()
Set rs = conn.execute("select p_ips from [Lebi_pay]")
p_ips=Split(rs("p_ips"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
  <td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="8"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" colspan="2"><%=Lang_Pay(53)%></td>
  </tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="ips_state">
<option value="1" <%=judge2(p_ips(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_ips(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_ips(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_ips(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(27)%></td>
<td class="classrow" height="30"><input type="text" name="ips_name" size="30" value="<%=p_ips(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="ips_key" size="30" value="<%=p_ips(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(55)%></td>
<td class="classrow" height="30"><select name="ips_currency">
              <option value="RMB" <%=judge2(p_ips(3),"RMB")%>>人民币</option>
              <option value="HKD" <%=judge2(p_ips(3),"HKD")%>>港币</option>
              <option value="MYR" <%=judge2(p_ips(3),"MYR")%>>马币</option>
              <option value="USD" <%=judge2(p_ips(3),"USD")%>>USD</option>
            </select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(56)%></td>
<td class="classrow" height="30"><select name="ips_gateway">
              <option value="01" <%=judge2(p_ips(12),"01")%>>借记卡</option>
              <option value="04" <%=judge2(p_ips(12),"04")%>>IPS账户支付</option>
              <option value="08" <%=judge2(p_ips(12),"08")%>>IB支付</option>
              <option value="16" <%=judge2(p_ips(12),"16")%>>电话支付</option>
			  <option value="64" <%=judge2(p_ips(12),"64")%>>储值卡支付</option>
            </select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(57)%></td>
<td class="classrow" height="30"><select name="ips_lang">
              <option value="GB" <%=judge2(p_ips(13),"GB")%>>GB中文</option>
              <option value="EN" <%=judge2(p_ips(13),"EN")%>>英语</option>
              <option value="BIG5" <%=judge2(p_ips(13),"BIG5")%>>BIG中文</option>
              <option value="JP" <%=judge2(p_ips(13),"JP")%>>日文</option>
              <option value="FR" <%=judge2(p_ips(13),"FR")%>>法文</option>
            </select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="ips_pic" name="ips_pic" size="30" value="<%=p_ips(6)%>" class="form">
<input type="button" id="Upload_ips_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','ips_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_ips(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_ips(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="ips_paymentpic" name="ips_paymentpic" size="30" value="<%=p_ips(7)%>" class="form">  <input type="button" id="Upload_ips_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','ips_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_ips(7)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_ips(10)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="ips_url" size="50" value="<%=p_ips(4)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/ips_back.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'ips_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="ips_info" id="ips_info" rows="12" cols="80" class="text"><%= p_ips(5) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('ips_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('ips_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
  <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayIPS}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub

Sub baofu()
Set rs = conn.execute("select p_baofu from [Lebi_pay]")
p_baofu=Split(rs("p_baofu"),"|")
rs.close : Set rs = Nothing
%>
<script language="javascript" type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="pay" class="classtable">
<form name="pay" method="POST" action="admin_pay.asp?action=update">
<tr>
	<td height="30" align="left" class="classhead"><input type="hidden" name="up_type" value="9"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("","")%>
	</td>
 </tr>
  <tr>
     <td class="classtop" height="30" colspan="2">宝付支付</td>
  </tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Pay(24)%></td>
<td width="85%" class="classrow" height="30">
<select name="baofu_state">
<option value="1" <%=judge2(p_baofu(0),1)%>><%=Lang_Pay(2)%></option>
<option value="0" <%=judge2(p_baofu(0),0)%>><%=Lang_Pay(3)%></option>
</select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(25)%></td>
<td class="classrow" height="30"><input type="text" id="pay_name" name="pay_name" size="30" value="<%=p_baofu(8)%>" class="form"></td>
</tr>
<tr class="classrow">
<td height="30" width="15%" class="classrow"><%=Lang_Pay(26)%></td>
<td width="85%" class="classrow" align="left">
<%
Set Lang = conn.execute("Select l_name from [Lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
Do While Not Lang.eof
%>
<input type="checkbox" name="ShowLang" value="<%=Lang(0)%>" <%=judge(p_baofu(11),lang(0))%>><%=Lang(0)%>
<%
Lang.movenext
Loop
Lang.close : Set Lang = Nothing
%></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(27)%></td>
<td class="classrow" height="30"><input type="text" name="baofu_name" size="30" value="<%=p_baofu(1)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(28)%></td>
<td class="classrow" height="30"><input type="text" name="baofu_key" size="30" value="<%=p_baofu(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30">商户终端号：</td>
<td class="classrow" height="30"><input type="text" name="baofu_TerminalID" size="30" value="<%=p_baofu(12)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(29)%></td>
<td class="classrow" height="30">
<select name="baofu_leixing" id="baofu_leixing" ><!--充值方式，神州行101 联通102 电信103 盛大111 完美112 征途114 骏网一卡通115 网易 116-->
		<option value="">        </option>
		<option value="101" <%=judge(p_baofu(3),"101")%>>神州行</option>
		<option value="1022" <%=judge(p_baofu(3),"1022")%>>联通卡</option>
		<option value="1033" <%=judge(p_baofu(3),"1033")%>>电信卡</option>
		<option value="111" <%=judge(p_baofu(3),"111")%>>盛大卡</option>
		<option value="112" <%=judge(p_baofu(3),"112")%>>完美卡</option>
		<option value="114" <%=judge(p_baofu(3),"114")%>>征途卡</option>
		<option value="115" <%=judge(p_baofu(3),"115")%>>骏网一卡通</option>
		<option value="116" <%=judge(p_baofu(3),"116")%>>网易卡</option>
		
		<option value="1001" <%=judge(p_baofu(3),"1001")%>>招商银行</option>
		<option value="1002" <%=judge(p_baofu(3),"1002")%>>工商银行</option>
		<option value="1003" <%=judge(p_baofu(3),"1003")%>>建设银行</option>
		<option value="1004" <%=judge(p_baofu(3),"1004")%>>浦发银行</option>
		<option value="1005" <%=judge(p_baofu(3),"1005")%>>农业银行</option>
		<option value="1006" <%=judge(p_baofu(3),"1006")%>>民生银行</option>
		<option value="1009" <%=judge(p_baofu(3),"1009")%>>兴业银行</option>
		<option value="1020" <%=judge(p_baofu(3),"1020")%>>交通银行</option>
		<option value="1022" <%=judge(p_baofu(3),"1022")%>>光大银行</option>
		<option value="1026" <%=judge(p_baofu(3),"1026")%>>中国银行</option>
		<option value="1032" <%=judge(p_baofu(3),"1032")%>>北京银行</option>		
		<option value="1035" <%=judge(p_baofu(3),"1035")%>>平安银行</option>
		<option value="1036" <%=judge(p_baofu(3),"1036")%>>广发银行</option>
		<option value="1039" <%=judge(p_baofu(3),"1039")%>>中信银行</option>
		<option value="1080" <%=judge(p_baofu(3),"1080")%>>银联在线</option>
		
		<option value="3001" <%=judge(p_baofu(3),"3001")%>>招商银行(借)</option>
		<option value="3002" <%=judge(p_baofu(3),"3002")%>>工商银行(借)</option>
		<option value="3003" <%=judge(p_baofu(3),"3003")%>>建设银行(借)</option>
		<option value="3004" <%=judge(p_baofu(3),"3004")%>>浦发银行(借)</option>
		<option value="3005" <%=judge(p_baofu(3),"3005")%>>农业银行(借)</option>
		<option value="3006" <%=judge(p_baofu(3),"3006")%>>民生银行(借)</option>
		<option value="3009" <%=judge(p_baofu(3),"3009")%>>兴业银行(借)</option>
		<option value="3020" <%=judge(p_baofu(3),"3020")%>>交通银行(借)</option>
		<option value="3022" <%=judge(p_baofu(3),"3022")%>>光大银行(借)</option>
		<option value="3026" <%=judge(p_baofu(3),"3026")%>>中国银行(借)</option>
		<option value="3032" <%=judge(p_baofu(3),"3032")%>>北京银行(借)</option>		
		<option value="3035" <%=judge(p_baofu(3),"3035")%>>平安银行(借)</option>
		<option value="3036" <%=judge(p_baofu(3),"3036")%>>广发银行(借)</option>
		<option value="3039" <%=judge(p_baofu(3),"3039")%>>中信银行(借)</option>

		<option value="4001" <%=judge(p_baofu(3),"4001")%>>招商银行(贷)</option>
		<option value="4002" <%=judge(p_baofu(3),"4002")%>>工商银行(贷)</option>
		<option value="4003" <%=judge(p_baofu(3),"4003")%>>建设银行(贷)</option>
		<option value="4004" <%=judge(p_baofu(3),"4004")%>>浦发银行(贷)</option>
		<option value="4005" <%=judge(p_baofu(3),"4005")%>>农业银行(贷)</option>
		<option value="4006" <%=judge(p_baofu(3),"4006")%>>民生银行(贷)</option>
		<option value="4009" <%=judge(p_baofu(3),"4009")%>>兴业银行(贷)</option>
		<option value="4020" <%=judge(p_baofu(3),"4020")%>>交通银行(贷)</option>
		<option value="4022" <%=judge(p_baofu(3),"4022")%>>光大银行(贷)</option>
		<option value="4026" <%=judge(p_baofu(3),"4026")%>>中国银行(贷)</option>
		<option value="4032" <%=judge(p_baofu(3),"4032")%>>北京银行(贷)</option>		
		<option value="4035" <%=judge(p_baofu(3),"4035")%>>平安银行(贷)</option>
		<option value="4036" <%=judge(p_baofu(3),"4036")%>>广发银行(贷)</option>
		<option value="4039" <%=judge(p_baofu(3),"4039")%>>中信银行(贷)</option>
  </select>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(30)%></td>
<td class="classrow" height="30"><input type="text" id="baofu_pic" name="baofu_pic" size="30" value="<%=p_baofu(6)%>" class="form">
<input type="button" id="Upload_baofu_pic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','baofu_pic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_baofu(6)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(31)%></td>
<td class="classrow" height="30"><input type="text" id="pic_title" name="pic_title" size="50" value="<%=p_baofu(9)%>" class="form"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(32)%></td>
<td class="classrow" height="30"><input type="text" id="baofu_paymentpic" name="baofu_paymentpic" size="30" value="<%=p_baofu(7)%>" class="form">
<input type="button" id="Upload_baofu_paymentpic" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('pay','baofu_paymentpic','pay')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=p_baofu(7)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()"></td>
</tr>
<tr class="classrow">
<td class="classrow" height="30"><%=Lang_Pay(33)%></td>
<td class="classrow" height="30"><input type="text" id="paymentpic_title" name="paymentpic_title" size="50" value="<%=p_baofu(10)%>" class="form"></td>
</tr>
<tr class="classrow" style="display:none">
<td class="classrow" height="30"><%=Lang_Pay(34)%></td>
<td class="classrow" height="30"><input type="text" name="baofu_url" size="50" value="<%=p_baofu(4)%>" class="form">&nbsp;<em>http://<%=Request.ServerVariables("SERVER_NAME") & Eshop_Url %>plus/baofu_receive.asp</em>
</td>
</tr>
<tr class="classrow">
<td class="classrow" height="30" valign="top" style="margin-top:6px;"><%=Lang_Pay(35)%></td>
<td class="classrow" height="30">
<script type="text/javascript">
function showFCK(){
	var oFCKeditor = new FCKeditor( 'baofu_info' ) ;
	oFCKeditor.BasePath = 'fckeditor/' ;
	oFCKeditor.ToolbarSet = 'Eshop_56770' ;
	oFCKeditor.Width = '100%' ;
	oFCKeditor.Height = '200' ;
	oFCKeditor.Value = '' ;
	oFCKeditor.ReplaceTextarea() ;
	document.getElementById("btn_showFCK").style.display = 'none' ;
	document.getElementById("ReHeightFCK").style.display = 'block' ;
}
</script>
<textarea name="baofu_info" id="baofu_info" rows="12" cols="80" class="text"><%= p_baofu(5) %></textarea>
<span id="btn_showFCK"><input type="button" value="<%=Lang_sys(65)%>" onclick="" class="button"></span>
<span id="ReHeightFCK" style="display:none"><a href="javascript:resizeEditor('baofu_info',-100)"><img src="images/bt_close.gif" border='0'></a>&nbsp;<a href="javascript:resizeEditor('baofu_info',100)"><img src="images/bt_open.gif" border='0'></a></span>
<%If Config_Lebi_Eshop(19) = "0" Then%><script>showFCK()</script><%End If%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" align="left" colspan="2" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
 </form>
   <tr>
<td colspan="2" class="classfaq">
  <div class="faq_main">
  <p class="faq_title"><%=Lang_sys(49)%></p>
  <%=Lang_Pay(51)%> {$ProductOnlinepayBaofu}。
  </div>
</td>
</tr>
</table>
<script>tdshow("pay");</script>
<%
End Sub
%>