summaryrefslogtreecommitdiff
path: root/includes/system.inc
blob: 099f5228a6715fb703906af7291c0579d9281741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php global $system; global $systemCommonName; global $systemID; $title = $systemCommonName; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc';

?>

<br>
<div class="container">
    <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/sysbanner.inc"; ?>
    <br>

    <div id="page-content">
        <?php global $isLoggedIn; if ($isLoggedIn): ?>
            <small style="opacity:.5;display:block;">(<a href="/-/edit/<?= $system ?>">edit</a>)</small>
        <?php endif; ?>
        <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/content.html") ?>
    </div>
    <?php if ($system === "cloudburst") cloudburst(true); else raindrops(true); ?>
</div>

<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.inc'; ?>