sts/index.php

21 lines
638 B
PHP

<?php require 'src/loadEnv.php';?>
<!--<?php $_SERVER['HTTP_USER_AGET'];?>-->
<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>