<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/c.css" />
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/mf.css" />
</head>
<body>
<form id="formSearch" action="" method="post">
<div class="mainTips">
	<label><select name="order_by">
		<option value="">{-:@DISPLAY_ORDER-}</option>
		<option value="member_order_id"{-if:'member_order_id'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@ID-}</option>
		<option value="mo_points"{-if:'mo_points'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@POINTS-}</option>
		<option value="mo_add_time"{-if:'mo_add_time'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@ADD_TIME-}</option>
		<option value="mo_product_type"{-if:'mo_product_type'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@PRODUCT_TYPE-}</option>
		<option value="mo_product_name"{-if:'mo_product_name'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@PRODUCT_NAME-}</option>
		<option value="member_id"{-if:'member_id'==arequest::get('order_by')-} selected="selected"{-:/if-}>{-:@MEMBER-}{-:@ID-}</option>
	</select></label>
	<label><select name="order_turn">
		<option value="desc"{-if:'desc'==arequest::get('order_turn')-} selected="selected"{-:/if-}>{-:@DESC-}</option>
		<option value="asc"{-if:'asc'==arequest::get('order_turn')-} selected="selected"{-:/if-}>{-:@ASC-}</option>
	</select></label>
	<label><select name="page_size">
		<option value=""{-if:''==arequest::get('page_size')-} selected="selected"{-:/if-}>{-:@PAGE_SIZE-}</option>
		<option value="10"{-if:'10'==arequest::get('page_size')-} selected="selected"{-:/if-}>10 {-:@ITEMS-}</option>
		<option value="20"{-if:'20'==arequest::get('page_size')-} selected="selected"{-:/if-}>20 {-:@ITEMS-}</option>
		<option value="50"{-if:'50'==arequest::get('page_size')-} selected="selected"{-:/if-}>50 {-:@ITEMS-}</option>
		<option value="100"{-if:'100'==arequest::get('page_size')-} selected="selected"{-:/if-}>100 {-:@ITEMS-}</option>
	</select></label>
	<label><span class="btn_l submit" action="{-url:order/list_order-}" to="#formSearch">{-:@SEARCH-}</span></label>
</div><!--/.mainTips-->
</form>
<form id="formList" action="" method="post">
<dl class="abox">
	<dt><strong>{-:@MEMBER_ORDER-}{-:@LIST-}</strong></dt>
	<dd>
		<table class="listTable">
			<tr>
				<th scope="col" width="18"><input type="checkbox" class="select_all" to="member_order_id"></th>
				<th scope="col">{-:@ID-}</th>
				<th scope="col">{-:@PRODUCT_TYPE-}</th>
				<th scope="col">{-:@PRODUCT_NAME-}</th>
				<th scope="col">{-:@POINTS-}</th>
				<th scope="col">{-:@STATUS-}</th>
				<th scope="col">{-:@ADD_TIME-}</th>
				<th scope="col">{-:@MEMBER-}{-:@ID-}</th>
				<th scope="col">{-:@MANAGE-}</th>
			</tr>
			{-foreach:$_MOL,$mo-}
			<tr>
				<td><input name="member_order_id[]" type="checkbox" value="{-:$mo['member_order_id']-}"></td>
				<td>{-:$mo['member_order_id']-}</td>
				<td>{-:$mo['mo_product_type']-}</td>
				<td>{-:$mo['mo_product_name']-}</td>
				<td>{-:$mo['mo_points']-}</td>
				<td>
				{-if:1 == $mo['mo_status']-}
					<span class="fc_g">{-:@PAIED-}</span>
				{-else:-}
					<span class="fc_r">{-:@NOT_PAIED-}</span>
				{-:/if-}
				</td>
				<td>{-:$mo['mo_add_time']|date~'Y-m-d H:i:s',@me-}</td>
				<td><a href="{-url:member_order/list_order?member_id={$mo['member_id']}-}">{-:$mo['member_id']-}</a></td>
				<td><a href="{-url:member_order/pay_order_do?member_order_id={$mo['member_order_id']}-}">{-:@PAY-}</a> | <a href="{-url:member_order/delete_order_do?member_order_id={$mo['member_order_id']}-}" onClick="javascript:return delete_confirm();" >{-:@DELETE-}</a></td>
			</tr>
			{-:/foreach-}
		</table>
		<div id="page_list">{-:$PAGE_LIST-}</div>
	</dd>
</dl><!--/.abox-->
<div id="operation">
	<span class="btn_l submit" action="{-url:member_order/pay_order_do-}" to="#formList">{-:@PAY_SELECTED-}</span>
	<span class="btn_l submit" action="{-url:member_order/delete_order_do-}" to="#formList">{-:@DELETE_SELECTED-}</span>
</div><!--/#operation-->
</form>
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/jquery.js"></script>
<script type="text/javascript" src="{-:*__THEME__-}/admin/js/c.js"></script>
</body>
</html>