From 550467697f8b3ae0b5d15d1d3a2bc3f83b003ff8 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 1 Jun 2011 13:36:24 +0200 Subject: html5 --- includes/footer.php | 39 +++++++-------- includes/header.php | 129 +++++++++++++++++++++++-------------------------- includes/menu.php | 4 ++ www-ssl/css/base.css | 39 +++++++++++++++ www-ssl/css/style6.css | 4 ++ www-ssl/index.php | 10 ++-- 6 files changed, 132 insertions(+), 93 deletions(-) create mode 100644 www-ssl/css/base.css diff --git a/includes/footer.php b/includes/footer.php index 8f736c4d..584e4b9b 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,9 +1,10 @@

- " . Get_Text("back") . " "; - ?> + " . Get_Text("back") . " "; +?>

@@ -13,27 +14,27 @@ - - - - -
© copyleft - Kontakt -
- - + + + --> - - + +include ("funktion_counter.php"); +mysql_close($con); +?> diff --git a/includes/header.php b/includes/header.php index 3b6a4c23..6b206049 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,40 +1,37 @@ \n"; +echo "\n"; ?> - + -<?php echo $title; ?> - +<?php echo $title; ?> - Engelsystem + + + - - - -.css" /> + + +.css" /> \n"; + +if (isset ($reload)) { + if ($reload == "") + $reload = 3330; + + echo "\n\n"; } -if(isset($Page["AutoReload"])) - echo "\n\n"; +if (isset ($Page["AutoReload"])) + echo "\n\n"; echo "\n"; @@ -43,40 +40,31 @@ echo "\n"; ///////////////////////////////////////////////////////////////////////////////////////////// echo "\n"; -echo "
\n\n"; - -if( isset($_SESSION['color']) && ($_SESSION['color']==6) ) -{ - echo "\"Unser\n"; -} -else -{ - echo "\"Unser\n"; -} -echo "
\n\n"; - +echo '
'; //ausgabe new message -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 "
". Get_Text("pub_messages_new1"). - " ". mysql_num_rows( $erg ). " ". - Get_Text("pub_messages_new2"). "

"; - } +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 "
" . Get_Text("pub_messages_new1") . + " " . mysql_num_rows($erg) . " " . + Get_Text("pub_messages_new2") . "

"; + } } ?> - +
@@ -84,41 +72,44 @@ if( $_SESSION['Menu'] =="L") include("menu.php");
"; - if( strlen( $header) == 0 ) - echo "\n". Get_Text($Page["Name"]). "\n"; - else - echo "\n$header\n"; + +echo ""; +if (strlen($header) == 0) + echo "\n" . Get_Text($Page["Name"]) . "\n"; +else + echo "\n$header\n"; ?>

-\n"; +if ($Page["CVS"] != "Y") { + echo "Du besitzt kein Rechte für diesen Bereich.
\n"; - if(isset($_SESSION['oldurl'])) - echo "" . Get_Text("back") . " geht's zurück...\n"; - else - echo "" . Get_Text("back") . " geht's zurück...\n"; + if (isset ($_SESSION['oldurl'])) + echo "" . Get_Text("back") . " geht's zurück...\n"; + else + echo "" . Get_Text("back") . " geht's zurück...\n"; - exit (); + exit (); } ?> diff --git a/includes/menu.php b/includes/menu.php index 799e6c75..955de8b7 100644 --- a/includes/menu.php +++ b/includes/menu.php @@ -57,6 +57,10 @@ if( isset($_SESSION['UID']))
+ + diff --git a/www-ssl/css/base.css b/www-ssl/css/base.css new file mode 100644 index 00000000..e5b1644a --- /dev/null +++ b/www-ssl/css/base.css @@ -0,0 +1,39 @@ +* { + margin: 0; + padding: 0; +} + +header { + display: block; + width: 100%; +} + +footer { + display: block; + text-align: center; + width: 100%; +} + +footer p { + margin: 10px auto; +} + +#logo { + background: url('../pic/himmel.png') top left no-repeat; + display: block; + height: 32px; + margin: 10px auto; + width: 380px; +} + +#body { + margin: 0 5%; +} + +td { + padding: 4px; +} + +.menu ul { + margin: 0 0 0 20px; +} diff --git a/www-ssl/css/style6.css b/www-ssl/css/style6.css index 72e1024d..eaca462f 100644 --- a/www-ssl/css/style6.css +++ b/www-ssl/css/style6.css @@ -6,6 +6,10 @@ body { font-size: small } +#logo { + background-image: url('../pic/himmel_w.png'); +} + a { text-decoration: none; color: #ff9900 diff --git a/www-ssl/index.php b/www-ssl/index.php index e61db41a..4a34643c 100644 --- a/www-ssl/index.php +++ b/www-ssl/index.php @@ -1,15 +1,15 @@ " . Get_Text("index_text1") . "

\n"; echo "

" . Get_Text("index_text2") . "

\n"; echo "

" . Get_Text("index_text3") . "

\n"; - include "../../camp2011/includes/login_eingabefeld.php"; + include "../includes/login_eingabefeld.php"; echo "
" . Get_Text("index_text4") . "
"; - include "../../camp2011/includes/footer.php"; + include "../includes/footer.php"; ?> -- cgit v1.2.3-70-g09d2