<!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" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{#$title#}</title>
	<meta name="author" content="骑士CMS" />
	<meta name="copyright" content="74cms.com" />
	<link rel="shortcut icon" href="{#$QISHI.site_dir#}favicon.ico" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_common.css" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_company.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script>
	$(document).ready(function() {
		$(".step_bar:last").css({"margin-right":"0"});
		// 提现金额判断

		$("#extract_money").bind('input propertychange', function() { 
			var extract_money=$(this).val();
			var available_funds={#$account.available_funds#};
			if(extract_money>available_funds)
			{
				$(this).val(available_funds);
			}
		});
	});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_hunter/header.htm"#}
	<!-- 顶部结束 -->
	<!-- 提现第一步 -->
	<div class="container">
		<!-- 步骤条 -->
		<div class="order_step_bar clearfix">
			<div class="step_bar step1 done">
				1.选择提现金额
				<div class="right_arrow"></div>
			</div>
			<div class="step_bar step2">
				<div class="left_arrow"></div>
				2.等待审核
				<div class="right_arrow"></div>
			</div>
			<div class="step_bar step3">
				<div class="left_arrow"></div>
				3.完成提现
			</div>
		</div>
		<!-- 步骤条结束 -->
		<div class="package_list_top">
			<div class="package_list_type">
				<span class="package_price link_blue">
					<span class="package_price">账户资金：<span class="orange_price">{#$account.available_funds#}</span> 元</span>
				</span>
			</div>
		</div>
		<div class="order_main">
			<div class="pay_tips">请认真填写提现申请表</div>
			<form action="?act=company_withdrawals_order_add" method="post">
			<div class="order_content clearfix" style="padding:40px 20px;">
				<div class="order_item clearfix">
					<div class="order_type">提现金额：</div>
					<div class="order_detail"><input type="text" name="extract_money" id="extract_money" class="text input-medium span3" datatype="n" sucmsg="&nbsp;" nullmsg="请填写提现金额" errormsg="请输入数字" /> 元</div>
				</div>
				<div class="order_item clearfix">
					<div class="order_type">提现方式：</div>
					<div class="order_detail">
						{#foreach from=$pay_type item=li#}
						{#if $li.typename=="tenpay"#}
						&nbsp;&nbsp;<label><input type="radio" name="pay_type" value="{#$li.typename#}"/>{#$li.byname#}</label>
						{#else#}
						<label><input type="radio" name="pay_type" value="{#$li.typename#}" checked/>{#$li.byname#}</label>
						{#/if#}
						{#/foreach#}
					</div>
				</div>
				<div class="order_item clearfix">
					<div class="order_type">账户名称：</div>
					<div class="order_detail"><input type="text" name="extract_pay_account" class="text input-medium span200" placeholder="请输入您的支付宝账户名称"></div>
				</div>
				<div class="order_item clearfix" style="margin-top: 10px;">
					<div class="order_type">真实姓名：</div>
					<div class="order_detail"><input type="text" name="extract_pay_uname" class="text input-medium span200" placeholder="请输入您的真实姓名"></div>
				</div>
				<div class="order_item tx_button_wrap clearfix">
					<div class="order_type">&nbsp;</div>
					<div class="order_detail"><input type="submit" value="提现" class="but100lan" /></div>
				</div>
			</div>
			</form>
			<div class="withdrawals_tips">
				<h4>温馨提示</h4>
				<div class="w_tips_content">
					<p class="w_tips_first">在提现过程中请认真填写相关信息，一旦审核完成，提现金额直接进入账户，此操作不可逆</p>
					<p>提现过程中如果遇到问题，请联系网站客服：</p>
					<p>联系电话：{#$QISHI.bootom_tel#}</p>
					<p>联系邮箱：{#$QISHI.web_email#}</p>
				</div>
			</div>
		</div>
	</div><!-- 提现第一步结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>