<?
session_start();
ob_start();
error_reporting(0);
ini_set('display_errors', 1); // Value 0 Not Show Error,1 Show Error 
ini_set('magic_quotes_gpc', 'Off');
ini_set('register_globals', 'Off');
ini_set('date.timezone', 'Asia/Bangkok');
include 'include/db.php';
include 'include/connect.php';
if($_SESSION['admin_id'] != "")
	{
		header("location:https://www.imaginetourservice.com/back_end/?url=dashboard");
		exit();
	}
?>
<html>
	<head>
		<!-- Basic -->
		<meta charset="UTF-8">
        <title>imaginetour System</title>
		<meta name="keywords" content="Imaginetourservice System" />
		<meta name="description" content="Imaginetourservice Backend sys">
		<meta name="author" content="dev">

		<!-- Mobile Metas -->
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

		<!-- Web Fonts  -->
		<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800|Shadows+Into+Light" rel="stylesheet" type="text/css">
        <link rel="icon" type="image/png" sizes="192x192"  href="static/favicon/best-icon-192x192.png">
		<!-- Vendor CSS -->
		<link rel="stylesheet" href="assets/vendor/bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" href="assets/vendor/font-awesome/css/font-awesome.css" />
		<link rel="stylesheet" href="assets/vendor/magnific-popup/magnific-popup.css" />
		<link rel="stylesheet" href="assets/vendor/bootstrap-datepicker/css/datepicker3.css" />
        <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
        <link rel="stylesheet" href="assets/vendor/pnotify/pnotify.custom.css" />
		<!-- Theme CSS -->
		<link rel="stylesheet" href="assets/stylesheets/theme.css" />

		<!-- Skin CSS -->
		<link rel="stylesheet" href="assets/stylesheets/skins/default.css" />

		<!-- Theme Custom CSS -->
		<link rel="stylesheet" href="assets/stylesheets/theme-custom.css">

		<!-- BEST Custom CSS -->
		<link rel="stylesheet" href="static/css/bestcustom_login.css">
		<link href="static/css/sweetalert.css?v=1" rel="stylesheet">
     
		<!-- Head Libs -->
		<script src="assets/vendor/modernizr/modernizr.js"></script>

	</head>
	<body>
		<!-- start: page -->
		<section class="body-sign" data-aos="fade-right" data-aos-easing="ease-in-back"data-aos-offset="0">
			<div class="center-sign text-center">
               <img src="../img/IMAGINETOUR_LOGO.png" style="width:70%;" alt="" />
				<div class="panel panel-sign">
					<div class="panel-body">
						<form class="form-login" id="form_login" method="post">
							<div class="form-group mb-lg">
								<label class="pull-left" style="color: #e94527;">Username</label>
								<div class="input-group input-group-icon">
									<input name="admin_user" type="text" placeholder="username" class="form-control input-lg" required />
									<span class="input-group-addon">
										<span class="icon icon-lg text-primary">
											<i class="fa fa-user iconsize"></i>
										</span>
									</span>
								</div>
							</div>

							<div class="form-group mb-lg">
								<div class="clearfix">
									<label class="pull-left" style="color: #e94527;">Password</label>
								</div>
								<div class="input-group input-group-icon">
									<input name="admin_pass" type="password" placeholder="password" class="form-control input-lg" required />
									<span class="input-group-addon">
										<span class="icon icon-lg text-primary">
											<i class="fa fa-lock iconsize"></i>
										</span>
									</span>
								</div>
							</div>
							<div class="row">
								<div class="col-sm-12 text-center">
									<button type="submit" class="btn btn-dark text-white btn-lg hidden-xs btn-block">Sign In</button>
									<button type="submit" class="btn btn-dark text-white btn-lg btn-block btn-lg visible-xs mt-lg">Sign In</button>
									<!-- <p class="text-center">Department : <span style="font-size:10px;">• ADMIN • OP&SALE • Finance</span></p> -->
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</section>
		
		<!-- end: page -->
		<!-- Vendor -->
		<script src="assets/vendor/jquery/jquery.js"></script>
		<script src="assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js"></script>
		<script src="assets/vendor/bootstrap/js/bootstrap.js"></script>
		<script src="assets/vendor/nanoscroller/nanoscroller.js"></script>
		<script src="assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
		<script src="assets/vendor/magnific-popup/magnific-popup.js"></script>
		<script src="assets/vendor/jquery-placeholder/jquery.placeholder.js"></script>
		<!-- Theme Base, Components and Settings -->
		<script src="assets/javascripts/theme.js"></script>
		<!-- Theme Custom -->
		<script src="assets/javascripts/theme.custom.js"></script>
        <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
		<!-- Specific Page Vendor -->
		<script src="assets/vendor/pnotify/pnotify.custom.js"></script>
		<script src="static/js/best_custom.js"></script>
		<!-- Theme Initialization Files -->
		<script src="assets/javascripts/theme.init.js"></script>

		<script src="static/js/sweetalert2.min.js?v=1.2"></script>
	</body>
</html>
<script>
  AOS.init();
</script>