<?php
include_once("./config/constants.php");
if (isset($_SESSION["userid_demo"])) {
	header("location:".DOMAIN."/purchase.php");
}

 $_SESSION['title_name']="Purchase";
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Mint Stock </title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  <link rel="icon" href="./img/expoworksico_DUH_icon.ico" type="image/gif" sizes="16x16">
 <link rel="stylesheet" href="css/loginStyleSheet.css"> 
  <script type="text/javascript"  src="js/users.js"></script>

</head>
<body>
	<div id="main-section">
		<div class="content-section  rounded">
			<div class="row rounded mt-2">
				
				<div class="col-lg-8  " id="intro-section">
					<div class="container">
						<div class="row">
							<div class="col-sm-12 text-center p-2">
								<!-- <img src="img/logo.jpg" id="img-logo"> -->
							</div>
						</div>
						<div class="row">
							<div class="col-sm-12 m-2 p-2">
								<!-- <h2>Welcome to ExpoWorks</h2>
								<h6>Work on the move...</h6> -->
							</div>
						</div>
						<div class="col-sm-12">
						<!-- 	<p>A perfect solution for process mangement</p> -->
						</div>
					</div>
					
					
					
				</div>
				<div class="col-lg-4" id="login-section">
					<div class="container mt-2 p-2">
						<div class="row m-2 p-2">
							<div class="col-sm-12">
								<h5>Login </h5>
								<hr class="featurette-divider">
								
								<div class="row font-weight-bold " id="messageBox"> 
	 
						            <div id="success_message" class="text-white rounded col-sm-12 bg-success"  style="display: none;"></div>
						            <div id="error_message" class="text-white rounded col-sm-12 bg-danger" style="display: none;"></div>
						         
						        </div>
							</div>
						</div>
						<div class="row  m-2 p-2 ">
							<div class="col-sm-12">
									<div id="formContent">

									<!-- Login Form -->
									  <form id="form_login" onsubmit="return false">
									  <div class="form-group">
									   	<label>Financial Year</label>
									    <select id="log_year" name="log_year" class="col-lg-12 p-2" >
									    	
									    </select>
									    
									  </div>
									  <div class="form-group">
									   
									    <input type="text" class="col-lg-12 p-2"  name="log_user" id="log_user" placeholder="Enter User Name">
									    <!-- <b><small id="e_error" class="form-text text-muted"></small></b> -->
									  </div>
									  <div class="form-group">
									    
									    <input type="password" class="col-lg-12 p-2" name="log_password" id="log_password" placeholder="Password">
									  	<!-- <b><small id="p_error" class="form-text text-muted"></small></b> -->
									  </div>
									  <button type="submit" name="login_btn" class="btn m-2 p-2 text-white">Login</button>
									  
									</form>

								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="copyright-section" >
			<small class="p-1 float-right mx-auto">&#9400;Copyright, Zero Error Zone</small> 
		</div>
	</div>




 <script type="text/javascript">
 	var DOMAIN ='<?php echo DOMAIN;?>';
 	//console.log(DOMAIN);
 </script>


<script src="./lib/jquery.min.js"></script>
<script src="./lib/popper.min.js"></script>

<script src="./js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<!-- <script src="./bootstrap/js/bootstrap-tagsinput.min.js"></script> -->
<script type="text/javascript"  src="js/users.js"></script>
<script type="text/javascript" rel="stylesheet" src="./js/pdf.js"></script>
</body>
</html>

