<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" import="java.util.*,java.text.*,com.letousky.lottery.delegate.WinsFlat,com.letousky.lottery.action.AuxiliaryData,com.letousky.lottery.util.InsiderCenterFormat" pageEncoding="UTF-8"%>
<%
	String[] parmas=new String[]{"501","0","1"};
	List list=new WinsFlat().wins(parmas);
	Object[] obj=list.toArray();
	InsiderCenterFormat  format  =  new InsiderCenterFormat();
	String[] pm = null;
	List winsItem = new AuxiliaryData().winsSel(pm);
	Object[] ws = winsItem.toArray();
	
	String[] parmas_leij = null;
	String[] leiJiZhongJiang = new AuxiliaryData().buyWinningLJZ(parmas_leij); 
	String money = String.valueOf((int)Double.parseDouble(leiJiZhongJiang[0]) + 90000000);
	int lgs = 10 - money.length();
	for(int j=0;j<lgs;j++){
		money = "0"+money; 
	}
	request.setAttribute("list", list);
	String[]a=(String[])session.getAttribute("userAry");
	request.setAttribute("user", a[8]);
%>


<!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>
    <link href="<%=request.getContextPath()%>/letoula/user/css/account.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/date_input.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/letoula/css/top.css" rel="stylesheet" type="text/css" />
	 <link href="<%=request.getContextPath()%>/letoula/css/user_c.css" rel="stylesheet" type="text/css" />
    <title>贝壳彩票网 - 竞彩网上投注|竞彩足球|竞彩篮球|竞彩推荐|中国竞彩网|篮球彩票|nba彩票|篮彩 </title>
  <%-- --------- ${user}------------- --%>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="竞彩,足彩,nba彩票,nba竞彩,贝壳,jingcaile,即时比分,jingcai,竞彩赛果,竞彩奖金,竞彩足球,竞彩篮球,竞彩玩法介绍,竞彩网上投注,竞彩线上投注,体育竞彩店,竞彩足球,竞彩篮球,传统足球,NBA视频,中国竞彩网,中国竞彩,竟彩,中国竟彩网,中国竟彩足球,竟彩足球"/>
	<meta http-equiv="description" content="买竞彩就上贝壳彩票,中国最专业权威的竞彩网上委托投注网站,国内首家竞彩投注社区,提供竞彩,竞彩足球,竞彩篮球,竞彩推荐,竞彩投注,传统足彩,足彩,足球彩票,体育彩票等服务."/>
</head>

<body>
<%@include file='/letoula/hometop.jsp' %>
	<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
		</script>
<!--main开始-->

    	<div class="main main1" id="main1">
        	<div class="main_i main_i1">
            	<div id="bk_content">
   <!--============================ 显示左边的部分 =========================-->
            	
                	<div id="bk_conlf">
                        <div class="bk_conlf_list">
                        	<ul>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/userCenter.jsp">我的账户</a></li>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/userBetList.jsp">投注记录</a></li>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/costum.jsp">定制跟单</a></li>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/account_details.jsp">账户明细</a></li>
                        	</ul>
                        </div>
                        <div class="xian"></div>
                        <div class="bk_conlf_con">
                        	<ul>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/prepayIntro.jsp">充   值</a></li>
                        		<li class="bg"></li>
                        		<li><a href="<%=request.getContextPath()%>/letoula/user/prepayOntro.jsp">提   款</a></li>
                        		<li><a href="/letoula/user/userInfo.jsp">个人资料</a></li>
                        		<li class="bg"></li>
                        		<li><a href="#">账户安全</a></li>
                        	</ul>
                        </div>
                        <div class="xian"></div>
                        <div class="bk_conlf_info">
                        	<h3>公告:</h3>
                        	<p>财政部：2014春节彩市休市...</p>
                        	<p>财政部：2014春节彩市休市...</p>
                        	<p>财政部：2014春节彩市休市...</p>
                        	<p>财政部：2014春节彩市休市...</p>
                        	<p>财政部：2014春节彩市休市...</p>
                        </div>
                        <div class="bk_conlf_safe">
                        	<a href="#">安全承诺</a>
                        </div>
                        <div class="bk_conlf_safes">
                        	<dl>
                        		<dt class="dt1">安</dt>
                        		<dd>
                        			<p>账户安全</p>
                        			<p>双重密码保护账户</p>
                        		</dd>
                        	</dl>
                        	<dl>
                        		<dt class="dt2">安</dt>
                        		<dd>
                        			<p>兑奖安全</p>
                        			<p>百万大奖安全到账</p>
                        		</dd>
                        	</dl>
                        	<dl>
                        		<dt class="dt3">安</dt>
                        		<dd>
                        			<p>提款安全</p>
                        			<p>迅速处理提款安全</p>
                        		</dd>
                        	</dl>
                        </div>
                    </div>
                    <!--============================ 显示左边的部分 =========================-->
                    
                    
                    <div id="bk_conri">                   	
                    	<div class="bk_conri_detail" style="height:798px;">
             <!-- ==================================充值======================================= -->
       		<div id='contentRight'>
    			<div class='RightWidth_title'>充值</div> 
    			<div class='RightWidth_content'>
    				<%-- <div class='Ddcx' id='Ddcx'>
	    				<ul>
	    					<li class='Password02'><a href="<%=request.getContextPath()%>/letoula/user/prepayIntro.jsp">网上银行充值</a></li>
	    				</ul>
    				</div> --%>
    				<form action="<%=request.getContextPath()%>/TradeAction.do?action=prePaidApplyNew" onsubmit='return checkform();' id='sub_confirm' method="post">
    					<div class='wyczbg' id='pay_bank_list'>
    						<ul class='wycz_con'>
    							<li class='wycz_con_title'>充值金额：</li>
    							<li class='wycz_con_nr'>
    								<input type='text' name='czMoney' class='gray' id='OrderAmount' size='10' onkeyup="this.value=this.value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1');" />
    								 元 <span class='font_red'>(存入至少5元)</span>
    							</li>
    							<li class='wycz_con_title'>充值方式：</li>
    							<li class='wycz_con_nr'>请选择您开通的网上银行或第三方账户 <span class='font_red'>(在您使用网上银行充值前，请确认已经到银行柜台开通网银)</span></li>
    						</ul>
    						<div class='wycz_bank'>
    							<div class='BankList bankimgon'>
    								<input type="radio" name="payType" id="pat" checked="checked" value="BOCB2C" class="text_radio1" />
    								<span class='icon zgyh'></span>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="ICBCB2C" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon gsyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CMB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon zsyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CCB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon jsyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="ABC" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon nyyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="SPDB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon pdyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CIB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon xyyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="GDB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon gdfz'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="SDB" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon szfz'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CMBC" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon msyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="COMM" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon jtyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CITIC" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon zxyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="CEBBANK" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon gdyh'></span>
									</label>
    							</div>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" value="SPABANK" class="text_radio1" />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon payh'></span>
									</label>
    							</div>
    						</div>
    						<div class='wycz_bank wycz_bankbg'>
    							<div class='BankList'>
    								<input type="radio" name="payType" id="pat" class="text_radio1" value="zhifubao"  />
									<label class='icon-box' id='img_1' for="bank1">
										<span class='icon cft'></span>
									</label>
    							</div>
    						</div>
    						<div class='Clear clear'></div>
    						<div class='wytabbg'>
    							<input type='button' id='submitPay' onclick='checkform()' class='user_czbtn142' value='确认无误，充值' />
    						</div>
    					</div>
    					
    				</form>
    			</div>
    		</div>
    		<!-- ==================================充值======================================= -->
      		<div class="tips_m" style="width:375px; " id="blk2">
                 <div class="tips_b">
                    <div class="tips_box">
         	          <div class="tips_title">
                         <h2>温馨提示</h2>
                           <span class="closes"><a href="javascript:seaDetails('blk2','h')" id="close1">关闭</a></span>
                     </div>
                      <p style='text-align:center;'>
             	    <b class='def'></b>
             	     <strong class='errorMsg'>存入金额至少为5元</strong>
                     </p>
                 <p style='text-align:center;'><input type='button' class='btn_Dora_b' id='yclass_alert_ok' onclick=seaDetails('blk2','h') value='关 闭' /></p>
                 </div>
               </div>
          </div> 
          <!-- ==================================充值======================================= -->
      		
                    	</div>
                    </div>
                </div>
            </div>
        </div>

<!--底部开始-->
     <div id='mainFooter' style='clear:both;'>
      	<%@include file='../../letoula/bottom.jsp' %>
    </div>


</body>
</html>
<script type='text/javascript'>
	
	function checkform(){
		
		var money = document.getElementById('OrderAmount').value;
		
		if(parseInt(money) < 5 || money.length <= 0){
			create_class.seaDetails('blk2','s','存入金额至少为5元');
			return false;
		}
		
		document.getElementById('sub_confirm').submit();
	}
	
	$('.text_radio1').click(function(){
		$('.bankimgon').removeClass('bankimgon');
		$(this).parent('div').addClass('bankimgon');
	});
	function seaDetails(nd,sh,txt){
		var off_top=document.documentElement.scrollTop;
		var off_left=document.documentElement.scrollLeft; 
        document.getElementById(nd).style.top=(off_top+50)+"px";
        document.getElementById(nd).style.left=(document.body.clientWidth-500)+"px";
        $('.eroorMsg').text(txt);
		sh == 's' ? $('#bd,#'+nd+'').show() : $('#bd,#'+nd+'').hide();
	}
</script>