<%@ page language="C#" autoeventwireup="true" inherits="user_chongzhi, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<%@ Register TagName="side_menu" TagPrefix="UC" Src="~/user/side_menu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>会员中心_
        <%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />

    <script type="text/javascript">                  
               
                      
                        function doSel1(num)
                        {         
                        var chinabankcode="<%=ZK.config("chinabank") %>";   if(chinabankcode==""&&num=="1")  num="2";   
                                 
                        document.getElementById("radio"+num).click();    document.getElementById("selarea1").style.display="none";
                        if(num==1){document.getElementById("chinabankDIV").style.display="";document.getElementById("alipayDIV").style.display="none";document.getElementById("tenpayDIV").style.display="none";}
                        else if(num==2){document.getElementById("chinabankDIV").style.display="none";document.getElementById("alipayDIV").style.display="";document.getElementById("tenpayDIV").style.display="none";}
                        else if(num==3){document.getElementById("chinabankDIV").style.display="none";document.getElementById("alipayDIV").style.display="none";document.getElementById("tenpayDIV").style.display="";}
                        }
                        
function onblur1(value1,obj1){                 
if(value1!=""){                        
if(value1.substring(value1.length-1)==".")value1=value1.substring(0,value1.length-1);if(value1.substring(0,1)==".")value1=value1.substring(1); 
if(value1.indexOf(".")!=-1){var left=value1.substring(0,value1.indexOf("."));var right=value1.substring(value1.indexOf(".")+1);if(right.length>2){right=right.substring(0,2);value1=left+"."+right;}}    
}
document.getElementById(obj1).value=value1;
}
    </script>

</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <div class="box">
            <div class="hot">
                <div class="fl" style="width: 180px">
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl">
                            </div>
                            <div class="con" style="width: 80px">
                                功能菜单</div>
                            <div class="fr">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="v">
                            <UC:side_menu ID="side_menu1" runat="server" />
                            <script type="text/javascript">showonly_user_side_menu("1");</script>
                        </div>
                    </div>
                </div>
                <div class="fr flow" style="width: 765px">
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl">
                            </div>
                            <div class="con">
                                充值金币</div>
                            <div class="fr">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="v">
                            <div style="padding: 20px 0">
                                <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                    <tr>
                                        <td id="chinabank_td1">
                                            <input type="radio" name="radio_" id="radio1" value="1" onclick="doSel1(1)">
                                        </td>
                                        <td id="chinabank_td2" style="padding-left: 5px">
                                            <a href="javascript:void(0)" onclick="doSel1(1)"><img src="/pay/chinabank/logo_.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a>
                                        </td>
                                        <td style="padding-left: 25px">
                                            <input type="radio" name="radio_" id="radio2" value="2" onclick="doSel1(2)">
                                        </td>
                                        <td style="padding-left: 5px">
                                            <a href="javascript:void(0)" onclick="doSel1(2)"><img src="/pay/alipay/logo_.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a>
                                        </td>                                        
                                        <td id="tenpay_td1" style="padding-left: 25px">
                                            <input type="radio" name="radio_" id="radio3" value="2" onclick="doSel1(3)">
                                        </td>
                                        <td id="tenpay_td2" style="padding-left: 5px">
                                            <a href="javascript:void(0)" onclick="doSel1(3)"><img src="/pay/tenpay/logo_.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a>
                                        </td>                                        
                                    </tr>
                                </table>
                                <script type="text/javascript">
                                    if("<%=ZK.config("chinabank") %>"=="")  
                                    {
                                        document.getElementById("chinabank_td1").style.display="none";
                                        document.getElementById("chinabank_td2").style.display="none";
                                    }
                                    if("<%=ZK.config("tenpay") %>"=="")  
                                    {
                                        document.getElementById("tenpay_td1").style.display="none";
                                        document.getElementById("tenpay_td2").style.display="none";
                                    }
                                </script>
                                <div id="selarea1" class="ce s14 str red" style="padding-top: 20px">
                                    请选择支付方式</div>
                                <!--网银一start-->
                                <div id="chinabankDIV" style="display: none; padding-top: 20px">
                                    <form action="/pay/chinabank/send.aspx" method="get" name="form1" id="form1" target="_blank"><input type="hidden" id="contdo1" name="contdo1" />
                                    <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                        <tr>
                                            <td style="font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    您当前选择的是网银充值：</div>
                                            </td>
                                            <td style="padding-left: 10px;<%=ShowFastSel%>">
                                                <select name="sel1" id="sel1" onchange="document.getElementById('v_amount').value=this.value" style="color: #666;
                                                    font-size: 14px">
                                                    <option value="2">冲值2金币</option>
                                                    <option value="10">冲值10金币</option>
                                                    <option value="20">冲值20金币</option>
                                                    <option value="50" selected>冲值50金币</option>
                                                    <option value="100">冲值100金币</option>
                                                    <option value="200">冲值200金币</option>
                                                    <option value="500">冲值500金币</option>
                                                    <option value="800">冲值800金币</option>
                                                    <option value="1000">冲值1000金币</option>
                                                </select>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input type="text" name="v_amount" id="v_amount" class="inp1" maxlength="8" value="50"
                                                    style="width: 100px; font-size: 14px; color: #666" onkeyup="this.value=this.value.replace(/[^\.0-9_]/g,'')" onblur="this.value=this.value.replace(/[^0-9_]/g,'');onblur1(this.value,'v_amount')" autocomplete="off">
                                            </td>
                                            <td style="padding-left: 5px; font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    元</div>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input name="" type="submit" class="but1" value="<%=WMcompare.IsEqual(ShowFastSel,"","充值","付款")%>" onmouseover="hover(this,0.8)"
                                                    onmouseout="hover(this,1)" onclick="if(document.getElementById('v_amount').value==''||document.getElementById('v_amount').value=='0'||document.getElementById('v_amount').value=='0.0'||document.getElementById('v_amount').value=='0.00')return false">
                                            </td>
                                        </tr>
                                    </table>
                                    </form>
                                </div>
                                <!--网银一end-->
                                <!--支付宝start-->
                                <div id="alipayDIV" style="display: none; padding-top: 20px">
                                    <form action="/pay/alipay/default.aspx" method="get" name="form2" id="form2" target="_blank"><input type="hidden" id="contdo2" name="contdo2" />
                                    <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                        <tr>
                                            <td style="font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    您当前选择的是支付宝充值：</div>
                                            </td>
                                            <td style="padding-left: 10px;<%=ShowFastSel%>">
                                                <select name="sel2" id="sel2" onchange="document.getElementById('m').value=this.value" style="color: #666;
                                                    font-size: 14px">
                                                    <option value="2">冲值2金币</option>
                                                    <option value="10">冲值10金币</option>
                                                    <option value="20">冲值20金币</option>
                                                    <option value="50" selected>冲值50金币</option>
                                                    <option value="100">冲值100金币</option>
                                                    <option value="200">冲值200金币</option>
                                                    <option value="500">冲值500金币</option>
                                                    <option value="800">冲值800金币</option>
                                                    <option value="1000">冲值1000金币</option>
                                                </select>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input type="text" name="m" id="m" class="inp1" maxlength="8" value="50" style="width: 100px;
                                                    font-size: 14px; color: #666" onkeyup="this.value=this.value.replace(/[^\.0-9_]/g,'')" onblur="this.value=this.value.replace(/[^0-9_]/g,'');onblur1(this.value,'m')" autocomplete="off">
                                            </td>
                                            <td style="padding-left: 5px; font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    元</div>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input name="" type="submit" class="but1" value="<%=WMcompare.IsEqual(ShowFastSel,"","充值","付款")%>" onmouseover="hover(this,0.8)"
                                                    onmouseout="hover(this,1)" onclick="if(document.getElementById('m').value==''||document.getElementById('m').value=='0'||document.getElementById('m').value=='0.0'||document.getElementById('m').value=='0.00')return false">
                                            </td>
                                        </tr>
                                    </table>
                                    </form>
                                </div>
                                <!--支付宝end-->
                                
                                      <!--财付通start-->
                                <div id="tenpayDIV" style="display: none; padding-top: 20px">
                                    <form action="/pay/tenpay/index.aspx" method="get" name="form3" id="form3" target="_blank"><input type="hidden" id="contdo3" name="contdo3" />
                                    <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                        <tr>
                                            <td style="font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    您当前选择的是财付通充值：</div>
                                            </td>
                                            <td style="padding-left: 10px;<%=ShowFastSel%>">
                                                <select name="sel3" id="sel3" onchange="document.getElementById('ten_m').value=this.value" style="color: #666;
                                                    font-size: 14px">
                                                    <option value="2">冲值2金币</option>
                                                    <option value="10">冲值10金币</option>
                                                    <option value="20">冲值20金币</option>
                                                    <option value="50" selected>冲值50金币</option>
                                                    <option value="100">冲值100金币</option>
                                                    <option value="200">冲值200金币</option>
                                                    <option value="500">冲值500金币</option>
                                                    <option value="800">冲值800金币</option>
                                                    <option value="1000">冲值1000金币</option>
                                                </select>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input type="text" name="ten_m" id="ten_m" class="inp1" maxlength="8" value="50" style="width: 100px;
                                                    font-size: 14px; color: #666" onkeyup="this.value=this.value.replace(/[^\.0-9_]/g,'')" onblur="this.value=this.value.replace(/[^0-9_]/g,'');onblur1(this.value,'m')" autocomplete="off">
                                            </td>
                                            <td style="padding-left: 5px; font-size: 14px; color: #666">
                                                <div style="padding-top: 2px">
                                                    元</div>
                                            </td>
                                            <td style="padding-left: 10px">
                                                <input name="" type="submit" class="but1" value="<%=WMcompare.IsEqual(ShowFastSel,"","充值","付款")%>" onmouseover="hover(this,0.8)"
                                                    onmouseout="hover(this,1)" onclick="if(document.getElementById('ten_m').value==''||document.getElementById('ten_m').value=='0'||document.getElementById('ten_m').value=='0.0'||document.getElementById('ten_m').value=='0.00')return false">
                                            </td>
                                        </tr>
                                    </table>
                                       <asp:Literal ID="JS" runat="server"></asp:Literal>
                                    </form>
                                </div>
                                <!--财付通end-->
                                
                            </div>
                        </div>
                    </div>
                    <%=PayNote()%>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
