summaryrefslogtreecommitdiff
path: root/includes/template_head_start.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/template_head_start.php')
-rw-r--r--includes/template_head_start.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/includes/template_head_start.php b/includes/template_head_start.php
new file mode 100644
index 0000000..150e423
--- /dev/null
+++ b/includes/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 "/frames.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>