#set($title = "会員変更")
<!-- preHeader -->
#parse( "/WEB-INF/view/common/preHeader_mb.vm" )

<body style="font-family: monospace; width: 240px; border: 2px solid black;">
<!--ヘッダー-->
#parse( "/WEB-INF/view/common/header_mb.vm" )

#set($confirm-url = $tools.getEncodeUrl('/user/userEdit/'))
<form action="$!confirm-url" method="post">
会員更新ページ
<hr size="1">
「<font color="#ff0000">*</font>」印の項目は必ず登録してください。<br>
(※半角カナは使用しないでください)<br><br>

$!tools.getMsg("pointUse")
■基本情報<br>

<br>氏名(氏)
<br><input size="20" name="firstName" maxlength="128" value="$!escape.html($!userEditForm.firstName)" type="text">
$!tools.getMsg("firstName")

<br>氏名(名)
<br><input size="20" name="lastName" maxlength="128" value="$!escape.html($!userEditForm.lastName)" type="text">
$!tools.getMsg("lastName")

<br>フリガナ(セイ)(全角)
<br><input size="20" name="firstNameKana" maxlength="128" value="$!escape.html($!userEditForm.firstNameKana)" type="text">
$!tools.getMsg("firstNameKana")

<br>フリガナ(メイ)(全角)
<br><input size="20" name="lastNameKana" maxlength="128" value="$!escape.html($!userEditForm.lastNameKana)" type="text">
$!tools.getMsg("lastNameKana")
<br>

$!tools.getMsg("Email")<br>
<font class="txt10or">※パソコンと携帯どちらかを必ず入力してください。</font><br>

<br>E-mail(メイン)
<br><input type="text" size="37" name="mainPcEmail" maxlength="128" value="$!escape.html($!userEditForm.mainPcEmail)" style="width:100%">
$!tools.getMsg("mainPcEmail")
$!tools.getMsg("Email")

<br>E-mail(サブ)
<br><input type="text" size="37" name="subPcEmail" maxlength="128" value="$!escape.html($!{userEditForm.subPcEmail})" style="width:100%">
$!tools.getMsg("subPcEmail")
$!tools.getMsg("Email")
<br>

<br><font color="#ff0000">*</font>ID
<br><input size="37" name="loginId" maxlength="128" value="$!escape.html($!userEditForm.loginId)" istyle="3" type="text" style="width:100%"><br>(※半角英数6文字~20文字以内)
$!tools.getMsg("loginId")

<br><font color="#ff0000">*</font>パスワード
<br><input size="20" name="password" maxlength="20" value="$!escape.html($!userEditForm.password)" type="text"><br>(※半角英数6文字)
$!tools.getMsg("password")

<br><font color="#ff0000">*</font>パスワード確認
<br><input size="20" name="password2" maxlength="20" value="$!escape.html($!userEditForm.password2)" type="text">
$!tools.getMsg("password2")

<br><br>
■ご自宅の住所の登録<br>

<br>郵便番号
<br><input size="8" name="zipCode" maxlength="7" value="$!escape.html($!userEditForm.zipCode)" istyle="4" type="text"><br>(※半角数字7桁)
$!tools.getMsg("zipCode")

<br><input value="住所検索" type="submit" name="addrSearchUseMb"/>

<br>都道府県<br>
<select name="prefectureId" id="prefectureId">
<option value=""></option>
	#foreach($genreItem in $prefectureList)
		#if($userEditForm.prefectureId && $genreItem.prefectureId == $userEditForm.prefectureId)
			<option value="$!genreItem.prefectureId" selected>#he($!genreItem.prefecture)</option>
		#else
			<option value="$!genreItem.prefectureId">#he($!genreItem.prefecture)</option>
		#end
	#end
</select>
<input type="hidden" name="prefectureId" value="$userEditForm.prefectureId">

<br>市区町村
<br><input size="37" name="cityName" maxlength="256" value="$!escape.html($!userEditForm.cityName)" type="text" style="width:100%">
$!tools.getMsg("cityName")

<br>それ以降の住所
<br>(丁目・番地など)
<br><input size="37" name="areaName" maxlength="1024" value="$!escape.html($!userEditForm.areaName)" type="text" style="width:100%">
$!tools.getMsg("areaName")

<br>アパート・ビル・マンション
<br><input size="37" name="buildingName" maxlength="1024" value="$!escape.html($!userEditForm.buildingName)" type="text" style="width:100%">
$!tools.getMsg("buildingName")

<br>電話番号
<br><input size="16" name="telNo" maxlength="16" istyle="4" value="$!escape.html($!userEditForm.telNo)" type="text"><br>(※半角数字・携帯可)
$!tools.getMsg("telNo")

<br><br>
■属性情報<br>
<br>
<font color="#ff0000">
属性情報は、調査に利用し、統計的に扱うことを目的としています。 正確に登録し、情報に変更があった場合は随時MYページから更新してください。
</font>
<br>
<br>性別
<br>
#if($!userEditForm.genderCd == "null" || $!userEditForm.genderCd == "")
<input type="radio" name="genderCd" value="0">男性&nbsp;&nbsp;
<input type="radio" name="genderCd" value="1">女性
#else
<input type="radio" name="genderCd" value="0" #if($!userEditForm.genderCd == "0")checked#end>男性&nbsp;&nbsp;
<input type="radio" name="genderCd" value="1" #if($!userEditForm.genderCd != "0")checked#end>女性
#end
##<input type="radio" name="genderCd" value="0" #if($!userEditForm.genderCd == "0")checked#end>男性&nbsp;&nbsp;<input type="radio" name="genderCd" value="1" #if($!userEditForm.genderCd != "0")checked#end>女性
<br>
<br>生年月日
<br>

<select name="birthdayY" id="birthdayY">
<option value=""></option>
	##foreach($yyyy in $yyyyList)
	#foreach($yyyy in [1900..$birthYYYY])
		#if($yyyy == $userEditForm.birthdayY)
			<option value="$!yyyy" selected>#he($!yyyy)</option>
		#else
			<option value="$!yyyy">#he($!yyyy)</option>
		#end
	#end
</select>
<input type="hidden" name="birthdayY" value="$userEditForm.birthdayY">
年
<select name="birthdayM" id="birthdayM">
<option value=""></option>
	#foreach($mm in [1..12])
		#if($mm == $userEditForm.birthdayM)
			<option value="$!mm" selected>#he($!mm)</option>
		#else
			<option value="$!mm">#he($!mm)</option>
		#end
	#end
</select>
<input type="hidden" name="birthdayY" value="$userEditForm.birthdayM">
月
<select name="birthdayD" id="birthdayD">
<option value=""></option>
	#foreach($dd in [1..31])
		#if($dd == $userEditForm.birthdayD)
			<option value="$!dd" selected>#he($!dd)</option>
		#else
			<option value="$!dd">#he($!dd)</option>
		#end
	#end
</select>
<input type="hidden" name="birthdayY" value="$userEditForm.birthdayD">
日
<font color="#ff0000"></font>

<br><input value="確 認" type="submit" name="confirm"/>

<br>

#set($mypage-url = $tools.getEncodeUrl('/user/myPage/'))
<br><a href="$mypage-url">マイページトップ</a><br>
<br>

</form>
</body></html>