<?php 
include_once ($_SERVER['DOCUMENT_ROOT'] . '/_config/functions.php');
spl_autoload_register('my_autoload');
include ($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/Auth/header.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>DSB Holzheu Office - Access Denied</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/css/bootstrap.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="row">
  <div class="container">
    <div class="col-md-12">
      <h1>DSB Holzheu Office</h1>
    </div>
  </div>
</div>
<div class="container">
  <div class="row">
    <div class="col-md-10">
      <div class="jumbotron">
        <h2>Access Denied</h2>
        <div class="container">
          <div class="row">
            <div class="col-md-2">
            </div>
            <div class="col-md-10">
              <p>&nbsp;</p>
              <p>Sie versuchen sich ausserhalb des Büros anzumelden.</p>
              <p>Ihre IP-Adresse: <?php echo $_SERVER['REMOTE_ADDR']; ?></p>
              <p><strong>Dies ist Ihnen nicht gestattet!</strong></p>
              <p>Bitte wenden Sie sich für eine Freischaltung an Ihren Geschäftsführer.</p>
              <p>&nbsp;</p>
              <p><span style="font-size:72px;" class="glyphicon glyphicon-lock"></span></p>
              <p><a href="<?php echo HOME_DIR_HTML; ?>/index.php"><button type="button" class='btn btn-lg btn-warning'>zurück</button></a>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-md-2">
    </div>
</div>
<?php 
include ($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/footer.php'); 
?>
</body>
</html>
