<!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 http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>{$seo['title']}</title>
<meta name="Keywords" content="{$seo['keywords']}">
<meta name="Description" content="{$seo['description']}">
<link href="templates/{$CFG[tplname]}/style/user.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/validator/validator.min.js"></script>
<link href="js/validator/validator.css" type="text/css" rel="stylesheet" />
</head>
<body>
<!--{template header}-->
<div class="wrapper">
	<!-- 主体 -->
    <!--{template member_left}-->
    <div class="col_main">
<!--{template member_topmenu}-->
    <form action="member.php?act=user_money" method="post" name=form>
		<div class="post_li">
          <ul>
          {if ($r>0)}
            <li><h3>申请状态</h3>申请审核中，请等待(审核通过后才可以再次申请提现)</li>
          {else}
            <li><h3>帐户余额</h3><strong class="f14 fe43">￥{$userinfo['money']}</strong></li>
            <li><h3>提现金额</h3><input name="amount" size="10" id="amount" type="text" class="inputs" /></li>
            <li><h3>提现方式</h3>
              <select name="paycenter" class="inputs" />
			{loop $payonline_setting $paycenter $pay}
            {if ($pay[name]!='店铺余额')}
             <option value="{$pay[paycenter]}" {$selected[$paycenter]}>{$pay[name]}</option>
            {/if}
            {/loop}
			</select>
            </li>
            <li><h3>收款帐号</h3><input name="moneyid" id="moneyid" type="text" class="inputs" /></li>
            <li><h3>手续费</h3>{$CFG['user_money_tea']}%</li>
		    <li><h3>&nbsp;</h3><input type="submit" name="submit" class="btn_1" value="确认申请" id="submit" /></li>
          {/if}
          </ul>
        </div>　
	
	</form>
    <!--{template member_right}-->
    </div>
	<!-- 主体 结束 -->
    </div>
	<!--{template footer}-->
{if ($r<=0)}
<script type="text/javascript">
$.validator("amount")
.setFocusMsg("请填写提现金额")
.setRequired("请填写提现金额")
.setRegexp(/^\d+(?=\.{0,1}\d+$|$)/, "金额错误", false)
.setServerCharset("UTF-8")
.setStrlenType("symbol");

$.validator("moneyid")
.setFocusMsg("请填写收款帐号（银行卡号或在线支付帐号）")
.setRequired("请填写收款帐号（银行卡号或在线支付帐号）")
.setServerCharset("UTF-8")
.setStrlenType("symbol");
</script>
{/if}
</body>
</html>
