sts/index.php

21 lines
638 B
PHP
Raw Permalink Normal View History

<?php require 'src/loadEnv.php';?>
<!--<?php $_SERVER['HTTP_USER_AGET'];?>-->
2023-01-26 19:09:07 +01:00
<html>
<head>
2023-01-27 00:08:50 +01:00
<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\">";
?>
2023-01-26 19:09:07 +01:00
</head>
<body>
2023-01-27 00:08:50 +01:00
<?php
if ($_GET['fpage']==="text"){
require 'src/pages/text/index.php';
}else{
require 'src/pages/modern/index.php';
}
2023-01-27 00:08:50 +01:00
?>
2023-01-26 19:09:07 +01:00
</body>
</html>