<!doctype html>
<!--[if IE 8 ]><html dir="ltr" lang="vi-VN" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="ltr" lang="zh-TW" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="ltr" lang="vi-VN">
<!--<![endif]-->
<head>
<!--[if lt IE 9]>
<script src="/js/html5.js"></script>
<![endif]-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title><?# webTitle ?></title>
<meta name="keywords" content="<?# webKeyword ?>" />
<meta name="description" content="<?# webDescription ?>" />
<meta property="og:title" content="<?# webTitle ?>"/>
<meta property="og:type" content="<?# webDescription ?>"/>
<meta property="og:url" content="<?# HTTPHOST ?><?# REQUESTURI ?>"/>
<meta property="og:image" content="<?# HTTPHOST ?><?# logoImage ?>"/>
<meta name="robots" content="all" />
<meta name="robots" content="INDEX, FOLLOW" />
<link rel="index" title="<?# webTitle ?>" href="<?# RelLink ?>/index.html" />
<link rel="sitemap" type="htm" title="<?# webTitle ?>" href="<?# RelLink ?>/sitemap.xml" />
<link rel="alternate" type="application/rss+xml" href="<?# RelLink ?>/rss.xml" title="<?# webKeyword ?>" />
<link href="/css/animate.css" rel="stylesheet">
<link href="/css/font-awesome.css" rel="stylesheet">
<link href="/css/<?# webTemplates ?>/main.css" rel="stylesheet">
<link href="/css/<?# webTemplates ?>/sub-main.css" rel="stylesheet">
<link href="/css/<?# webTemplates ?>/member.css" rel="stylesheet">
<link href="/css/<?# webTemplates ?>/product.css" rel="stylesheet">
<script src="/jquery/jquery-1.8.2.min.js"></script>
<script src="/jquery/jquery.scrollTo.min.js"></script>
<script src="/jquery/jquery.scrollTo-1.4.3.1.js"></script>
<script src="/jquery/jquery.SuperSlide.2.1.1.js"></script>
<script src="/js/05/wow.js"></script>
<script src="/Scripts/tw_cn.js"></script>
</head>
<body<?# JumpBody ?>>
<?# headHTML ?>
<?# bodyTopHTML ?>
<?# JumpHTML ?>
<?# JumpScript ?>
	<div id="fb-root"></div>
    <script>
		(function(d, s, id) {
			var js, fjs = d.getElementsByTagName(s)[0];
			if (d.getElementById(id)) return;
			js = d.createElement(s); js.id = id;
			js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1";
			fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));
	
		window.___gcfg = {lang: 'zh-TW'};
		(function() {
			var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
			po.src = 'https://apis.google.com/js/plusone.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
		})();
	</script>
    <div class="wrapper">
        <?# header ?>
        <div id="newBox"><?# sidePage ?></div>
        <section class="wrap">
        	<div id="topBar">
        		<h1 class="title">Đăng nhập</h1>
                <div class="waylink">
                    
                    <ol itemscope itemtype="http://schema.org/BreadcrumbList">
                        <li itemprop="itemListElement" itemscope
                            itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="/" title="HOME">
                            <p itemprop="name"><i class="fa fa-home"></i>HOME </p></a>
                            <meta itemprop="position" content="1" />
                        </li>
                        <li itemprop="itemListElement" itemscope
                            itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="memberlogin.html" title="<?# CategoryName ?>">
                            <p itemprop="name">Đăng nhập</p></a>
                            <meta itemprop="position" content="2" />
                        </li>
                    </ol>                        
                </div>
            </div>
            <div id="member">
            	<div class="aboutInfo">
                	<h4>Đăng nhập</h4>
                    <p>Memberlogin</p>
                    <p class="detail logintext">Miễn phí đăng ký tài khoản</p>
                </div>
                <form id="memberlogin" name="memberlogin" method="post">
                	<div class="form">
                        <fieldset>
                            <p>
                                <input type="text" id="LoginName" name="LoginName" placeholder="*Tài khoản" />
                                <span>+ Tên đăng nhập của bạn là email khi bạn đăng ký tài khoản</span>
                            </p>
                            <p><input type="password" id="LoginPassword" name="LoginPassword" placeholder="*Mật khẩu" /></p>
                        </fieldset>
                        <fieldset class="btn">
                            <p>
                                <input type="text" id="Checknum" name="Checknum" onKeyUp="this.value=this.value.toUpperCase();" maxlength="4" placeholder="Mã xác nhận" />
                                <img src="vdimgck.php" id="rand-img" alt="Hình ảnh không rõ ràng ? Click đổi hình khác" align="absmiddle" style="cursor:pointer; border:none;" onClick="this.src=this.src+'?'">
                            </p>
                            <p>
                            	<a href="#">Quên mật khẩu hoặc không thể đăng nhập ?</a>
                            	<a id="btnOK" href="javascript:void(0);" title="Xác nhận gởi">Xác nhận gởi</a>
                            </p>
                        </fieldset>
                    </div>
                </form>
            </div>
            <?# sidePage2 ?>
        </section>
        <?# footer ?>
	</div>
</body>
</html>
<script>
<!--
	$(function(){
		$('#btnOK').click(function(){
			if($('#LoginName').val() == ''){
				alert('Vui lòng nhập địa chỉ email!');
				$('#LoginName').focus();
				return false;
			}
			var reMail = /^[A-Za-z0-9\-_\.]+@[A-Za-z0-9\-_]+(\.[A-Za-z0-9\-_]+)+$/;
			if(!reMail.test($('#LoginName').val())){
				alert('Địa chỉ email bị sai!');
				$('#LoginName').focus();
				return false;
			}
			if($('#LoginPassword').val() == ''){
				alert('Nhập mật khẩu!');
				$('#LoginPassword').focus();
				return false;
			}
			var rePass = /^[A-Za-z0-9]{8,12}$/;
			if(!rePass.test($('#LoginPassword').val())){
				alert('Mật khẩu bị sai!');
				$('#LoginPassword').focus();
				return false;
			}
			if($('#Checknum').val() == ''){
				alert('Vui lòng nhập mã xác nhận!');
				$('#Checknum').focus();
				return false;
			}
			$('#memberlogin').submit();
		});
		$("#Checknum").keypress(function(e){
			code = (e.keyCode ? e.keyCode : e.which);
			if (code == 13){
				$("#memberlogin").submit();
			}
		});
	});
//-->
</script>