<!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_hunter.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radioui.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radiorelated.js"></script>
	<script src="{#$QISHI.site_template#}js/Validform.min.js"></script>
	<script>
		$(document).ready(function() {
			$(".p_rechange_table .recahnge_table_item:even").css({"background-color":"#F5F5F5"});
			// 美化单选框
			$(':radio').RadioUI();
			//验证
			$("#Form_orderadd").Validform({
				tiptype:2
			});
		});
	</script>
</head>
<body> 
	{#include file="member_hunter/header.htm"#}
	{#include file="member_hunter/hunter_info_nav.htm"#}
	<!-- 充值积分 -->
	<div class="container">
		<div class="hunter_points_rechange">
			<div class="rechange_top">
				<div class="account_points link_blue"><span>账户积分：<em>{#$points#}</em> 分</span><a href="?act=rules_point" class="rules_points">【积分规则】</a></div>
			<form action="?act=order_add" method="post" name="Form_orderadd" id="Form_orderadd">	

				<div class="points_rechange">
					<span>充值积分：<input type="text" name="points" class="text input-medium span3" datatype="n" sucmsg="&nbsp;" nullmsg="请填写充值积分" errormsg="请输入数字" /> 分</span><span></span><span class="p_re_span">（1元可购买{#$QISHI.hunter_payment_rate#}积分）</span><br><br>
					付款方式：
					{#foreach from=$pay_type item=i#}
					<label style="{#if $i.typename=='balance'#}display:none;{#/if#}"><input type="radio" name="payment_name" id="" {#if $i.typename=="alipay"#}checked{#/if#} value="{#$i.typename#}"/> <span class="p_type_box"><img src="{#$QISHI.site_dir#}include/payment/logo/{#$i.typename#}.gif" alt="" width="86" height="31" style="vertical-align:middle"/></span></label>
					{#/foreach#}
					<br><br>
					<input type="submit" value="充值" class="but75lan_small" />
				</div>

			</form>
			</div>
			<div class="pointer_rechange_form">
				<h2 class="points_re_title">我的订单</h2>
				<div class="p_rechange_table">
					<table cellspacing="0">
						<tbody>
							<tr class="rechange_table_title">
								<th class="p_rechange_left" align="left" width="146">订单编号</th>
								<th align="center" width="105">充值金额</th>
								<th align="center" width="173">支付方式</th>
								<th align="center" width="147">状态</th>
								<th align="left" width="155">创建时间</th>
								<th align="center" width="47">备注</th>
								<th align="center" width="185">操作</th>
							</tr>
							 
								
					{#foreach item=i from=$order#}		
							<tr class="recahnge_table_item">
								<td class="p_rechange_left" align="left" width="146"><span class="big_number">{#$i.oid#}</span></td>
								<td align="center" width="105"><span class="verdana_font">￥{#$i.amount#}</span></td>
								<td align="center" width="173">{#$i.byname#}</td>
								<td align="center" width="147"><span class="has_pay">
								{#if $i.is_paid == 2#}
									已支付
								{#else#}
									未支付
								{#/if#}  
								</span></td>
								<td align="left" width="155">{#$i.addtime|date_format:"%Y-%m-%d %H:%M"#}</td>
								<td align="center" width="47">
									<div class="reason">
										{#if $i.notes#}{#$i.notes#}{#else#}无{#/if#}
									</div>
								</td>
								<td align="center" class="link_blue" width="185">
								{#if $i.is_paid ==1#}
									<span class="has_pay_link"><a href="?act=payment&order_id={#$i.id#}" class="pay_a">支付</a></span>&nbsp;&nbsp;
									<span class="has_pay_link"><a href="?act=order_del&id={#$i.id#}">取消</a></span>
								{#else#}
									<span class="has_pay_link">{#$i.payment_time|date_format:"%Y-%m-%d %H:%M"#}</span>&nbsp;&nbsp;
								{#/if#} 
								</td>
							</tr>
							 
					{#/foreach#}	 
							 
							<tr class="rechange_table_bottom">
								<td colspan="7">
									<!-- 分页 -->
									<div class="page h_page clearfix">
										{#$page#}
									</div><!-- 分页结束 -->
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div><!-- 充值积分结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>