more shit

This commit is contained in:
whotookelburg 2023-01-26 23:08:50 +00:00
parent 3d93375bf4
commit 443887dc10
13 changed files with 170 additions and 24 deletions

16
dynamicGen.php Normal file
View file

@ -0,0 +1,16 @@
<?php
if(!$_GET && !$_POST){
http_response_code(400);
die;
}
if($_GET['content']=='aboutserver'){
require 'src/pages/aboutPage.php';
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;
}
?>