diff options
Diffstat (limited to 'includes/mobile')
-rw-r--r-- | includes/mobile/site.php | 2 | ||||
-rw-r--r-- | includes/mobile/template_end.php | 8 | ||||
-rw-r--r-- | includes/mobile/template_head_end.php | 26 | ||||
-rw-r--r-- | includes/mobile/template_head_start.php | 10 |
4 files changed, 46 insertions, 0 deletions
diff --git a/includes/mobile/site.php b/includes/mobile/site.php new file mode 100644 index 0000000..0e34e83 --- /dev/null +++ b/includes/mobile/site.php @@ -0,0 +1,2 @@ +<?php +header("Location: pages/" . urlencode($_GET["p"] ?? "start.php")); diff --git a/includes/mobile/template_end.php b/includes/mobile/template_end.php new file mode 100644 index 0000000..1f3ad26 --- /dev/null +++ b/includes/mobile/template_end.php @@ -0,0 +1,8 @@ +</div> +<footer class="footer"> +<div class="container"> + <a href="/view.php?view=d&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>" target="_top">Desktop-Version</a> +</div> +</footer> +</body> +</html> diff --git a/includes/mobile/template_head_end.php b/includes/mobile/template_head_end.php new file mode 100644 index 0000000..6819603 --- /dev/null +++ b/includes/mobile/template_head_end.php @@ -0,0 +1,26 @@ +</head> +<body> +<nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse" aria-expanded="false"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="/site.php">Mystic House Corner</a> + </div> + <div class="collapse navbar-collapse" id="nav-collapse"> + <ul class="nav navbar-nav"> + <li><a href="/pages/start.php">Startseite</a></li> + <li><a href="/pages/trivia.php">Trivia</a></li> + <li><a href="/pages/exklusiv.php">Exklusiv</a></li> + <li><a href="/pages/dekomp.php">Dekomp</a></li> + <li><a href="/pages/loesung.php">Lösung</a></li> + <li><a href="/pages/about.php">Über</a></li> + </ul> + </div> + </div> +</nav> +<div class="container">
\ No newline at end of file diff --git a/includes/mobile/template_head_start.php b/includes/mobile/template_head_start.php new file mode 100644 index 0000000..21c44f6 --- /dev/null +++ b/includes/mobile/template_head_start.php @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width"> + <title><?= htmlentities($PAGE_TITLE ?? "") ?> - Mystic House Fansite</title> + <link rel="stylesheet" href="/mobile/dist/css/bootstrap.min.css"> + <link rel="stylesheet" href="/mobile/site.css"> + <script src="/mobile/jquery-1.12.4.min.js"></script> + <script src="/mobile/dist/js/bootstrap.min.js"></script> |