<!DOCTYPE html>
<!--[if IE 8 ]><html dir="ltr" lang="zh-TW" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="ltr" lang="zh-TW" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="ltr" lang="zh-TW">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title>管理後臺</title>
<meta name="robots" content="noindex, nofollow" />
<link href="/css/font-awesome.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script src="/jquery/jquery-1.8.2.min.js"></script>
</head>

<body>
	<div class="wrapper">
    	<?# header ?>
    	<div class="wrap">
        	<?# sidePage ?>
            <div class="contentMain">
            	<ul class="waylink">
                	<li><a href="index.php">後台管理</a></li>
                    <li>線上訂單</li>
                    <li>快速線上付款列表</li>
                </ul>
            	<h3 class="pagTitle">快速線上付款列表</h3>
                <form id="form1" name="form1" method="get" action="paypageList.php">
                    <div class="showBox">
                        <div class="showHeader">
                            <p>搜尋</p>
                            <font><a href="javascript:void(0);" data-action="showBtn"><i class="fa fa-chevron-up"></i> 收合</a></font>
                        </div>
                        <div class="showInfo serch">
                            <font>
							<select id="kt" name="kt">
								<option value="1">付款人姓名</option>
								<option value="2">付款原因</option>
								<option value="3">付款人信箱</option>
							</select>
							</font>
                            <font><input type="text" id="kw" name="kw" value="<?# kw ?>" /></font>
                            <font><a id="btnOK" class="btn" href="javascript:void(0);">搜尋</a></font>
                        </div>
                    </div>
                    <div class="showBox">
                        <div class="showHeader">
                            <p>訂單列表</p>
                            <font><a href="javascript:void(0);" data-action="showBtn"><i class="fa fa-chevron-up"></i> 收合</a></font>
                        </div>
                        <div class="showInfo listBox">
                            <ul class="orderList">
                                <php:repeater id="list">
                                <template>
                                <li>
                                    <p class="sBox"><label>狀態</label><font><?# txtStatus ?></font></p>
                                    <p><label>付款原因</label><font><?# ItemDesc ?></font></p>
                                    <p><label>付款人姓名</label><font><?# PayerName ?></font></p>
                                    <p><label>付款人信箱</label><font><?# Email ?></font></p>
                                    <p><label>訂單金額</label><font><?# Amt ?></font></p>
                                    <p><label>付款日期</label><font><?# PayDate ?></font></p>
                                    <p>
                                        <label>操作</label>
                                        <font><a class="btn" href="paypageView.php?id=<?# ID ?>&pUrl=<?# encodedUrl ?>">修改</a></font>
                                    </p>
                                </li>
                                </template>
                                </php:repeater>
                            </ul>
                        </div>
                    </div>
                    <div id="pagenav">
                        <p class="pag">
                        	<font><?# pagtxt ?></font>
                            <font>每頁 <input type="text" id="pz" name="pz" value="<?# pz ?>" style="width:20px;" /> 筆資料，</font>
                            <font>跳到第 <input type="text" id="p" name="p" value="<?# p ?>" style="width:20px;" /> 頁</font>
                            <a id="btnGO" class="btn" href="javascript:void(0);">GO</a>
                        </p>
                    </div>
                </form>
            </div>
        </div>
        <?# footer ?>
    </div>
<script src="/jquery/admin-jquery.js"></script><!--後台所有jq控制-->
<script>
	$(function(){
		$('#btnOK').click(function(){
			$('#p').val('1');
			$('#form1').submit();
		});
		$('a[data-action="goPage"]').click(function(){
			$('#p').val($(this).data('id'));
			$('#form1').submit();
		});
		$('#btnGO').click(function(){
			$('#form1').submit();
		});
	});
</script>
</body>
</html>