<?php	
	require_once("includes/config.php");
	$ac = new DbQuery();
    $ac->checkLoginOnly();
   //echo true; exit;
   $page_body ='
        <div class="page-content--bge5">
            <div class="container">
                <div class="login-wrap">
                    <div class="login-content">
                        <div class="login-logo">
                           <a href="#" style="color: initial;text-transform: capitalize;font-size: 1.5rem;"><b>POS </b>Login</a>
                        </div>
                        <div class="login-form">
                            <form action="'.CALLBACK.'login.php" method="post">
                                <div class="form-group">
                                    <label>Email Address</label>
                                    <input class="au-input au-input--full" type="email" name="email" placeholder="Email">
                                </div>
                                <div class="form-group">
                                    <label>Password</label>
                                    <input class="au-input au-input--full" type="password" name="password" placeholder="Password">
                                </div>
                                <div class="login-checkbox">
                                    <label>
                                        <input type="checkbox" name="remember">Remember Me
                                    </label>
                                    <label>
                                        <a href="'.ROOT.'forget-pass.php">Forgotten Password?</a>
                                    </label>
                                </div>
                                <button class="au-btn au-btn--block au-btn--green m-b-20" type="submit">sign in</button>
                            </form>
                            <div class="register-link">
                                <p>
                                    Do not have account?
                                    <a href="'.ROOT.'register.php">Sign Up Here</a>
                                </p><br>
                                <small>Managed By <a href="https://vgprocess.com/">vgprocess.com</a></small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        ';
        
		$body = array(
		"pageTitle"=>'Login',
		'bodyClass'=>'login-page',
        'pageType'=>'login',
		'content'=>$page_body,
		);
		echo $ac->buildOuterPage($body);

?>

   