2022-10-21 21:26:41 +02:00
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<p>Created by La Bureautique Incorporated, STI (Société Totalement Irresponsable) au capital de 200 000 Ğ1.</p>
|
|
|
|
|
</footer>
|
|
|
|
|
|
2022-10-26 13:03:52 +02:00
|
|
|
|
<?php
|
2022-10-21 21:26:41 +02:00
|
|
|
|
|
2022-10-31 20:12:51 +01:00
|
|
|
|
// if (isset($_SESSION['gameId']) and ((isset($bodyIds) and strpos($bodyIds, 'startpage') === false)) or (!isset($bodyIds))) {
|
2022-10-26 13:03:52 +02:00
|
|
|
|
|
2022-10-31 20:12:51 +01:00
|
|
|
|
// $themeJSDir = 'themes/'. $_SESSION['gameId'] . '/js';
|
|
|
|
|
// $files = scandir($themeJSDir);
|
|
|
|
|
// $files = array_slice($files, 2);
|
2022-10-30 19:19:38 +01:00
|
|
|
|
|
2022-10-31 20:12:51 +01:00
|
|
|
|
// foreach ($files as $f) {
|
|
|
|
|
|
|
|
|
|
// echo '
|
|
|
|
|
// <script type="text/javascript" src="'. $themeJSDir . '/' . $f .'"></script>
|
|
|
|
|
// ';
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
foreach ($javascripts['footer'] as $js) {
|
|
|
|
|
|
|
|
|
|
echo '
|
|
|
|
|
<script src="'. $js . '"></script>
|
|
|
|
|
';
|
2022-10-26 13:03:52 +02:00
|
|
|
|
}
|
|
|
|
|
?>
|
2022-10-21 21:26:41 +02:00
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|