<?php require_once realpath(dirname(__FILE__) . "/private/class/InstallationManager.php"); if (InstallationManager::checkInstallation() == false) { header('Location: /install/'); return; } require_once realpath(dirname(__FILE__) . "/private/header.php"); require_once realpath(dirname(__FILE__) . "/private/navigationbar.php"); require_once realpath(dirname(__FILE__) . "/private/class/UserLog.php"); require_once realpath(dirname(__FILE__) . "/private/class/StatManager.php"); $testEnvironment = false; if (is_file(dirname(__FILE__) . '/private/test.json')) { $testEnvironment = true; } ?> <div class="bigheadcontainer"> <!-- <h1>Blockland Glass</h1> --> <image style="margin: 10px 0px 5px 0px; max-width: 100%" src="/img/logoWhite.png" /> <h2 style="font-weight: normal">A service for the community, by the community</h2> <a href="dl.php" class="btn blue"><b>Download</b></a><br /> <!-- <a href="builds" class="btn green" style="width: 150px">Builds</a> --> <a href="addons" class="btn yellow" style="width: 150px">Add-Ons</a><br /><br /> </div> <div class="maincontainer"> <?php if ($testEnvironment) { ?> <p> <h3>Glass Test Site</h3>