diff Includes/Header.inc.php @ 0:3021ce32ee14 owls-0.5

begin of using hg for owls
author "Meillo r e t u r n s <meillo@marmaro.de>"
date Sun, 03 Dec 2006 22:32:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Includes/Header.inc.php	Sun Dec 03 22:32:13 2006 +0100
@@ -0,0 +1,71 @@
+<?php
+
+  define('DB_PREFIX', 'rem__1_');
+  define('TITLE', 'Owls');
+
+  require_once '../Db.inc.php';
+  require_once 'Includes/Loginsys.class.php';
+  include_once 'Includes/Bbcodeparser.inc.php';
+
+  $lsys = &new Loginsys();
+
+?>
+<!--
+
+                       `Owls' - some kind of wiki system
+
+
+                (c) Copyright  2006 &>  by Meillo  r e t u r n s
+
+         This program is free software; you can redistribute it and/or
+          modify it under the terms of the GNU General Public License
+         as published by the Free Software Foundation; either version 2
+             of the License, or (at your option) any later version.
+
+        This program is distributed in the hope that it will be useful,
+         but WITHOUT ANY WARRANTY; without even the implied warranty of
+         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+                  GNU General Public License for more details.
+
+
+                          http://prog.marmaro.de/owls/
+
+-->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <title><?php echo htmlentities(TITLE); ?></title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="shortcut icon" href="favicon.ico" />
+  <link rel="stylesheet" type="text/css" href="Owls.css.php" />
+  <script type="text/javascript">
+  <!--
+    function sureToDelete(id) {
+      if (window.prompt("Type 'delete' to delete","") == "delete") {
+        location.href = id +"d";
+      }
+    }
+
+    
+    function toggleVisibility(boxId) {
+      if (document.getElementById('node'+ boxId).style.display == 'none') {
+        document.getElementById('node'+ boxId).style.display = "";
+        document.getElementById('ctrl'+ boxId).firstChild.nodeValue = "-";
+      } else{
+        document.getElementById('node'+ boxId).style.display = "none";
+        document.getElementById('ctrl'+ boxId).firstChild.nodeValue = "+";
+      }
+    }
+    
+  //-->  
+  </script>
+</head>
+
+<body>
+<div id="websiteContainer">
+
+  <!-- Banner -->
+  <img src="Banner.png" id="banner" alt="<?php echo htmlentities(TITLE); ?>" />
+