<!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 type="text/javascript" src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radioui.js"></script>
	<script>
		$(document).ready(function() {
			$(".step_bar:last").css({"margin-right":"0"});
			// 美化单选框
			$(':radio').RadioUI();
			$(".pay_type").unbind().click(function(event) {
				$("i.radioui").removeClass('radioui-checked');
				$(this).find("i").addClass('radioui-checked');
				var pay_type = $("i.radioui-checked").attr("data");
				$("#ipt_pay_type").val(pay_type);
			});
		});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_company/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="plt_big">当前套餐：{#$my_setmeal.setmeal_name#}</span><span class="plt_small_grey">(服务有效期：{#$my_setmeal.starttime|date:"Y-m-d"#}至{#$my_setmeal.endtime|date:"Y-m-d"#})</span>
			</div>
			<div class="last_login">上次登录：{#$userinfo.last_login_time|date:"Y-m-d"#}&nbsp;&nbsp;{#$ip_address#}</div>
			<div class="package_list_type">
				<span class="package_price">当前余额：<span class="orange_price">{#$account.available_funds#}</span> 元</span>
				<span class="package_price">冻结金额：<span class="orange_price">{#$account.blocked_funds#}</span> 元</span>
			</div>
		</div>
		<div class="order_main">
			<div class="pay_tips">立即支付{#$account_funds#}元，即可完成充值。</div>
			<div class="order_content clearfix">
				<div class="order_item clearfix">
					<div class="order_type">充值金额：</div>
					<div class="order_detail"><span class="order_pay_money">{#$account_funds#} 元</span></div>
				</div>
				<div class="order_item clearfix">
					<div class="order_type">支付金额：</div>
					<div class="order_detail"><span id="pay_money" class="order_pay_money">￥{#$account_funds#}</span></div>
				</div>
				<form action="?act=account_order_add" method="post">
				<div class="order_item clearfix">
					<div class="order_type">支付方式：</div>					
					<div class="order_detail pay_t">
						{#foreach from=$pay_type item=i#}						
						<div class="pay_type_box" {#if $i.typename=="balance"#} style="display: none;" {#/if#}>
							<div class="pay_type">
								<input type="radio" name="payment_name" data="{#$i.typename#}" value="{#$i.typename#}" {#if $i.typename=="alipay"#} checked {#/if#}/> <span class="p_type_box"><img src="{#$QISHI.site_dir#}include/payment/logo/{#$i.typename#}.gif" alt="" width="86" height="31" /></span>
							</div>
						</div>
						{#/foreach#}
					</div>
				</div>
				<div class="order_item">
					<div class="order_type">&nbsp;</div>
					<input type="hidden" name="pay_type" id="ipt_pay_type" value="alipay"/>
					<input type="hidden" name="pay_money" id="ipt_pay_money" value="{#$account_funds#}"/>
					<div class="order_detail"><input type="submit" value="充值" class="but100lan" /></div>
				</div>
				</form>
			</div>
		</div>
	</div><!-- 充值积分第二步结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>