sts/dynamicGen.php
whotookelburg 443887dc10 more shit
2023-01-26 23:08:50 +00:00

16 lines
435 B
PHP

<?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;
}
?>