<!-- #include file="../BBR_BodyTop.asp" -->

<%
dim siteDocName,SYS_WEBNAME_CONST
siteDocName="收款帐户"

BBR_PageTitle="网站平台担保交易指定收款帐户"
response.write Cnbbr_Head
%>

<div class="wbox" style="background: #F6F9FE; overflow: hidden; zoom:1">
	<div class="left">
		<div class="articlelist_logo">
			<div class="articlelist_logo_left"><a target="_blank" href="./"><img src="<%=SYS_SetupDirectory%>images/shoplogo.gif" alt="<%=SYS_WEBName%>"/></a></div>
			<div class="articlelist_logo_right articlelist_logo_right_width">
				<h5 class="font_weight"><a href="<%=SYS_SetupDirectory%>" target="_blank"><%=SYS_WEBName%></a></h5>
				<p>网站相关文档</p>
			</div>
			<div class="clear"></div>
		</div>
		<div class="articlelist_kind articlelist_kind_height">
			<ul><%=displaySiteDocLeftBar(siteDocName)%></ul>
			<div class="clear"></div>
		</div>
    </div>
    <div class="right">
      	<div class="container">
			<h2 style="line-height: 26px; text-indent: 10px; background: #FAFCFF;"><%=BBR_PageTitle%></h2>
			<div class="articlelist_content" id="articlelist_content">
				<!--  content begin -->
<%
				dim rs1
				sql="select bankcardid,bankcardowner,bankcardtype,bankname,bankaddress,bankcardrealname,bankcardno,bankcommendstatus,bankcertstatus,bankcardstatus from cnbbr_bankcards where bankcardstatus>0 and bankcertstatus=2 and bankcardowner='[[system]]' order by bankcommendstatus desc"
				set rs1=conn.execute(sql)
				if rs1.eof or rs1.bof then
					response.write " 还没有设置网站官方【担保交易】收款帐户！"
				else
					do while not rs1.eof
						response.write "<table width=""100%"" align=""center"" cellpadding=""3"" cellspacing=""1"" border=""0"" bgcolor=""#eeeeee"">"& Vbcrlf
						if rs1("bankcardtype")=1 then
							response.write "<tr>"& Vbcrlf
							response.write "<td width=""40%"" align=""right"">银行名称：</td>"& Vbcrlf
							response.write "<td width=""60%"" align=""left""><b>"& rs1("bankname") &"</b>"
							if rs1("bankcommendstatus")=1 then response.write "（<img src="""& SYS_SetupDirectory &"images/star.gif"" border=""0"" alt="""" style=""margin-bottom: -3px;"" /> 推荐使用）"
							response.write "</td>"& Vbcrlf
							response.write "</tr>"& Vbcrlf
							response.write "<tr>"& Vbcrlf
							response.write "<td width=""40%"" align=""right"" bgcolor=""#ffffff"">开户行所在地：</td>"& Vbcrlf
							response.write "<td width=""60%"" align=""left"" bgcolor=""#ffffff"">"& rs1("bankaddress") &"</td>"& Vbcrlf
							response.write "</tr>"& Vbcrlf
						else
							response.write "<tr>"& Vbcrlf
							response.write "<td width=""40%"" align=""right"">网关名称：</td>"& Vbcrlf
							response.write "<td width=""60%"" align=""left""><b>"& radioOper("",rs1("bankcardtype"),"1,2,3,4","银行卡,支付宝,财付通,Paypal") &"</b>"
							if rs1("bankcommendstatus")=1 then response.write "（<img src="""& SYS_SetupDirectory &"images/star.gif"" border=""0"" alt="""" style=""margin-bottom: -3px;"" /> 推荐使用）"
							response.write "</td>"& Vbcrlf
							response.write "</tr>"& Vbcrlf
						end if
						response.write "<tr>"& Vbcrlf
						response.write "<td width=""40%"" align=""right"" bgcolor=""#ffffff"">收款人姓名：</td>"& Vbcrlf
						response.write "<td width=""60%"" align=""left"" bgcolor=""#ffffff"">"& rs1("bankcardrealname") &"</td>"& Vbcrlf
						response.write "</tr>"& Vbcrlf
						response.write "<tr>"& Vbcrlf
						response.write "<td width=""40%"" align=""right"" bgcolor=""#ffffff"">收款帐号：</td>"& Vbcrlf
						response.write "<td width=""60%"" align=""left"" bgcolor=""#ffffff"">"& rs1("bankcardno") &"</td>"& Vbcrlf
						response.write "</tr>"& Vbcrlf
						response.write "</table>"& Vbcrlf
					rs1.movenext
					loop
				end if
				rs1.close
				set rs1=nothing
%>
				<!--  content end -->
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
			</div>
		</div>
    </div>
	<div class="clear"></div>
</div>
<%
response.write Cnbbr_Bottom
%>
