<?php
$page_title = "China Union Pay";
include_once('template/base_head.php');
$lang = $this -> getLangage();
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/ja/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?>
			</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>
						</div>
						<form id="acForm" action="https://<?php echo SITE_DOMAIN; ?>/api/CallpaymentCUP.php" method="post">
							<p class="pleft40 mb20 respM">以下の情報をご確認ください。</p>

							<div class="pleft40">
							<table class="table col bdr default odd transferT fontM mb40 ma90sp">
								<tr>
									<th colspan="2">口座の詳細</th>
								</tr>
								<tr>
									<th style="width: 180px;">口座番号</th>
									<td class="ralign"><?php echo $this -> getUserData(PARAM_USER_ACCOUNT); ?></td>
								</tr>
	                            <tr>
	                            	<th>誕生日</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_BIRTH_STRING); ?></td>
	                            </tr>
	                            <tr><th>名</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_FIRST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>姓</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_LAST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>电子邮箱</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_MAIL); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>国</th>
	                            	<td class="ralign"><?php $this -> echoCountryName(); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>県</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_STATE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>市町村</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_CITY); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>住所</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ADDRESS); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>郵便番号</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ZIP_CODE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>電話番号</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_TEL); ?></td></tr>
							</table>
							</div>
							<div class="pleft40" style="margin-top:30px;">
								<table class="table col bdr default odd transferT fontM mb40 ma90sp">
	        						<tr>
	        							<th colspan="2">入金詳細</th>
	        						</tr>
		                            <tr>
		                            	<th style="width: 180px;">支払総額</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency(); ?>&nbsp;<?php echo  $this -> echoDepositAmountNatural() ; ?></td>
		                            </tr>
		                            <tr>
		                            	<th>入金額</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoAmount(); ?></td>
		                            </tr>
		                            <tr>
		                            	<th>手数料</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php echo $this -> getFeeEx() ; ?></td>
		                            </tr>
		                            <tr>
		                            	<th>メッセージ</th>
		                            	<td class="ralign"><?php echo $this -> message; ?></td>
		                            </tr>
		                        </table>
		                        <input class="checkbox" type="checkbox" id="terms" name="terms" value="terms" >
                            	<label for="terms"><i class="sp">* </i><a target="blank" href="https://iwl.hk/jp/agreement">利用規約</a>に同意します。</label>
							</div>
							<br>

							<p class="red pleft40">
								引き続き取引を行う場合は、「次へ」をクリックしてください。その後China Union PAYの支払い画面へいくので、そこから決済手続きを取ってください。<br/>
							</p><br>
							
							<p class="transferButton mb30">
								<a id="btnBackCUPInput" class="btn bg-default calign">&laquo; 戻る</a>&emsp;
								<input type="button" id="btnCUPComplete" OnClick='checkTerms("<?php echo $lang; ?>")' value="次へ" class="btn bg-grad px180 calign">
							</p>
							
							<input type="hidden" value="send" id="type" name="type" />
							<input type="hidden" value="" id="method" name="method" />
							
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/deposit.js"></script>
</body>
</html>
