<?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>Register</a>
                        </div>
                        <div class="login-form">
                            <form action="" method="post">
                                <div class="form-group">
                                    <label>Username</label>
                                    <input class="au-input au-input--full" type="text" name="username" placeholder="Username">
                                </div>
                                <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="aggree">Agree the terms and policy
                                    </label>
                                </div>
                                <button class="au-btn au-btn--block au-btn--green m-b-20" type="submit">register</button>
                            </form>
                            <div class="register-link">
                                <p>
                                    Already have account?
                                    <a href="'.ROOT.'login.php">Sign In</a>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
         ';
        
    $title = 'Register';
		$body = array(
		"pageTitle"=>$title,
		'bodyClass'=>'register-page',
        'pageType'=>'register',
		'content'=>$page_body,
		);
		echo $ac->buildOuterPage($body);

?>