<?php include_once 'auth.php'; authDirect('/function/signin.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="../img/favicon.ico"> <title>Hockerill Sign Out system</title> <!-- Bootstrap core CSS --> <link href="/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="/css/main.css" rel="stylesheet"> </head> <body> <img class="center-block" src="/img/logo.png" height="125" width="125"> <div class="container"> <div class="form-signin"> <h2 class="form-signin-heading">Sign in</h2>
<form class="form-signin" > <h2 class="form-signin-heading">Log in</h2> <label for="inputUsername" class="sr-only">Username</label> <input name="inputUsername" id="inputUsername" type="text" class="form-control" placeholder="Username" autofocus> <label for="inputPassword" class="sr-only">Password</label> <input name="inputPassword" id="inputPassword" type="password" class="form-control" placeholder="Password" > <button name="submit" id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Log in</button> <br> <div id="message"></div> </form> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="//code.jquery.com/jquery.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script type="text/javascript" src="js/bootstrap.js"></script> <!-- The AJAX login script --> <script src="js/login.js"></script> </body> </html> <?php include_once 'function/auth.php'; authDirect('/index.php');
<?php include_once 'auth.php'; authDirect('/function/nosignout.php'); if (schoolState(strtotime('now')) == 'no school') { $msg = "No school! Unable to sign out."; } else { $msg = "You don't have enough signouts to leave school at this time."; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="../img/favicon.ico"> <title>Hockerill Sign Out system</title> <!-- Bootstrap core CSS --> <link href="/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="/css/main.css" rel="stylesheet"> </head> <body> <img class="center-block" src="/img/logo.png" height="125" width="125">
<?php include_once 'auth.php'; authDirect('/function/admin.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="../img/favicon.ico"> <title>Hockerill Sign Out system Administrator table</title> <!-- Bootstrap core CSS --> <link href="/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="/css/main.css" rel="stylesheet"> </head> <body> <img class="center-block" src="/img/logo.png" height="125" width="125"> <div class="container"> <br> <h2>Table of Users</h2> <?php