<?php 
include 'config/config.php';
include 'config/function.php';
?>
<html lang="en">

<head>

	<title>User Login : <?php echo get_company(); ?></title>

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="description" content="<?php echo get_company(); ?>" />
	<meta name="keywords" content="<?php echo get_company(); ?>">
	<meta name="author" content="<?php echo get_company(); ?>" />
	<!-- Favicon icon -->
	<link rel="icon" href="assets/images/icon.ico" type="image/x-icon">

	<!-- vendor css -->
	<link rel="stylesheet" href="assets/css/style.css">
	
	


</head>

<!-- [ auth-signin ] start -->
<div class="auth-wrapper" >
    <form class="form-horizontal form-simple" action="ChkUserLogin">
	<div class="auth-content text-center">
		
		<div class="card borderless">
			<div class="row align-items-center ">
				<div class="col-md-12">
					<div class="card-body">
					    <?php if($_REQUEST['msg']!='')
					    {?>
					    	<div class="alert alert-secondary alert-dismissible fade show" role="alert">
							    <?php echo $_REQUEST['msg']; ?>
							<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						    </div> <?php } ?>
						    <img src="assets/images/logo.png" alt="" class="img-fluid mb-4" width="120">
						<h4 class="mb-3 f-w-400 text-white">Associate Login</h4>
						<hr>
						
						
						<div class="form-group mb-3">
							<input type="text" class="form-control" id="user_name" name="user_name" placeholder="User Id" required maxlength="10">
						</div>
						<div class="form-group mb-4">
							<input type="password" class="form-control" placeholder="Password" id="password" name="password" required maxlength="20">
						</div>
						<button class="btn btn-block btn-primary mb-4" type="submit">Login</button>
						<hr>
						<!--<p class="mb-2 text-muted">Forgot password? <a href="Forgotpassword" class="f-w-400">Reset</a></p>-->
					</div>
				</div>
			</div>
		</div>
	</div>
	</form>
</div>
<!-- [ auth-signin ] end -->

<!-- Required Js -->
<script src="assets/js/vendor-all.min.js"></script>
<script src="assets/js/plugins/bootstrap.min.js"></script>

<script src="assets/js/pcoded.min.js"></script>

</body>

</html>
