<script language="JavaScript">
	function checkLogin(f) { //입력값 검사
		if (!f.id.value) {
			alert("아이디를 입력하세요."); f.id.focus(); return false;
		}
		if (!f.pw.value) {
			alert("비밀번호를 입력하세요."); f.pw.focus(); return false;
		}
	}
	function checkLoginGuest(f) { //입력값 검사
		if (!f.name.value) {
			alert("이름을 입력하세요."); f.name.focus(); return false;
		}
		if (!f.mobile_1.value) {
			alert("휴대폰번호를 입력하세요."); f.mobile_1.focus(); return false;
		}
		if (!f.mobile_2.value) {
			alert("휴대폰번호를 입력하세요."); f.mobile_2.focus(); return false;
		}
		if (!f.mobile_3.value) {
			alert("휴대폰번호를 입력하세요."); f.mobile_3.focus(); return false;
		}
	}
</script>

		<div class="sub-title">			
			<h2>로그인</h2>
			<div class="path">HOME &gt; 회원전용 &gt; <strong>로그인</strong></div>
		</div>
		<div class="real-cont">
		
			<!--// content --> 
			<div class="login-area">
				<div class="login-txt">
					<img src="../images/member/welcome.png" alt="저희 홈페이지에 오신것을 환영합니다."> <br />
					회원가입을 하시면 다양한 서비스를 쉽고 편리하게 제공 받으실 수 있습니다.
				</div>
				<div class="login-box">
					<div class="tit">
						<h3><img src="../images/member/title_login.png" alt="회원 로그인"></h3>
					</div>
					<div class="form">
						<fieldset>
							<legend>로그인</legend>	
							<form action='/module/member/member_evn.php' method='post' name='loginForm' onsubmit="return checkLogin(this);">
							<input type="hidden" name="evnMode" value="login">
							<input type="hidden" name="rt_url" value="<?=$_REQUEST[rt_url]?>">
								<div class="group">
									<label for="userID">아이디</label>
									<input type="text" name="id" id="userID" class="input" style="width:160px;" maxlength="16">
								</div>
								<div class="group">
									<label for="pwd">비밀번호</label>
									<input type="password" name="pw" id="pwd" class="input" style="width:160px;" maxlength="16">
								</div>
								<input type="submit" value="로그인" class="btn-pack focus login">
							</form>
						</fieldset>
						<ul class="not-member">
							<li><span class="fl">아직 회원가입을 안하셨나요?</span> <a href="/member.php?goPage=Agree" class="btn-pack medium">회원가입</a></li>
							<li><span class="fl">아이디나 비밀번호가 기억나지 않으세요?</span> <a href="/member.php?goPage=Find" class="btn-pack medium">ID/PW 찾기</a></li>
						</ul>
					</div>
				</div>					
				
				<br>
				<br>
				<br>
				<div class="login-txt">원활한 서비스 이용을 위하여 아래의 항목을 입력해 주세요.</div>
				<div class="login-box">
					<div class="tit">
						<h3><img src="../images/member/title_guest.png" alt="비회원 주문조회"></h3>
					</div>
					<div class="form">
						<fieldset>
							<legend>비회원 주문조회</legend>
							<form action='/module/member/member_evn.php' method='post' name='loginGuestForm' onsubmit="return checkLoginGuest(this);">
							<input type="hidden" name="evnMode" value="login_guest">
							<input type="hidden" name="rt_url" value="<?=$_REQUEST[rt_url]?>">
							<input type="hidden" name="mobile" value="">
								<div class="group">
									<label for="orderName">주문자명</label>
									<input type="text" name="name" id="orderName" class="input" style="width:160px;" maxlength="15">
								</div>
								<div class="group">
									<label for="mobile1">휴대폰번호</label>
									<select name="mobile_1" id="mobile_1" class="select" style="width:54px;" title="이동통신사번호">
										<option value="010">010</option>
										<option value="011">011</option>
										<option value="016">016</option>
										<option value="017">017</option>
										<option value="018">018</option>
										<option value="019">019</option>
									</select>
									-
									<input type="text" name="mobile_2" id="mobile_2" title="중간자리" class="input" style="width:36px;" maxlength="4">
									-
									<input type="text" name="mobile_3" id="mobile_3" title="뒷자리" class="input" style="width:36px;" maxlength="4">
								</div>
								<input type="submit" value="로그인" class="btn-pack focus login">
							</form>
						</fieldset>
					</div>
				</div>	
				<br>
				<br>
				<br>
			</div>
			<!-- content //-->

		</div>
