<?php 
include 'config/config.php';
include 'config/function.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo get_company(); ?>" />
<meta name="keywords" content="<?php echo get_company(); ?>">
<meta name="author" content="<?php echo get_company(); ?>" />
<title>User Login : <?php echo get_company(); ?></title>

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&amp;display=fallback">
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="plugins/icheck-bootstrap/icheck-bootstrap.min.css">
<link rel="stylesheet" href="dist/css/adminlte.min2167.css?v=3.2.0">
</head>
<body class="hold-transition login-page">
<div class="login-box">

<div class="card card-outline card-primary">
<div class="card-header text-center">
<a href="" class="h5"><b><?php echo get_company(); ?></b></a>
</div>
<div class="card-body">
<p class="login-box-msg">Associate Login</p>
<?php if($_REQUEST['msg']!='')
{?>
<div class="alert alert-danger 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 } ?>
<form action="ChkUserLogin.php" method="post">
<div class="input-group mb-3">
<input type="text" class="form-control" id="user_name" name="user_name" placeholder="User Id" required maxlength="10">
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-user"></span>
</div>
</div>
</div>
<div class="input-group mb-3">
<input type="password" class="form-control" placeholder="Password" id="password" name="password" required maxlength="20">
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-lock"></span>
</div>
</div>
</div>
<div class="row">
<div class="col-4">
<button type="submit" class="btn btn-primary btn-block">Login</button>
</div>

</div>
</form>
<!-- <p class="mb-1">
<a href="forgot-password.html">I forgot my password</a>
</p> -->
</div>
</div>
</div>
<script src="plugins/jquery/jquery.min.js"></script>
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="dist/js/adminlte.min2167.js?v=3.2.0"></script>
</body>
</html>
