<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; global $readOnly; global $isNormallyLoggedIn; ?> <br> <div class="container"> <div> <h2><?= $pages["login"]["name"][$lang["_name"]] ?></h2> <?php if ($readOnly): ?> <div class="alert alert-warning"> <b><?= $lang["login"]["maintenance"][0] ?> </b><?= $lang["login"]["maintenance"][1] ?> </div> <?php else: ?> <?php global $isLoggedIn; if ($isLoggedIn): ?> <div class="alert alert-warning"> <b>You are already logged in.</b> If you want to login to a different account or using a different authentication method, you may do so now. </div> <?php else: ?> <p><?= $lang["login"]["select"] ?> Cold Haze.</p> <div class="row"> <div class="col-md-6"> <div class="card" style="margin-bottom:10px;text-align: center;"> <div class="card-body"> <!--<img src="https://git.equestria.dev/equestria.dev/design/raw/branch/mane/logo/dark/banner.svg" style="height:48px;" alt="">--> <h4 class="card-title" style="margin-top:15px;"><?= $lang["login"]["private"][0] ?></h4> <p><?= $lang["login"]["private"][1] ?></p> <a href="/Authentication/Start" class="btn btn-primary"><?= $lang["login"]["private"][2] ?></a> </div> </div> </div> <div class="col-md-6"></div> </div> <?php endif; endif; ?> </div> </div> <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.inc'; ?>