memberSearch.html.svn-base 11.6 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 120 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 158 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 237 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 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
#set($title = "会員検索")
#set($menukubun = "1")
#parse( "/WEB-INF/view/common/header_admin.vm" )
<SCRIPT language="JavaScript">
     <!--
     sent = false;
     function send_check(){
		document.mainForm.submit();
		return false;
     }

function clear1(){
    form=document.forms[0];
    formClear(document.forms[0]);
}

function formClear(form_obj){
    for (i = 0; i < form_obj.elements.length;i++ ) {
        obj =form_obj.elements[i];
        if (obj.type == "checkbox" || obj.type == "radio") {
            obj.checked=false;
        }else if (obj.type == "text" || obj.type == "textarea") {
            obj.value="";
        }else if (obj.type == "select-one") {
            obj.selectedIndex=-1;
        }
    }
}
     // -->
</SCRIPT>
<script language="javascript" type="text/javascript" charset="utf-8">
<!--
	//開始日
	$(function() {
	  $('#fromDay').datepick({showTrigger: '#calFromDate'
	});
	});

	//終了日
	$(function() {
	  $('#toDay').datepick({showTrigger: '#calToDate'});
	});
	// -->
</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">
#set($member-url = $tools.getSecureUrl('/admin/member/memberSearch/memberSearchResult/'))
<form name="mainForm" action="$!member-url" method="post">

<div id="search">
##<div class="clearfix">
<table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790">
	<tr class="gray">
		<td class="w100">$tools.getMsgs()<br></td>
	</tr>
</table>
<table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790">
	<tr class="gray">
		<td class="w100">会員ID</td>
		<td><input name="memberId" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.memberId)">&nbsp;と一致</td>
		<td  class="w110">ログインID</td>
		<td><input name="loginId" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.loginId)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td>氏</td>
		<td><input name="firstName" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.firstName)">&nbsp;を含む</td>
		<td>名</td>
		<td><input name="lastName" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.lastName)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td class="w100">氏(カナ)</td>
		<td><input name="firstNameKana" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.firstNameKana)">&nbsp;を含む</td>
		<td  class="w100">名(カナ)</td>
		<td><input name="lastNameKana" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.lastNameKana)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td>PCメールアドレス</td>
		<td><input name="pcEmail" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.pcEmail)">&nbsp;を含む</td>
		<td>携帯メールアドレス</td>
		<td><input name="mbEmail" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.mbEmail)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td class="w100">電話</td>
		<td><input name="telNo" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.telNo)">&nbsp;を含む</td>
		<td  class="w100">性別$!memberSearchForm.genderCd</td>
		<td>
			<select name="genderCd" id="genderCd"  class="w100 mgl10">
				<option value=""></option>
				<option value="0" #if ( "$!{memberSearchForm.genderCd}" == "0" ) selected #end>男</option>
				<option value="1" #if ( "$!{memberSearchForm.genderCd}" == "1" ) selected #end>女</option>
			</select>&nbsp;と一致
		</td>
	</tr>
	<tr>
		<td>年代</td>
		<td>
			<select name="age" id="age"  class="w100 mgl10">
				<option value=""></option>
				<option value="10" #if ( "$!{memberSearchForm.age}" == "10" ) selected #end>10代</option>
				<option value="20" #if ( "$!{memberSearchForm.age}" == "20" ) selected #end>20代</option>
				<option value="30" #if ( "$!{memberSearchForm.age}" == "30" ) selected #end>30代</option>
				<option value="40" #if ( "$!{memberSearchForm.age}" == "40" ) selected #end>40代</option>
				<option value="50" #if ( "$!{memberSearchForm.age}" == "50" ) selected #end>50代</option>
				<option value="60" #if ( "$!{memberSearchForm.age}" == "60" ) selected #end>60代</option>
				<option value="70" #if ( "$!{memberSearchForm.age}" == "70" ) selected #end>70代</option>
				<option value="80" #if ( "$!{memberSearchForm.age}" == "80" ) selected #end>80代</option>
				<option value="90" #if ( "$!{memberSearchForm.age}" == "90" ) selected #end>90代</option>
				<option value="100" #if ( "$!{memberSearchForm.age}" == "100" ) selected #end>100代</option>
			</select>
			&nbsp;~
			<select name="age1" id="age1"  class="w100">
				<option value=""></option>
				<option value="10" #if ( "$!{memberSearchForm.age1}" == "10" ) selected #end>10代</option>
				<option value="20" #if ( "$!{memberSearchForm.age1}" == "20" ) selected #end>20代</option>
				<option value="30" #if ( "$!{memberSearchForm.age1}" == "30" ) selected #end>30代</option>
				<option value="40" #if ( "$!{memberSearchForm.age1}" == "40" ) selected #end>40代</option>
				<option value="50" #if ( "$!{memberSearchForm.age1}" == "50" ) selected #end>50代</option>
				<option value="60" #if ( "$!{memberSearchForm.age1}" == "60" ) selected #end>60代</option>
				<option value="70" #if ( "$!{memberSearchForm.age1}" == "70" ) selected #end>70代</option>
				<option value="80" #if ( "$!{memberSearchForm.age1}" == "80" ) selected #end>80代</option>
				<option value="90" #if ( "$!{memberSearchForm.age1}" == "90" ) selected #end>90代</option>
				<option value="100" #if ( "$!{memberSearchForm.age1}" == "100" ) selected #end>100代</option>
			</select>
		</td>
		<td class="w100">ポイント</td>
		<td><input name="point" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.point)">&nbsp;以上</td>
	</tr>
	<tr>
		<td  class="w100">郵便番号</td>
		<td><input name="zipCode" type="text" maxlength="7" class="w100 mgl10"  value="$!escape.html($!memberSearchForm.zipCode)">&nbsp;~
		<input name="zipCode1" type="text" maxlength="7" class="w100"  value="$!escape.html($!memberSearchForm.zipCode1)"></td>
		<td class="w100">都道府県</td>
		<td>
<select name="prefectureId" id="prefectureId"  class="w100 mgl10">
<option value=""></option>
	#foreach($genreItem in $prefectureList)
		#if($memberSearchForm.prefectureId && $genreItem.prefectureId == $memberSearchForm.prefectureId)
			<option value="$!genreItem.prefectureId" selected>#he($!genreItem.prefecture)</option>
		#else
			<option value="$!genreItem.prefectureId">#he($!genreItem.prefecture)</option>
		#end
	#end
</select>
			&nbsp;と一致
		</td>
	</tr>
	<tr>
		<td>市区町村</td>
		<td><input name="cityName" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.cityName)">&nbsp;を含む</td>
		<td>町名・番地</td>
		<td><input name="areaName" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.areaName)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td  class="w100">建物名</td>
		<td><input name="buildingName" type="text" class="w180 mgl10" value="$!escape.html($!memberSearchForm.buildingName)">&nbsp;を含む</td>
	</tr>
	<tr>
		<td>生年月日</td>
		<td class="listcts" colspan="3">
<select name="birthdayY" id="birthdayY" class="w58 mgl10">
<option value=""></option>
	#foreach($yyyy in [1900..$birthYYYY])
		#if($memberSearchForm.birthdayY)
			#if($yyyy == $memberSearchForm.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">
<option value=""></option>
	#foreach($mm in [1..12])
		#if($memberSearchForm.birthdayM)
			#if($mm == $memberSearchForm.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">
<option value=""></option>
	#foreach($dd in [1..31])
		#if($memberSearchForm.birthdayD)
			#if($dd == $memberSearchForm.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>
			&nbsp;~
<select name="birthdayY1" id="birthdayY1" class="w58 mgl5">
<option value=""></option>
	#foreach($yyyy in [1900..$birthYYYY])
		#if($memberSearchForm.birthdayY1)
			#if($yyyy == $memberSearchForm.birthdayY1)
				<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="birthdayM1" id="birthdayM1" class="w40">
<option value=""></option>
	#foreach($mm in [1..12])
		#if($memberSearchForm.birthdayM1)
			#if($mm == $memberSearchForm.birthdayM1)
				<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="birthdayD1" id="birthdayD1" class="w40">
<option value=""></option>
	#foreach($dd in [1..31])
		#if($memberSearchForm.birthdayD1)
			#if($dd == $memberSearchForm.birthdayD1)
				<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>
		</td>
	</tr>
	<tr>
		<td>会員登録日</td>
		<td colspan="3">
		<input name="fromDay" id="fromDay" type="text" / class="w100 mgl10" value="$!escape.html($!memberSearchForm.fromDay)">
		<div style="display: none;"><img id="calFromDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div>

		<input name="toDay" id="toDay" type="text" / class="w100 mgl5" value="$!escape.html($!memberSearchForm.toDay)">
		<div style="display: none;"><img id="calToDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div>
		</td>

	</tr>

	<tr>
		<td style="vertical-align:top" >メモ</td>
		<td><div>
	 		<textarea id="textarea2" name="memo" cols="35" rows="3" class="w180 mgl10 mgt5">$!memberSearchForm.memo</textarea>&nbsp;を含む
	 		</div>
		</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td class="w100">退会フラグ</td>
		<td colspan="3">&nbsp;&nbsp;

#if($!memberSearchForm.withDrawFlg)
<input type="radio" name="withDrawFlg" value="0" #if($!memberSearchForm.withDrawFlg == "0")checked#end>退会者は含まない&nbsp;&nbsp;
<input type="radio" name="withDrawFlg" value="1" #if($!memberSearchForm.withDrawFlg == "1")checked#end>退会者も含む&nbsp;&nbsp;
<input type="radio" name="withDrawFlg" value="2" #if($!memberSearchForm.withDrawFlg == "2")checked#end>退会者のみ
#else
<input type="radio" name="withDrawFlg" value="0" checked>退会者は含まない&nbsp;&nbsp;
<input type="radio" name="withDrawFlg" value="1">退会者も含む&nbsp;&nbsp;
<input type="radio" name="withDrawFlg" value="2">退会者のみ
#end
		</td>
	</tr>
	<tr>
	<td align="center" colspan="4"><br>
	##<input type="button" class="button" value="クリア" onClick="clear1();" />
		##<a href="#" onclick="send_check();"><img src="/em/images/enq_01_btn_03_off.jpg" width="100" height="35" alt="検索" /></a>
		<button class="button" onclick="send_check(); return false;">検索</button>
	</td>
	</tr>
</table>
##</div>
</div>

</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" )