<?php

include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/Auth/header.php');
?>
<p>&nbsp;</p>
<form name="login" action="<?php
echo $_SERVER['PHP_SELF']; ?>" method="post">
    <div class="container">
        <div class="row">
            <div class="form-group col-sm-1">
            </div>
            <div class="form-group col-sm-8">
                <h1>DSB Holzheu - Office</h1>
            </div>
            <div class="form-group col-sm-3">
                <p class="text-right"><!--<img src="images/logo.png" alt="Logo" height="200" />--></p>
                <input type="hidden" name="sec_token" value="<?php
                echo $secToken; ?>">
            </div>
        </div>

        <div class="alert alert-primary" role="alert">
            <p>&nbsp;</p>
            <div class="row">
                <div class="form-group col-sm-2">
                </div>
                <div class="form-group col-sm-1">
                    <label for="username"><i class="fas fa-user fa-lg"></i></label>
                </div>
                <div class="form-group col-sm-4">
                    <input type="text" name="username" value="" class="form-control" id="username" placeholder="Benutzer" required>
                </div>
                <div class="form-group col-sm-5">
                </div>
            </div>

            <div class="row">
                <div class="form-group col-sm-2">
                </div>
                <div class="form-group col-sm-1">
                    <label for="password"><i class="fas fa-lock fa-lg"></i></label>
                </div>
                <div class="form-group col-sm-4">
                    <input type="password" name="password" value="" class="form-control" id="password" placeholder="Passwort" required>
                </div>
                <div class="form-group col-sm-5">
                </div>
            </div>

            <div class="row">
                <div class="col-md-3"></div>
                <div class="col-md-9">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" value="1" name="auto_login" id="auto_login"> Angemeldet bleiben
                        </label>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="form-group col-md-3">
                </div>
                <div class="form-group col-md-8">
                    <input type="submit" class="btn btn-primary" value="Login">
                </div>
                <div class="form-group col-md-1"></div>
            </div>

            <div class="row">
                <div class="form-group col-md-3">
                </div>
                <div class="form-group col-md-8">
                    <a href="https://dsb-kunden.winitux.de/">Hier geht's zum Kunden-Login</a>
                </div>
                <div class="form-group col-md-1"></div>
            </div>

        </div>
    </div>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<?php
include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/footer.php');
?>
</body>
</html>