<? if (!defined('ROOT')) exit('Can\'t Access !'); ?>

<!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>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?=$this->title?></title>
<meta name="keywords" content="<?=$this->keywords?>" />
<meta name="description" content="<?=$this->description?>" />
<link rel="stylesheet" href="<?=$this->tempdir?>images/header.css" type="text/css" />
<link rel="stylesheet" href="<?=$this->tempdir?>images/member.css" type="text/css" />
<script type="text/javascript" src="<?=$this->tempdir?>images/member.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>jquery.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>public.js" ></script>
</head>
<body>
<? include template('member_header','wjgw/member'); ?>
<div id="container" class="win1000">
  <div class="wraper-border"></div>
  <div id="wraper" class="clearfix"> 
<? include template('member_left','wjgw/member'); ?>
    <div id="right-con-user" class="right">
      <div class="title clearfix">
        <h2 class="balance-h2">余额充值</h2>
        <div class="cashier-nav">
          <ol>
            <li class="current">1、确认付款信息 →</li>
            <li>2、付款 →</li>
            <li class="last">3、付款完成</li>
          </ol>
        </div>
      </div>
      <form id="subform" name="subform" method="post" enctype="multipart/form-data" action=""  onsubmit="return paymentform()">
        <div class="uppwd">
          <dl class="clearfix">
            <dt>您的用户名</dt>
            <dd><strong><?=$this->member['username']?></strong></dd>
          </dl>
          
          
          
          <dl class="clearfix">
            <dt><span class="red">*</span>&nbsp;请输入充值金额</dt>
            <dd>
              <input type="text" class="inw inp" style="width:80px" id="howmoney" name="howmoney" onblur="checkpayment()">
              元 <span id="moneytip"></span></dd>
          </dl>
         
          
          
    <table cellspacing="1" cellpadding="3" width="720" align="center" bgColor="#D8D9DB" border="0" style="margin-top:20px;">
<tr>
<td width="700" height="36" style="background:#F1F3F2; padding-left:20px; font-size:14px;"><span class="red">*</span>&nbsp;请选择支付方式</td>
</tr> 
        <tr>
          <td height="36" style="background:#FFFFFF; padding:15px 0 15px 20px;">
            <table cellspacing="0" cellpadding="0" border="0">
            

      
      
      <? if(config::get("alipayopen")) { ?>
            
              <tr>
                <td style="background:url(library/alipay/images/alipay.gif) no-repeat right; width:125px;height:50px;"><input name="paytype" type="radio" value="alipay" style="vertical-align:top"  <? if(config::get("howpay")=='alipay') { ?> checked="checked" <? } ?>/>&nbsp;</td>
                <td style="font-size:16px;padding-left:10px;">支付宝交易，推荐淘宝用户使用</td>
              </tr>
              <tr>
               <td height="10"></td>
              </tr>
      <? } ?>
              
              
      <? if(config::get("chinabankopen")) { ?>
              
              <tr>
                <td style="background:url(library/chinabank/images/chinabank.gif) no-repeat right; width:125px;height:50px;"><input name="paytype" type="radio" value="chinabank" style="vertical-align:top" <? if(config::get("howpay")=='chinabank') { ?> checked="checked" <? } ?> />&nbsp;</td>
                <td style="font-size:16px;padding-left:10px;">网银在线，让网上交易更加安全</td>
              </tr>
              <tr>
               <td height="10"></td>
              </tr>
      <? } ?>
      
      
      <? if(config::get("yeepayopen")) { ?>
              
              <tr>
                <td style="background:url(library/yeepay/images/logo.gif) no-repeat right; width:125px;height:50px;"><input name="paytype" type="radio" style="vertical-align:top" value="yeepay" <? if(config::get("howpay")=='yeepay') { ?> checked="checked" <? } ?>/>&nbsp;</td>
                <td style="font-size:16px;padding-left:10px;">易宝支付交易，安全快捷</td>
              </tr> 
              <tr>
               <td height="20"></td>
              </tr> 
      <? } ?>
      
      <? if(config::get("allinpayopen")) { ?>
              
              <tr>
                <td style="background:url(library/allinpay/images/logo.gif) no-repeat right; width:125px;height:50px;"><input name="paytype" type="radio" style="vertical-align:top" value="allinpay" <? if(config::get("howpay")=='allinpay') { ?> checked="checked" <? } ?>/>&nbsp;</td>
                <td style="font-size:16px;padding-left:10px;">通联支付交易，最安全的网上交易平台</td>
              </tr> 
              <tr>
               <td height="20"></td>
              </tr> 
      <? } ?>
      
              
              
      <? if(config::get("tenpayopen")) { ?>
              
              <tr>
                <td style="background:url(library/tenpay/images/tenpay.jpg) no-repeat right; width:125px;height:50px;"><input name="paytype" type="radio" style="vertical-align:top" value="tenpay" <? if(config::get("howpay")=='tenpay') { ?> checked="checked" <? } ?>/>&nbsp;</td>
                <td style="font-size:16px;padding-left:10px;">财付通交易，推荐拍拍用户使用</td>
              </tr> 
              <tr>
               <td height="20"></td>
              </tr> 
      <? } ?>
              
                         
            </table>

      
            <? if(config::get("tenpayopens")) { ?>
            
            <table cellspacing="0" cellpadding="0" border="0">
              <tr height="50">
                <td><input name="paytype" type="radio" value="1002" style="vertical-align:top" <? if(config::get("howpay")=='tenpays') { ?> checked="checked" <? } ?> />&nbsp;<img src="library/tenpay/images/10.gif"  /></td>
                <td><input name="paytype" type="radio" value="1003" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/2.gif" /></td>
                <td><input name="paytype" type="radio" value="1005"  style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/1.gif" /></td>

                <td><input name="paytype" type="radio" value="1020" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/5.gif" /></td>
                <td><input name="paytype" type="radio" value="1052" style="vertical-align:top" />&nbsp;<img src="library/tenpay/images/19.gif"  /></td>
              </tr>
              <tr height="50">

                <td><input name="paytype" type="radio" value="1001" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/17.gif" /></td>
                <td><input name="paytype" type="radio" value="1021" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/7.gif" /></td>
                <td><input name="paytype" type="radio" value="1009" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/27.gif" /></td>
                <td><input name="paytype" type="radio" value="1027"  style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/6.gif" /></td>
                <td><input name="paytype" type="radio" value="1008" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/8.gif" /></td>
              </tr> 
              <tr height="50">
                <td><input name="paytype" type="radio" value="1006" style="vertical-align:top" />&nbsp;<img src="library/tenpay/images/4.gif"  /></td>
                <td><input name="paytype" type="radio" value="1022" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/3.gif" /></td>
                <td><input name="paytype" type="radio" value="1004" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/9.gif" /></td>
                <td><input name="paytype" type="radio" value="1032"  style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/11.gif" /></td>
                <td><input name="paytype" type="radio" value="1010" style="vertical-align:top"  />&nbsp;<img src="library/tenpay/images/18.gif" /></td>
              </tr>          
            </table>
            
            <? } ?>
          
          </td>
        </tr>
      </table>
          

          <dl class="clearfix">
            <dt>&nbsp;</dt>
            <dd style="padding-left:150px;">
              <label class="butt" id="butt"> <?=config::form('submit','确认支付','submit','','class=\'btns\'');?> </label>
            </dd>
          </dl>
        </div>
      </form>
    </div>
  </div>
  <div class="wraper-border"></div>
</div>
<? include template('member_footer','wjgw/member'); ?>
<script language="javascript">
$("document").ready(function(){$("#<?=$this->action?>").addClass('open');});
</script>
</body></html>