<?php
$page_title = "KYC";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="<?php echo SITE_NAME; ?>"></a></h1>
				<div class="aside-heading">
					<div class="btns">
						<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
					</div>
				</div>
				<form id="searchForm" action="" method="post">
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w40p">
							<col class="w60p">
						</colgroup>
						<tr>
							<th>Email Address</th>
							<td><input type="text" id="email" name="email" value="<?php $this -> echoMail(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Country</th>
							<td>
								<select id="country" name="country" class="w100p">
									<option value="">Pull Down Search</option>
									<?php echo $this -> getCountryList(); ?>																	
								</select>
							</td>
						</tr>
						<tr>
							<th>Name</th>
							<td><input type="text" id="name" name="name" value="<?php $this -> echoName(); ?>"  placeholder="" class="w100p"></td>
						</tr>
						<tr>
							<th>Account Number</th>
							<td><input type="text" id="user_account" name="user_account" value="<?php echo $this -> getAccountNumber(); ?>"  placeholder="" class="w100p"></td>
						</tr>
						
						<tr>
							<th>Account Type</th>
							<td>
								<select id="account_type" name="account_type" class="w100p">
									<option value="">--- All ---</option>
									<?php echo $this -> echoAccountType(); ?>
							</td>
						</tr>
						<tr>
							<th>Agent Code</th>
							<td><input type="text" id="agent_code" name="agent_code" value="<?php $this -> echoAgentCode(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Account Status</th>
							<td>
								<select id="account_status" name="account_status"  class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> echoStatus(); ?>
								</select>
							</td>
						</tr>
						<tr>
					     	<td colspan="2">
								<span class="th">Review Status</span>
								<label>
									<input type="checkbox" id="statuses" />Check All
								</label>
								<?php echo $this -> getCheckValidateList(); ?>
                            </td>
						</tr>
						<tr>
							<th>KYC Review Information</th>
							<td>
								<input type="text" id="comment" name="comment" value="<?php echo $this -> getKYCComments(); ?>"  class="w100p">
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Date of Last Upload</span>
								<?php $this -> dispOpenFlg(); ?>	
								<input type="text" id="from" name="from" value="<?php $this -> echoSFrom(); ?>" class="w100p"> - <input type="text" id="to" name="to" value="<?php $this -> echoSTo(); ?>" class="w100p">
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Date of Status Change</span>
								<?php $this -> dispLoginFlg(); ?>	
								<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSatusSFrom(); ?>" class="w100p"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoStatusSTo(); ?>" class="w100p">
							</td>
						</tr>
					</table>
					<input type="hidden" value="search" id="type_search" name="type" />
				</form>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
							<?php $this -> dispPager(); ?>
						</div>
						<?php $this -> echoMessage(); ?>
						
						<form id="acForm" action="" method="post">
							<div>
	                         	Review Status
	                            <select id="updateStatus" name="updateStatus" >
	                            	<?php echo $this -> getSelectValidateList(); ?>
								</select>
	                        <input class="btn bg-grad hi25 px120" id="btnUpdateAll" type="button" value="Change in Batch">
	                        </div>
							<table class="table col bdr default odd w100p fontXS calign">
								<tr>
									<th class="w3p">Country</th>
									<th class="w7p">Email Address</th>
									<th class="w7p">Name</th>
									<th class="w3p">Account Number</th>
									<th class="w3p">Account Type</th>
									<th class="w7p">Date of Last Upload</th>
									<th class="w5p">Status</th>
									<th class="w3p">Review Status</th>
									<th class="w7p">Date of Status Change</th>
									<th class="w3p"></th>
									<th class="w3p"><input type="checkbox" id="checkall"> Check</th>
								</tr>
                                <?php $this -> echoList(); ?>
							</table>
							<input type="hidden" value="account_edit" id="action" name="action" />
							<input type="hidden" value="" id="type" name="type" />
							<input type="hidden" value="" id="account_id" name="user_account" />
							<input type="hidden" id="detail_account" name="detail_account" />
						</form>
						<div class="article-bottom">
							<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/kyc.js"></script>
</body>
</html>