#set($title = "ポイント利用画面")
<!-- preHeader -->
#parse( "/WEB-INF/view/common/preHeader.vm" )
##<!-- JAVASCRIPTはここに記載 -->
<body bgcolor="#B3C9E1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<!-- header -->
<table width="1024"  cellspacing="0" cellpadding="0">
	<tr>
		<TD>#parse( "/WEB-INF/view/common/header.vm" )</TD>
	</tr>
	<tr>
		<TD>
			<table width="1024" border="0" cellspacing="0" cellpadding="0">
				<tr>
			   <td width="25" background="/em/images/shadowlft2.jpg"><img src="/em/images/spacer.gif" width="25" height="1" border="0"></td>
				    <td width="1024" bgcolor="#FFFFFF">
				    <table width="100%" border="0" cellspacing="5" cellpadding="0">
					    <tr>
					        <td align="right" width="155" valign="top">#parse( "/WEB-INF/view/common/menu.vm" )</td>
					        <td align="left" width="10" background="/em/images/cts_bar.gif"><img src="/em/images/spacer.gif" border="0"></td>
					        <td align="center" valign="top">
##CONTENT START 各ページコンテンツ
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ctsTitle">ポイント利用</td>
</tr>
</table>
<!-- Contents Title Table End -->

<form method="post" action="/em/user/pointUse/confirm/" >
<BR><BR><BR>
<input type="hidden" name="giftType" value="$!pointUseForm.giftType">
<input type="hidden" name="memberNum" value="$!memberNum"/>

<table width="500" border="0" cellpadding="2" cellspacing="1" bgcolor="#004080">
<tr>
	<td class="listmenu" width="160" >現在のポイント数</td>
	<td class="listcts" width="360">
		$!tools.getNumberFormatStr($!userInfo.pointNum)
	</td>
</tr>
<tr>
	<td class="listmenu">#if($!pointUseForm.giftType == 1)枚数#else交換ポイント数#end</td>
	<td class="listcts">

<select name="giftId">
#foreach($gift in $!pointUseForm.giftList)
	#if($gift.giftId == $!pointUseForm.giftId)
		<option value="$gift.giftId" selected>$gift.giftName</option>
	#else
		<option value="$gift.giftId">$gift.giftName</option>
	#end

#end
</select>

#foreach($gift in $!pointUseForm.giftList)
	<input type="hidden" name="giftList[$velocityCount].giftId" value="$gift.giftId"/>
	<input type="hidden" name="giftList[$velocityCount].giftName" value="$gift.giftName"/>
#end

	</td>
</tr>



</TABLE>
#errmsg()

	##入力情報確認ボタン
	<table width="100%" border="0" cellspacing="2" cellpadding="0">
		<TR><TD align="center"><font color="#FF0000"></font>&nbsp;</TD></TR>
		<TR>
		    <TD align="center">
		    	#if($!pointUseForm.giftType == 1)
		    	<input type="image" src="/em/images/input_conf.gif" alt="入力情報確認">
		    	#else
		    	<input class="nextBtn" type="submit"  value="次へ">
		    	<br><br>
		    	<p align="left" style="margin:0px 100px 0px;border: solid 1px #214566;"><font color="blue">
		    	【ポイント交換期間について】
				<br>ICHICOポイントへの<b>交換</b>ができるのは令和5年6月1日~9月20日までの間のみです。
				<br><br>
				【ICHICOの利用について】
				<br>ICHICOの<b>利用</b>は9月21日以降も一定の期間可能です。	
				</font></p>
		    	#end
		    </TD>
		</TR>
	</TABLE>
##CONTENT END 各ページコンテンツ
					        <!-- Button Table Start 点線-->
							<table width="780" border="0" cellspacing="5" cellpadding="0">
								<tr>
									<td background="/em/images/cts_btnbar.gif"><img src="/em/images/spacer.gif" width="1" height="10" border="0"></td>
								</tr>
							</table>
							<!-- Button Table End -->
					        </td>
					    </tr>
				    </table>
				    </td>
			   <td width="25" background="/em/images/shadowrgt2.jpg"><img src="/em/images/spacer.gif" width="25" height="1" border="0"></td>
				</tr>
			</table>
		</TD>
	</tr>
	<tr>
		<TD>#parse( "/WEB-INF/view/common/footer.vm" )</TD>
	</tr>
</table>

</center>
</body>
</html>