<?php
$page_title = "iWallet卡申请";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<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>

						<p class="mb20 pleft40">卡申请-当前状态</p>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post" class="pleft40 pb40">

							<table class="mb20 table col bdr default odd calign w99p fontXS" id="table-breakpoint">
								<tr>
									<th class="w30p">卡 1</th>
									<td class="w70p l"><?php $this -> dispCardProgress(NO_COUNT); ?></td>
								</tr>
								<tr>
									<th class="w30p">卡 2</th>
									<td class="w70p l"><?php $this -> dispCardProgress(VAL_INT_1); ?></td>
								</tr>
							</table>

							<p class="mb20">
								<?php $this -> dispCardLimitRecharge(); ?>使用上限为<?php $this -> dispCardLimit(); ?>的卡也开放申请中。<br/>
								<?php $this -> dispCardLimitWord(); ?><br/><br/>

								同一用户可同时持有两张无限制卡。<br/>
								请通过iWallet发送给您的“请款申请”请求来支付您的卡费（含运费）。<br/>
								<br/><br/>

								请依次填写下方信息。<br/>
							</p>
							<table class="table col bdr default odd calign w99p fontXS mb20" id="table-breakpoint">
								<tr>
									<th class="w30p">请选择申请数量和邮寄地址。</th>
									<td class="w70p l"><select id="index" name="index"><?php $this -> echoList(); ?></select></td>
								</tr>
								<tr>
									<th class="w30p">请选择申请数量</th>
									<td class="w70p l"><?php $this -> dispHTMLSipFlg(); ?><br/>如果您已收到卡片，请勾选“注册地址”选项。</td>
								</tr>

								<tr>
									<th class="w30p">国家</th>
									<td id="td0Country" class="w70p l"><?php $this -> echoUserCountry(); ?></td>
									<td id="td1Country" style="display:none;" class="w70p l">
										<select id="country" name="country">
											<?php $this -> dispHTMLCountry(); ?>
										</select>
									</td>
								</tr>
								<tr>
									<th class="w30p">省</th>
									<td id="td0State" class="w70p l"><?php $this -> echoState(); ?></td>
									<td id="td1State" style="display:none;" class="w70p l"><input type="text" id="state" name="state" value="<?php $this -> echoState(VAL_INT_1); ?>" /></td>
								</tr>
								<tr>
									<th class="w30p">县/市</th>
									<td id="td0State" class="w70p l"><?php $this -> echoCity(); ?></td>
									<td id="td1State" style="display:none;" class="w70p l"><input type="text" id="city" name="city" value="<?php $this -> echoCity(VAL_INT_1); ?>" /></td>
								</tr>
								<tr>
									<th class="w30p">地址</th>
									<td id="td0Address" class="w70p l"><?php $this -> echoAddress(); ?></td>
									<td id="td1Address" style="display:none;" class="w70p l"><input type="text" id="address" name="address" value="<?php $this -> echoAddress(VAL_INT_1); ?>" /></td>
								</tr>
								<tr>
									<th class="w30p">邮编</th>
									<td id="td0ZipCode" class="w70p l"><?php $this -> echoZipCode(); ?></td>
									<td id="td1ZipCode" style="display:none;" class="w70p l"><input type="text" id="zip_code" name="zip_code" value="<?php $this -> echoZipCode(VAL_INT_1); ?>" /></td>
								</tr>
								<tr>
									<th class="w30p">联系电话</th>
									<td id="td0Tel" class="w70p l"><?php $this -> echoTel(); ?></td>
									<td id="td1Tel" style="display:none;" class="w70p l"><input type="text" id="tel" name="tel" value="<?php $this -> echoTel(VAL_INT_1); ?>" /></td>
								</tr>
							</table>
							<p class="calign">
								<input type="button" id="btnConfirm" value="下一步" class="btn bg-grad px150">
							</p>
							<?php //$this -> echoList(); ?>

							<input type="hidden" id="type" name="type" value="" />
							<input type="hidden" value="list" name="action" />
							<input type="hidden" value="" id="r_id" name="r_id" />
						</form>


					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card_apply.js"></script>
</body>
</html>
