summaryrefslogtreecommitdiff
path: root/includes/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'includes/desktop')
-rw-r--r--includes/desktop/site.php27
-rw-r--r--includes/desktop/template_end.php2
-rw-r--r--includes/desktop/template_head_end.php10
-rw-r--r--includes/desktop/template_head_start.php20
4 files changed, 59 insertions, 0 deletions
diff --git a/includes/desktop/site.php b/includes/desktop/site.php
new file mode 100644
index 0000000..78fab83
--- /dev/null
+++ b/includes/desktop/site.php
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Frameset//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>
+<frameset rows="0,*" frameBorder="0" border="0" noresize>
+ <frame src="nomusic.html" name="music" frameBorder="0" border="0" noresize>
+ <frameset rows="96,*" frameBorder="0" border="0" noresize framespacing="0">
+ <frame src="navtop.html" frameBorder="0" border="0" noresize scrolling="no">
+ <frameset cols="120,*" frameBorder="0" border="0" noresize framespacing="0">
+ <frame src="navside.html" frameBorder="0" border="0" noresize scrolling="no">
+ <frame src="pages/<?= htmlentities(urlencode($_GET["p"] ?? "start.php")) ?>" name="main" frameBorder="0" border="0" noresize>
+ </frameset>
+ </frameset>
+ <noframes>
+ <table cellspacing="0" cellpadding="2" bgcolor="maroon"><tr><td>
+ <table cellspacing="0" cellpadding="16" bgcolor="pink"><tr><td>
+ <font face="Arial" size="3" color="maroon"><b>Oh nein, Ihr Browser unterst&uuml;tzt keine Frames!</b></font><br>
+ <font face="Arial" size="2" color="maroon">Bitte nutzen Sie einen WWW-Browser, der Frames unterst&uuml;tzt!</font>
+ </td></tr></table>
+ </td></tr></table>
+ </noframes>
+</frameset>
+</html>
diff --git a/includes/desktop/template_end.php b/includes/desktop/template_end.php
new file mode 100644
index 0000000..308b1d0
--- /dev/null
+++ b/includes/desktop/template_end.php
@@ -0,0 +1,2 @@
+</body>
+</html>
diff --git a/includes/desktop/template_head_end.php b/includes/desktop/template_head_end.php
new file mode 100644
index 0000000..9eea077
--- /dev/null
+++ b/includes/desktop/template_head_end.php
@@ -0,0 +1,10 @@
+<?php
+$BODY_BG ??= "BLACK";
+$BODY_TX ??= "WHITE";
+$BODY_LN ??= "#FFFF99";
+$BODY_LV ??= "#FFFF99";
+$BODY_LA ??= "#FF9999";
+?>
+
+</head>
+<body bgcolor="<?= htmlentities($BODY_BG); ?>" background="/images/leather.gif" text="<?= htmlentities($BODY_TX); ?>" link="<?= htmlentities($BODY_LN); ?>" vlink="<?= htmlentities($BODY_LV); ?>" alink="<?= htmlentities($BODY_LA); ?>">
diff --git a/includes/desktop/template_head_start.php b/includes/desktop/template_head_start.php
new file mode 100644
index 0000000..6d4a776
--- /dev/null
+++ b/includes/desktop/template_head_start.php
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+ <meta http-equiv="imagetoolbar" content="no">
+ <meta http-equiv="MSThemeCompatible" content="no">
+ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+ <title><?= htmlentities($PAGE_TITLE ?? "") ?> - Mystic House Fansite</title>
+ <script language="JavaScript">
+ <!--
+ function getLocation() {
+ return "/site.php?p=" + encodeURIComponent(location.href.split('?')[0].replace(/^.*\//, ""));
+ }
+
+ if (window.top == window.self) {
+ location = getLocation();
+ } else if ("history" in window.top && "replaceState" in window.top.history) {
+ window.top.history.replaceState(null, "", getLocation());
+ }
+ // -->
+ </script>