memberEdit.html 9.17 KB
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
#set($title = "会員編集")
#set($menukubun = "1")
#parse( "/WEB-INF/view/common/header_admin.vm" )
<script language="JavaScript">
    <!--
    function OpenSrchWindow()
    {

    var zipCode = document.mainForm.zipCode.value;

	//var url='#q("/user/userEdit/addrSearch?zipCode=")'+zipCode;
	var url='#q("/admin/member/memberRegist/addrSearch?zipCode=")'+zipCode;
	window.open(url, "userEditForm", "width=600px, height=512px,resizable=yes,scrollbars=yes ");

    }

	function send_check(){
		document.mainForm.submit();
		return false;
     }

   function ReturnPage()
    {
		location.href = "#q('/admin/member/memberSearch/memberSearchResultBack/')";

	}

	function deleteMember()
    {

		if(window.confirm('削除しますか?')){
			document.forms[0].action="#q('/admin/member/memberEdit/deleteMember/')";
			document.forms[0].submit();
		}else{
			window.alert('キャンセルしました');
		}

	}
    //-->
</script>
<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">

</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">

<h2 class="contents_title">会員編集</h2>

<div id="right_contents">

#if($tools.getMsgs()!="")
<font color="red" size="2">入力エラーがあります。</font>
#end
#set($member-url = $tools.getSecureUrl('/admin/member/memberEdit/confirm/'))
<form name="mainForm" action="$!member-url" method="post">

<h3 class="table_title">基本情報</h3>
##<div id="search">
##<table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790">
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb30 w840">
	<tr class="gray">
		<td class="w190" style="vertical-align:top">ログインID<font class="listpoint">*</font></td>
		<td><input name="loginId" type="text" class="w200" value="$!escape.html($!memberEditForm.loginId)">
			<BR>$!tools.getMsg("loginId")
		</td>
	</tr>
	<tr>
		<td>パスワード<font class="listpoint">*</font></td>
		<td><input name="password" type="text" / class="w200" value="$!escape.html($!memberEditForm.password)">
			<BR>$!tools.getMsg("password")
		</td>
	</tr>
	<tr>
		<td>パスワード確認<font class="listpoint">*</font></td>
		<td><input name="password2" type="text" / class="w200" value="$!escape.html($!memberEditForm.password2)">
			<BR>$!tools.getMsg("password2")
		</td>
	</tr>
	<tr class="gray">
		<td>パソコンE-mail<font class="listpoint">*</font></td>
		<td><input name="pcEmail" type="text" / class="w250" value="$!escape.html($!memberEditForm.pcEmail)">
			<BR>$!tools.getMsg("pcEmail")
			$!tools.getMsg("Email")
		</td>
	</tr>
	<tr>
		<td>携帯電話E-mail<font class="listpoint">*</font></td>
		<td><input name="mbEmail" type="text" / class="w250" value="$!escape.html($!{memberEditForm.mbEmail})">
			<BR>$!tools.getMsg("mbEmail")
			$!tools.getMsg("Email")
		</td>
	</tr>
	<tr class="gray">
		<td>氏名</td>
		<td><input name="firstName" type="text" / class="w120" value="$!escape.html($!memberEditForm.firstName)">&nbsp;&nbsp;
<input name="lastName" type="text" / class="w120 mgl10" value="$!escape.html($!memberEditForm.lastName)">
			<BR>$!tools.getMsg("firstName")
			$!tools.getMsg("lastName")
		</td>
	</tr>
	<tr>
		<td>フリガナ</td>
		<td>セイ<input name="firstNameKana" type="text" / class="w120 " value="$!escape.html($!memberEditForm.firstNameKana)">&nbsp;&nbsp;
		メイ<input name="lastNameKana" type="text" / class="w120 " value="$!escape.html($!memberEditForm.lastNameKana)">
			<BR>$!tools.getMsg("firstNameKana")
			$!tools.getMsg("lastNameKana")
		</td>
	</tr>
</table>
##</div>

<h3 class="table_title">住所情報</h3>
##<div id="search">
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb30 w840">
	<tr class="gray">
		<td  class="w190" style="vertical-align:top">郵便番号</td>
		<td><input name="zipCode" type="text" / class="w80" value="$!escape.html($!memberEditForm.zipCode)">
		<BR>$!tools.getMsg("zipCode")
120
		<font class="txt10or">※半角数字7桁〔-は不要〕</font><font class="txt10">例:1230000</font>
Kim Gyeongeun committed
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
		<BR><font class="txt10">&nbsp;<a href="javascript:OpenSrchWindow(this.form)">住所検索<img src="/em/images/cts_listallow.gif" border="0" align="absmiddle"></a></font>
		</td>
	</tr>
	<tr>
		<td>都道府県</td>
		<td>
		<select name="prefectureId" id="prefectureId" class="w100">
		<option value=""></option>
			#foreach($genreItem in $prefectureList)
				#if($memberEditForm.prefectureId && $genreItem.prefectureId == $memberEditForm.prefectureId)
					<option value="$!genreItem.prefectureId" selected>#he($!genreItem.prefecture)</option>
				#else
					<option value="$!genreItem.prefectureId">#he($!genreItem.prefecture)</option>
				#end
			#end
		</select>
		</td>
	</tr>
	<tr>
		<td>市区町村</td>
		<td><input name="cityName" type="text" / class="w300" value="$!escape.html($!memberEditForm.cityName)"><font class="txt10">例:市川市</font>
		<BR>$!tools.getMsg("cityName")
		</td>
	</tr>
	<tr class="gray">
		<td>町名・番地</td>
		<td><input name="areaName" type="text" / class="w300" value="$!escape.html($!memberEditForm.areaName)"><font class="txt10">例:八幡1-1-1</font>
		<BR>$!tools.getMsg("areaName")
		</td>
	</tr>
	<tr>
		<td>アパート・ビル・マンション</td>
		<td><input name="buildingName" type="text" / class="w300" value="$!escape.html($!memberEditForm.buildingName)"><font class="txt10">例:eモニタワー20F 2036号</font>
		<BR>$!tools.getMsg("buildingName")
		</td>
	</tr>
	<tr>
158
		<td>電話<font class="listpoint">*</font></td>
Kim Gyeongeun committed
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
		<td><input name="telNo" type="text" / class="w150" value="$!escape.html($!memberEditForm.telNo)">
		<BR>$!tools.getMsg("telNo")
		</td>
	</tr>
</table>
##</div>


<h3 class="table_title">属性情報</h3>
##<div id="search">
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb10 w840">
	<tr>
		<td  class="w190">性別</td>
		<td>
#if($!memberEditForm.genderCd)
<input type="radio" name="genderCd" value="0" #if($!memberEditForm.genderCd == "0")checked#end>男性&nbsp;&nbsp;
<input type="radio" name="genderCd" value="1" #if($!memberEditForm.genderCd == "1")checked#end>女性
#else
<input type="radio" name="genderCd" value="0">男性&nbsp;&nbsp;
<input type="radio" name="genderCd" value="1">女性
#end
		</td>
	</tr>
	<tr>
		<td>生年月日</td>
		<td>
<select name="birthdayY" id="birthdayY" class="w58">
<option value=""></option>

	#foreach($yyyy in [1900..$birthYYYY])
		#if($!memberEditForm.birthdayY)
			#if($yyyy == $!memberEditForm.birthdayY)
				<option value="$!yyyy" selected>#he($!yyyy)</option>
			#else
				<option value="$!yyyy">#he($!yyyy)</option>
			#end
		#else
			<option value="$!yyyy">#he($!yyyy)</option>
		#end
	#end
</select>/
<select name="birthdayM" id="birthdayM" class="w40 mgl10">
<option value=""></option>
	#foreach($mm in [1..12])
		#if($!memberEditForm.birthdayM)
			#if($mm == $!memberEditForm.birthdayM)
				<option value="$!mm" selected>#he($!mm)</option>
			#else
				<option value="$!mm">#he($!mm)</option>
			#end
		#else
			<option value="$!mm">#he($!mm)</option>
		#end
	#end
</select>/
<select name="birthdayD" id="birthdayD" class="w40 mgl10">
<option value=""></option>
	#foreach($dd in [1..31])
		#if($!memberEditForm.birthdayD)
			#if($dd == $!memberEditForm.birthdayD)
				<option value="$!dd" selected>#he($!dd)</option>
			#else
				<option value="$!dd">#he($!dd)</option>
			#end
		#else
			<option value="$!dd">#he($!dd)</option>
		#end
	#end
</select>

<BR>$!tools.getMsg("birthdayY")
		</td>
	</tr>
	<tr>
		<td>退会フラグ</td>
		<td>&nbsp;&nbsp;退会<input name="withDrawFlg" type="checkbox" / class="mgl10" value="$!memberEditForm.withDrawFlg"  #if($memberEditForm.withDrawFlg != "0") checked #end    ></td>
	</tr>
	<tr>
237
		<td>ポイント<font class="listpoint">*</font></td>
Kim Gyeongeun committed
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
		<td><input name="point" type="text" / class="w250" value="$!escape.html($!memberEditForm.point)">
		<BR>$!tools.getMsg("point")
		</td>
	</tr>
	<tr>
		<td style="vertical-align:top" >メモ</td>
		<td>
 		<textarea name="memo" cols="35"  rows="5" class="w180 mgt5">$!memberEditForm.memo</textarea>
		<BR>$!tools.getMsg("memo")
		</td>
	</tr>
	<tr>
		<td style="text-align:center" colspan="2" class="w600">
			<font color="#FF0000"><B>入力情報の確認を行っていただくため確認画面に進みます</B></font>
		</td>
	</tr>

</table>
<div class="btn_area2" style="width:840px;">
		<button class="button" onClick="javascript:ReturnPage(); return false;">戻る</button>&nbsp;&nbsp;&nbsp;
		<button class="button" onclick="send_check(); return false;">入力情報確認</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<button class="button" onclick="deleteMember(); return false;">会員情報完全削除</button>
</div>
##</div>
#makeToken()
<input type="hidden" name="loginIdBefore" value="$!memberEditForm.loginIdBefore">
<input type="hidden" name="pcEmailBefore" value="$!memberEditForm.pcEmailBefore">
<input type="hidden" name="mbEmailBefore" value="$!memberEditForm.mbEmailBefore">
<input type="hidden" name="memberId" value="$!memberEditForm.memberId">
<input type="hidden" name="withDrawFlgBefore" value="$!memberEditForm.withDrawFlgBefore">
</form>

</div>
</div>
<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>
</div>
</div>

#parse( "/WEB-INF/view/common/footer_admin.vm" )