summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJonas Kohl <git@jonaskohl.de>2024-09-06 22:58:09 +0200
committerJonas Kohl <git@jonaskohl.de>2024-09-06 22:58:09 +0200
commit661c9edfa2c3b1bb4d752a9e26a97eb8da98bb27 (patch)
treef6f9e8bb2007781aff25459a20e7efd23568fac9 /index.php
parent9ab1b5cc52d020bc22994756fe9238bfe4038b0e (diff)
Skip intro page if on mobile
Diffstat (limited to 'index.php')
-rw-r--r--index.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..8a9bbfd
--- /dev/null
+++ b/index.php
@@ -0,0 +1,27 @@
+<?php
+
+$__mobile = include __DIR__ . "/includes/mobile-detect.php";
+if ($__mobile) {
+ header("Location: site.php");
+ exit;
+}
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+ <meta http-equiv="imagetoolbar" content="no">
+ <title>Mystic House Corner</title>
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+</head>
+<body bgcolor="black" text="white" link="yellow" vlink="yellow" alink="red">
+
+<table width="100%" height="100%" cellspacing="0" cellpadding="0"><tr>
+ <td valign="middle" align="center">
+ <b>Klicken Sie auf das Bild, um die Seite zu betreten!</b><br><br>
+ <a href="site.php"><img border="0" src="images/TITEL2.jpg"></a>
+ </td>
+</tr></table>
+</body>
+</html>