mvc-base/assets/head.php

30 lines
1.0 KiB
PHP
Raw Normal View History

2024-09-09 20:07:44 +02:00
<?php
if($_GET['controller'] == ""){
$controller = 'Home';
} else {
$controller = $_GET['controller'];
}
if($_GET['action'] == ""){
$action = 'index';
}else {
$action = $_GET['action'];
}
if (isset($_SESSION['login']) && $_SESSION['login']==1){
$login="logout";
}else{
$login="login";
}
?>
<title>Klaas Börgmann - <?php echo($controller);?></title>
<base href="klaasboergmann.de" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/assets/style.css">