sts/dynamicGen.php

19 lines
578 B
PHP
Raw Permalink Normal View History

<?php require 'src/loadEnv.php';
2023-01-27 00:08:50 +01:00
if(!$_GET && !$_POST){
http_response_code(400);
include 'src/debug/dumpSuperGlobals.php';
2023-01-27 00:08:50 +01:00
die;
}
if($_GET['content']=='aboutserver'){
2023-02-25 03:01:38 +01:00
require 'src/pages/modern/dynamic/aboutPage.php';
2023-01-27 00:08:50 +01:00
echo '<html><head>';
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/main.css\">";
echo '</head><body>';
$out = genAbout('en_US') or die('something went wrong! go piss of tyler!');
echo $out;
echo '</body></html>';
die;
}else{
include 'src/debug/dumpSuperGlobals.php';
2023-01-27 00:08:50 +01:00
}
?>