diff options
Diffstat (limited to '_site/includes/dom/footer.php')
-rw-r--r-- | _site/includes/dom/footer.php | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/_site/includes/dom/footer.php b/_site/includes/dom/footer.php index af25872..7b2fade 100644 --- a/_site/includes/dom/footer.php +++ b/_site/includes/dom/footer.php @@ -1,24 +1,7 @@ - -<p style="margin-top:20px;text-align:center;"><a href="/feed.xml" style="text-decoration: underline;">View RSS feed</a><?= $admin ? "<span class='admin-text'> (doesn't include unreleased articles)</span>" : "" ?></p> - -<hr> - -<div class="container"> - <p># unchainedtech <a href="https://twitter.com/_Minteck" target="_blank">--support</a> <a href="https://github.com/Minteck/UnchainedTech-Software" target="_blank">--code</a> <a href="/about">--version</a>_<br> - <span style="color:black !important;"> - <?php - - /** @var float $listGetTimeout */ - if ($listGetTimeout !== 0) { - echo("Articles list loading took " . round($listGetTimeout*1000, 4) . " ms"); - } else { - echo("No articles list loading"); - } - - ?> - </span></p> - <small><p style="text-align: center;">© <?= date('Y') ?> UnchainedTech Authors, All rights reserved. · <a href="https://minteck-projects.alwaysdata.net/legal" target="_blank" style="text-decoration: underline;">Legal</a></p></small> -</div> - -</body> -</html>
\ No newline at end of file +<?php
+
+if ((isset($_COOKIE['_UnchainedTech_ExperimentalUI']) && $_COOKIE['_UnchainedTech_ExperimentalUI'] === "true") || $GLOBALS["experimentalUIisStable"]) {
+ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/v2/footer.php";
+} else {
+ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/v1/footer.php";
+}
\ No newline at end of file |