2011-06-01 12:13:39 +02:00
|
|
|
<?php
|
|
|
|
include "header_start.php";
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
echo "<!DOCTYPE html>\n";
|
2008-09-10 05:42:44 +02:00
|
|
|
?>
|
2011-06-01 13:36:24 +02:00
|
|
|
<html>
|
2011-06-01 12:13:39 +02:00
|
|
|
<head>
|
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
<title><?php echo $title; ?> - Engelsystem</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
|
|
|
<meta name="content-style-type" content="text/css" />
|
2011-06-01 12:13:39 +02:00
|
|
|
<meta name="keywords" content="Engel, Himmelsverwaltung" />
|
|
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
|
|
<meta http-equiv="expires" content="0" />
|
|
|
|
<meta name="robots" content="index" />
|
|
|
|
<meta name="revisit-after" content="1 days" />
|
2011-06-01 13:36:24 +02:00
|
|
|
<script type="text/javascript" src="css/grossbild.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
2011-06-01 14:30:29 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/style<?php echo isset($_SESSION['color']) ? $_SESSION['color'] : $default_theme ?>.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../css/base.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../css/style<?php echo isset($_SESSION['color']) ? $_SESSION['color'] : $default_theme ?>.css" />
|
2011-06-01 12:13:39 +02:00
|
|
|
|
|
|
|
<?php
|
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
|
|
|
|
if (isset ($reload)) {
|
|
|
|
if ($reload == "")
|
|
|
|
$reload = 3330;
|
|
|
|
|
|
|
|
echo "\n<meta http-equiv=\"refresh\" content=\"" . $reload . "; URL=./?reload=" . $reload . "\">\n";
|
2010-08-31 21:16:16 +02:00
|
|
|
}
|
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
if (isset ($Page["AutoReload"]))
|
|
|
|
echo "\n<meta http-equiv=\"refresh\" content=\"" . $Page["AutoReload"] .
|
|
|
|
"; URL=" . $url . $ENGEL_ROOT . $Page["Name"] . "\">\n";
|
2010-08-31 21:16:16 +02:00
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
echo "</head>\n";
|
2010-08-31 21:16:16 +02:00
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////// B O D Y
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////////
|
2011-06-01 12:13:39 +02:00
|
|
|
echo "<body>\n";
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
echo '<header><a href="' . $url . $ENGEL_ROOT . '" id="logo"></a></header>';
|
2008-09-10 05:42:44 +02:00
|
|
|
|
|
|
|
//ausgabe new message
|
2011-06-01 13:36:24 +02:00
|
|
|
if (isset ($_SESSION['CVS']["nonpublic/messages.php"])) {
|
|
|
|
if ($_SESSION['CVS']["nonpublic/messages.php"] == "Y") {
|
|
|
|
$SQL = "SELECT `Datum` FROM `Messages` WHERE `RUID`=" . $_SESSION["UID"] . " AND `isRead`='N'";
|
|
|
|
$erg = mysql_query($SQL, $con);
|
|
|
|
if (mysql_num_rows($erg) > 0)
|
|
|
|
echo "<br /><a href=\"" . $url . $ENGEL_ROOT .
|
|
|
|
"nonpublic/messages.php\">" . Get_Text("pub_messages_new1") .
|
|
|
|
" " . mysql_num_rows($erg) . " " .
|
|
|
|
Get_Text("pub_messages_new2") . "</a><br /><br />";
|
|
|
|
}
|
2010-08-31 21:16:16 +02:00
|
|
|
}
|
2008-09-10 05:42:44 +02:00
|
|
|
?>
|
2011-06-01 17:41:49 +02:00
|
|
|
<div id="body">
|
|
|
|
<div id="menu">
|
2011-06-01 12:13:39 +02:00
|
|
|
<?php
|
2011-06-01 13:36:24 +02:00
|
|
|
|
|
|
|
|
2008-09-10 05:42:44 +02:00
|
|
|
//ausgaeb Menu
|
2011-06-01 13:36:24 +02:00
|
|
|
if (!isset ($_SESSION['Menu']))
|
|
|
|
$_SESSION['Menu'] = "L";
|
|
|
|
if ($_SESSION['Menu'] == "L")
|
|
|
|
include ("menu.php");
|
2008-09-10 05:42:44 +02:00
|
|
|
?>
|
2011-06-01 17:41:49 +02:00
|
|
|
</div>
|
|
|
|
<div id="content">
|
2011-06-01 12:13:39 +02:00
|
|
|
<?php
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
|
2011-06-01 17:41:49 +02:00
|
|
|
echo '<h1>' . (strlen($header) == 0 ? Get_Text($Page["Name"]) : $header) . '</h1>';
|
|
|
|
echo '<article>';
|
2011-06-01 13:36:24 +02:00
|
|
|
|
|
|
|
if (isset ($_SESSION['UID'])) {
|
|
|
|
if (isset ($_SESSION['oldurl']))
|
|
|
|
$BACKUP_SESSION_OLDURL = $_SESSION['oldurl'];
|
|
|
|
if (isset ($_SESSION['newurl']))
|
|
|
|
$_SESSION['oldurl'] = $_SESSION['newurl'];
|
|
|
|
$_SESSION['newurl'] = $_SERVER["REQUEST_URI"];
|
2008-09-10 05:42:44 +02:00
|
|
|
}
|
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
function SetHeaderGo2Back() {
|
2011-06-01 13:36:24 +02:00
|
|
|
global $BACKUP_SESSION_OLDURL;
|
|
|
|
$_SESSION['oldurl'] = $BACKUP_SESSION_OLDURL;
|
2008-09-10 05:42:44 +02:00
|
|
|
}
|
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
if ($Page["CVS"] != "Y") {
|
|
|
|
echo "Du besitzt kein Rechte für diesen Bereich.<br />\n";
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
if (isset ($_SESSION['oldurl']))
|
|
|
|
echo "<a href=\"" . $_SESSION["oldurl"] . "\">" . Get_Text("back") . "</a> geht's zurück...\n";
|
|
|
|
else
|
|
|
|
echo "<a href=\"" . $url . $ENGEL_ROOT . "\">" . Get_Text("back") . "</a> geht's zurück...\n";
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 13:36:24 +02:00
|
|
|
exit ();
|
2011-06-01 12:13:39 +02:00
|
|
|
}
|
|
|
|
?>
|
2008-09-10 05:42:44 +02:00
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
<!-- ende des header parts //-->
|