sts/index.php
whotookelburg b201dbfc75 some stuff :3
adding support for text / terminal browsers
redone some strings
2023-02-24 05:20:09 +00:00

20 lines
596 B
PHP

<?php require 'src/loadEnv.php';?>-
<html>
<head>
<title><?php echo $cfg['META']['name']; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/main.css\">";
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/index.css\">";
?>
</head>
<body>
<?php
if ($_GET['fpage']==="text"){
require 'src/pages/text/index.php';
}else{
require 'src/pages/modern/index.php';
}
?>
</body>
</html>