index.php 4.13 KB
<?	
	$date = date('Y-m-d H:i',time());
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	

    <head>
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Language" content="en-us" />
		<meta name="description" content="퍼니콘 Back Office" />
		<meta http-equiv="imagetoolbar" content="no" />
		<!-- 공통 js -->
		<script src="/common/js/common.js"></script>
		<script src="/common/js/jquery-1.7.1.min.js"></script>
				
		<!-- 리치 js -->
		<script src="/common/js/jquery_rich/RichBaseExtends.js"></script>
		<script src="/common/js/jquery_rich/RichBaseElementObject-1.0.js"></script>
		<!-- 
		<script src="/common/js/jquery_rich/RichFramework-1.0.js"></script>
		<script src="/common/js/jquery_rich/RichElement-1.0.js"></script>
		<script src="/common/js/jquery_rich/RHForm-1.0.js"></script>
		 -->
		<script type="text/javascript" src="/common/js/jquery_alerts/jquery.alerts.js" charset="utf-8"></script>
		
		<link rel="stylesheet" type="text/css" href="/common/js/jquery_alerts/jquery.alerts.css" media="screen, projection" />		
		<link rel="stylesheet" type="text/css" href="/admin/inc/css/base.css">
		<link rel="stylesheet" type="text/css" href="/admin/inc/css/login.css">
		
		<title>한중특장 Application Back Office</title>
        
        
        <script language="javascript" type="text/javascript">        	
		    
		    $(document).ready(function() {
		    	//=====프레입웤 변수들==================================================================================//
				var FORM_TARGET_CLS_NM		= "#base_form"	;		// 폼을 동적 wrap 할 타겟 ID이름
				var FORM_NAME				= "alf"		;		// 폼이름
				var FORM_METHOD				= "POST"		;		// 폼 메쏘드
				var FORM_USE_FILE			= false		;		// 파일폼 사용 여부
				var FORM_ACTION				= "/action_front.php" ; 
				
				var NEXT_CMD				= ""			;		// 다은 수행 할 cmd
				//=====================================================================================================//

				var jForm = $(FORM_TARGET_CLS_NM).mf({ "name" : FORM_NAME , "method" : FORM_METHOD , "action" : FORM_ACTION , "useFile" : FORM_USE_FILE }) ;
				
				
				$('#login_btn').click2(function(){	
					var admID = $("#adm_id").val();
					var admPW = $("#adm_pw").val();

					if(admID == "")
					{
						alert("아이디를 입력해주세요.");
						$("#adm_id").focus();
						return;
					}

					if(admPW == "")
					{
						alert("비밀번호를 입력해주세요.");
						$("#adm_pw").focus();
						return;
					}


					jForm.ci() ;
				
					jForm.mi("cmd", "Admin.login") ;
					jForm.mi("flow","ToS") ;
					jForm.mei("rurl", document.URL) ;
					jForm.submit() ;
				});
				
				//기본적으로 아이디 포커싱
				$("#adm_id").focus();

				$("#adm_id, #adm_pw").enterHandling($("#login_btn"));
				
		    });		    
			    
		</script>	
    </head>
    
	<body id="base_form">
		<div class="header">    
	
		</div>

		<div class="m">
			<div role="main" class="container">
				<div class="hgroup">
					<h1>
					 한중특장 관리자 로그인
					<span>최종 로그인 <?=$date?></span>
					</h1>
				</div>

				<div class="data">
				<table  class="data">
					<tr>
						<th>ID</th>
						<td><input type="text" autocomplete="on"  class="login" id="adm_id" name="adm_id"/> </td>
					</tr>
					<tr>
						<th>Password</th>
						<td><input type="password" autocomplete="on" class="login" id="adm_pw" name="adm_pw"/></td>
					</tr>
					<tr>
						<th>&nbsp;</th>
						<td> <a href="#" class="button navy" id="login_btn"> 로그인 </a></td>
					</tr>
				</table>
				</div>
			</div>
		</div>
		<div class="footer">개발사 <span> ㈜리치웨어시스템즈</span>    |    담당자  <span>김병수 책임</span>    |    개발사 대표번호 <span>1670 – 6842 </span>  <!-- |    개발사 게시판   <a href="#" class="button small white" >바로가기</a>--></div>

	</body>
</html>