From 75448045cfe70054c8f4bae1bcfaf9bb0f70d330 Mon Sep 17 00:00:00 2001 From: Moritz helios Rudert Date: Wed, 1 Jun 2011 12:13:39 +0200 Subject: fixes --- includes/funktion_activeUser.php | 114 +++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 58 deletions(-) mode change 100755 => 100644 includes/funktion_activeUser.php (limited to 'includes/funktion_activeUser.php') diff --git a/includes/funktion_activeUser.php b/includes/funktion_activeUser.php old mode 100755 new mode 100644 index d19895a8..e214a1f9 --- a/includes/funktion_activeUser.php +++ b/includes/funktion_activeUser.php @@ -1,59 +1,57 @@ -Engel online"; - -$SQL = "SELECT UID, Nick, lastLogIn ". - "FROM User ". - "WHERE (`lastLogIn` > '". gmdate("YmdHis", time()-(60*60)). "' AND NOT (UID=". $_SESSION['UID']. ")) ". - "ORDER BY lastLogIn DESC;"; - -$Erg = mysql_query( $SQL, $con); - - -$Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag - (gmdate("H", time()) * 60 * 60) + // Stunde - (gmdate("i", time()) * 60) + // Minute - (gmdate("s", time()) ); // Sekunde - -for( $i=0; $i"; - if( $_SESSION['UID']>0 ) - echo DisplayAvatar( mysql_result( $Erg, $i, "UID")); - // Schow Admin Page - echo funktion_isLinkAllowed_addLink_OrLinkText( - "admin/userChangeNormal.php?enterUID=". mysql_result( $Erg, $i, "UID"). "&Type=Normal", - mysql_result( $Erg, $i, "Nick")); - - $Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag - (substr( mysql_result( $Erg, $i, "lastLogIn"), 11, 2) * 60 * 60) + // Stunde - (substr( mysql_result( $Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute - (substr( mysql_result( $Erg, $i, "lastLogIn"), 17, 2) ); // Sekunde - - $Tlog = $Tist-$Tlog; - echo " ". bcdiv( $Tlog, 60). ":"; - if( strlen(bcmod( $Tlog, 60))==1) - echo "0"; - echo bcmod( $Tlog, 60); - echo "\n"; -} - +Engel online"; + + $SQL = "SELECT UID, Nick, lastLogIn " . + "FROM User " . + "WHERE (`lastLogIn` > '" . gmdate("YmdHis", time() - (60 * 60)) . "' AND NOT (UID=" . $_SESSION['UID'] . ")) " . + "ORDER BY lastLogIn DESC;"; + + $Erg = mysql_query($SQL, $con); + + $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag + (gmdate("H", time()) * 60 * 60) + // Stunde + (gmdate("i", time()) * 60) + // Minute + (gmdate("s", time()) ); // Sekunde + + echo ""; ?> -- cgit v1.2.3-54-g00ecf From d163b9921b3ddb71f027199c87e6cf18fbb9a624 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 1 Jun 2011 17:28:03 +0200 Subject: rebase, new flags --- includes/funktion_activeUser.php | 87 ++++++++++++++------------------------- includes/funktion_flag.php | 12 +++--- includes/funktion_menu.php | 4 +- includes/header_start.php | 76 +++++++++++++++++----------------- includes/menu.php | 53 ++++++++++-------------- www-ssl/css/base.css | 10 +++++ www-ssl/css/style10.css | 0 www-ssl/faq.php | 11 ++++- www-ssl/nonpublic/index.php | 2 +- www-ssl/pic/flag/de.gif | Bin 321 -> 0 bytes www-ssl/pic/flag/de.png | Bin 0 -> 545 bytes www-ssl/pic/flag/en.gif | Bin 2430 -> 0 bytes www-ssl/pic/flag/en.png | Bin 0 -> 599 bytes 13 files changed, 119 insertions(+), 136 deletions(-) create mode 100644 www-ssl/css/style10.css delete mode 100644 www-ssl/pic/flag/de.gif create mode 100644 www-ssl/pic/flag/de.png delete mode 100644 www-ssl/pic/flag/en.gif create mode 100644 www-ssl/pic/flag/en.png (limited to 'includes/funktion_activeUser.php') diff --git a/includes/funktion_activeUser.php b/includes/funktion_activeUser.php index e214a1f9..ca6e3aaa 100644 --- a/includes/funktion_activeUser.php +++ b/includes/funktion_activeUser.php @@ -1,57 +1,34 @@ Engel online"; - - $SQL = "SELECT UID, Nick, lastLogIn " . - "FROM User " . - "WHERE (`lastLogIn` > '" . gmdate("YmdHis", time() - (60 * 60)) . "' AND NOT (UID=" . $_SESSION['UID'] . ")) " . - "ORDER BY lastLogIn DESC;"; - - $Erg = mysql_query($SQL, $con); - - $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag - (gmdate("H", time()) * 60 * 60) + // Stunde - (gmdate("i", time()) * 60) + // Minute - (gmdate("s", time()) ); // Sekunde - - echo "
    "; - - for($i = 0; $i < mysql_num_rows($Erg); $i++) { - echo "
  • "; - - if($_SESSION['UID'] > 0) - echo DisplayAvatar( mysql_result( $Erg, $i, "UID")); - - // Show Admin Page - echo funktion_isLinkAllowed_addLink_OrLinkText("admin/userChangeNormal.php?enterUID=" . mysql_result($Erg, $i, "UID") . "&Type=Normal", mysql_result($Erg, $i, "Nick")); - - $Tlog = (substr(mysql_result($Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag - (substr(mysql_result($Erg, $i, "lastLogIn"), 11, 2) * 60 * 60) + // Stunde - (substr(mysql_result($Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute - (substr(mysql_result($Erg, $i, "lastLogIn"), 17, 2) ); // Sekunde - - $Tlog = $Tist - $Tlog; - - echo " " . bcdiv($Tlog, 60) . ":"; - - if(strlen(bcmod($Tlog, 60)) == 1) - echo "0"; - - echo bcmod($Tlog, 60); - echo "
  • \n"; - } - - echo "
"; + + +// Funktionen gibt es nicht auf allen Rechnern +echo "

Engel online

"; + +$SQL = "SELECT UID, Nick, lastLogIn " . +"FROM User " . +"WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "' AND NOT (UID=" . $_SESSION['UID'] . ")) " . +"ORDER BY lastLogIn DESC;"; + +$Erg = mysql_query($SQL, $con); + +echo "
    "; + +for ($i = 0; $i < mysql_num_rows($Erg); $i++) { + echo "
  • "; + + if ($_SESSION['UID'] > 0) + echo DisplayAvatar(mysql_result($Erg, $i, "UID")); + + // Show Admin Page + echo funktion_isLinkAllowed_addLink_OrLinkText("admin/userChangeNormal.php?enterUID=" . mysql_result($Erg, $i, "UID") . "&Type=Normal", mysql_result($Erg, $i, "Nick")); + + $timestamp = mktime($hour, $minute, $second, $month, $day, $year); + + $Tlog = time() - mysql_result($Erg, $i, "lastLogIn"); + + echo " " . date("i:s", $Tlog); + echo "
  • \n"; +} + +echo "
"; ?> diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php index b6a02242..b394d18a 100644 --- a/includes/funktion_flag.php +++ b/includes/funktion_flag.php @@ -1,9 +1,9 @@ 0) - $URL = $_SERVER["REQUEST_URI"] . "&SetLanguage="; - else - $URL = $_SERVER["REQUEST_URI"] . "?SetLanguage="; +if (strpos($_SERVER["REQUEST_URI"], "?") > 0) + $URL = $_SERVER["REQUEST_URI"] . "&SetLanguage="; +else + $URL = $_SERVER["REQUEST_URI"] . "?SetLanguage="; - echo "\"DE\" "; - echo "\"EN\" "; +echo 'DE'; +echo 'EN'; ?> diff --git a/includes/funktion_menu.php b/includes/funktion_menu.php index 387310aa..3d20420b 100644 --- a/includes/funktion_menu.php +++ b/includes/funktion_menu.php @@ -7,7 +7,7 @@ function ShowMenu($MenuName) { $Gefunden = false; // Ueberschift - $Text = "

" . Get_Text("$MenuName/") . "

    "; + $Text = ""; // Eintraege foreach ($_SESSION['CVS'] as $Key => $Entry) @@ -37,6 +37,6 @@ function ShowMenu($MenuName) { } } if ($Gefunden) - echo $MenueTableStart . $Text . $MenueTableEnd; + echo ''; } //function ShowMenue ?> diff --git a/includes/header_start.php b/includes/header_start.php index 70f986cf..4795cee3 100644 --- a/includes/header_start.php +++ b/includes/header_start.php @@ -1,40 +1,40 @@ 0)) { - echo "" . $SystemDisableMessage . ""; - echo "" . $SystemDisableMessage . "\n"; - die(); - } - - if(!isset($_SESSION)) - session_start(); - - include "secure.php"; - - if(!isset($_SESSION['IP'])) - $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; - - if(isset($_SESSION['UID']) && ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) { - session_destroy (); - header("Location: " . $url . $ENGEL_ROOT); - } - - include "UserCVS.php"; - - // update LASTlogin - if(isset($_SESSION['UID'])) { - $SQLlastLogIn = "UPDATE `User` SET " . - "`lastLogIn` = '" . gmdate("Y-m-j H:i:s", time()) . "'" . - " WHERE `UID` = '" . $_SESSION['UID'] . "' LIMIT 1;"; - mysql_query ($SQLlastLogIn, $con); - } +ini_set("session.gc_maxlifetime", "65535"); + +include "config/config.php"; +include "error_handler.php"; +include "config/config_db.php"; +include "funktion_lang.php"; +include "funktion_faq.php"; // fuer noAnswer() im menu +include "funktion_menu.php"; +include "funktion_user.php"; + +if (isset ($SystemDisableMessage) && (strlen($SystemDisableMessage) > 0)) { + echo "" . $SystemDisableMessage . ""; + echo "" . $SystemDisableMessage . "\n"; + die(); +} + +if (!isset ($_SESSION)) + session_start(); + +include "secure.php"; + +if (!isset ($_SESSION['IP'])) + $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; + +if (isset ($_SESSION['UID']) && ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) { + session_destroy(); + header("Location: " . $url . $ENGEL_ROOT); +} + +include "UserCVS.php"; + +// update LASTlogin +if (isset ($_SESSION['UID'])) { + $SQLlastLogIn = "UPDATE `User` SET " . + "`lastLogIn` = '" . time() . "'" . + " WHERE `UID` = '" . $_SESSION['UID'] . "' LIMIT 1;"; + mysql_query($SQLlastLogIn, $con); +} ?> diff --git a/includes/menu.php b/includes/menu.php index 955de8b7..61a3ea73 100644 --- a/includes/menu.php +++ b/includes/menu.php @@ -2,35 +2,23 @@ - - -"; -$MenueTableEnd="
-
- - -
-"; - ShowMenu(""); ShowMenu("nonpublic"); ShowMenu("admin"); -if(!isset($submenus)) - $submenus = 0; +if (!isset ($submenus)) + $submenus = 0; if ($submenus >= 1) { - $inc_name = $_SERVER['PHP_SELF']; - $filenamepos = strrpos($inc_name, '/'); - $filenamepos += 1; - $filename = substr ($inc_name, $filenamepos ); - $filepost = substr ($filename, 0, -4); - $filepre = substr ($filename, -4 ); - $verzeichnis = substr ($inc_name, 0 , $filenamepos); - - for ($index_nummer=1; $index_nummer <= $submenus; $index_nummer++) { + $inc_name = $_SERVER['PHP_SELF']; + $filenamepos = strrpos($inc_name, '/'); + $filenamepos += 1; + $filename = substr($inc_name, $filenamepos); + $filepost = substr($filename, 0, -4); + $filepre = substr($filename, -4); + $verzeichnis = substr($inc_name, 0, $filenamepos); + + for ($index_nummer = 1; $index_nummer <= $submenus; $index_nummer++) { ?> @@ -42,26 +30,27 @@ if ($submenus >= 1) {
-
- - - -
+ + diff --git a/www-ssl/css/base.css b/www-ssl/css/base.css index d87fc2f9..b285c40d 100644 --- a/www-ssl/css/base.css +++ b/www-ssl/css/base.css @@ -4,6 +4,7 @@ } body { + font-size: 14px; } header { @@ -13,6 +14,7 @@ header { footer { display: block; + font-size: 12px; text-align: center; width: 100%; } @@ -41,6 +43,10 @@ dt { font-weight: bold; } +dd { + margin-left: 20px; +} + h4 { padding: 0 4px; } @@ -48,3 +54,7 @@ h4 { ul { margin: 0 0 0 20px; } + +a.sprache img { + margin: 5px; +} diff --git a/www-ssl/css/style10.css b/www-ssl/css/style10.css new file mode 100644 index 00000000..e69de29b diff --git a/www-ssl/faq.php b/www-ssl/faq.php index 472915e5..8a7b3ede 100644 --- a/www-ssl/faq.php +++ b/www-ssl/faq.php @@ -13,9 +13,16 @@ $Zeilen = mysql_num_rows($Erg); for ($n = 0; $n < $Zeilen; $n++) { if (mysql_result($Erg, $n, "Antwort") != "") { + list ($frage_de, $frage_en) = split('
', mysql_result($Erg, $n, "Frage")); + list ($antwort_de, $antwort_en) = split('
', mysql_result($Erg, $n, "Antwort")); echo "
"; - echo "
" . mysql_result($Erg, $n, "Frage") . "
"; - echo "
" . mysql_result($Erg, $n, "Antwort") . "
"; + if ($_SESSION['Sprache'] == "DE") { + echo "
" . $frage_de . "
"; + echo "
" . $antwort_de . "
"; + } else { + echo "
" . $frage_en . "
"; + echo "
" . $antwort_en . "
"; + } echo "
"; } } diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php index add0fdd3..b53f8088 100644 --- a/www-ssl/nonpublic/index.php +++ b/www-ssl/nonpublic/index.php @@ -10,7 +10,7 @@ include ("includes/crypt.php"); session_start(); // alte Session - falls vorhanden - wiederherstellen... function LoginOK() { - include ("../../config/config.php"); + include ("config/config.php"); header("HTTP/1.1 302 Moved Temporarily"); header("Location: " . $url . $ENGEL_ROOT . "nonpublic/news.php"); } diff --git a/www-ssl/pic/flag/de.gif b/www-ssl/pic/flag/de.gif deleted file mode 100644 index 15739e2e..00000000 Binary files a/www-ssl/pic/flag/de.gif and /dev/null differ diff --git a/www-ssl/pic/flag/de.png b/www-ssl/pic/flag/de.png new file mode 100644 index 00000000..ac4a9773 Binary files /dev/null and b/www-ssl/pic/flag/de.png differ diff --git a/www-ssl/pic/flag/en.gif b/www-ssl/pic/flag/en.gif deleted file mode 100644 index 34936ee3..00000000 Binary files a/www-ssl/pic/flag/en.gif and /dev/null differ diff --git a/www-ssl/pic/flag/en.png b/www-ssl/pic/flag/en.png new file mode 100644 index 00000000..ff701e19 Binary files /dev/null and b/www-ssl/pic/flag/en.png differ -- cgit v1.2.3-54-g00ecf From 54aa90e6414b2e23d02915495b66d64e8ba6e286 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 1 Jun 2011 17:51:39 +0200 Subject: html5, css rewrite --- includes/funktion_activeUser.php | 2 +- includes/funktion_menu.php | 2 +- includes/header.php | 6 +-- includes/menu.php | 8 ++-- www-ssl/css/base.css | 21 +++++----- www-ssl/css/style1.css | 85 ++++++++++++++++++++-------------------- 6 files changed, 64 insertions(+), 60 deletions(-) (limited to 'includes/funktion_activeUser.php') diff --git a/includes/funktion_activeUser.php b/includes/funktion_activeUser.php index ca6e3aaa..631ec2d1 100644 --- a/includes/funktion_activeUser.php +++ b/includes/funktion_activeUser.php @@ -11,7 +11,7 @@ $SQL = "SELECT UID, Nick, lastLogIn " . $Erg = mysql_query($SQL, $con); -echo "
    "; +echo "
      "; for ($i = 0; $i < mysql_num_rows($Erg); $i++) { echo "
    • "; diff --git a/includes/funktion_menu.php b/includes/funktion_menu.php index 3d20420b..8246dcc5 100644 --- a/includes/funktion_menu.php +++ b/includes/funktion_menu.php @@ -37,6 +37,6 @@ function ShowMenu($MenuName) { } } if ($Gefunden) - echo ''; + echo ''; } //function ShowMenue ?> diff --git a/includes/header.php b/includes/header.php index 750c82fb..d4f212d9 100644 --- a/includes/header.php +++ b/includes/header.php @@ -40,7 +40,7 @@ echo "\n"; ///////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////// B O D Y ///////////////////////////////////////////////////////////////////////////////////////////// -echo "\n"; +echo "\n"; echo '
      '; @@ -69,12 +69,12 @@ if ($_SESSION['Menu'] == "L") include ("menu.php"); ?> -
      +
      ' . (strlen($header) == 0 ? Get_Text($Page["Name"]) : $header) . ''; -echo '
      '; +echo '
      '; if (isset ($_SESSION['UID'])) { if (isset ($_SESSION['oldurl'])) diff --git a/includes/menu.php b/includes/menu.php index 61a3ea73..3ca5e8ae 100644 --- a/includes/menu.php +++ b/includes/menu.php @@ -31,26 +31,28 @@ if ($submenus >= 1) {
      -
      -
      -
      - - - - - - - diff --git a/includes/funktion_activeUser.php b/includes/funktion_activeUser.php deleted file mode 100644 index 631ec2d1..00000000 --- a/includes/funktion_activeUser.php +++ /dev/null @@ -1,34 +0,0 @@ -Engel online"; - -$SQL = "SELECT UID, Nick, lastLogIn " . -"FROM User " . -"WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "' AND NOT (UID=" . $_SESSION['UID'] . ")) " . -"ORDER BY lastLogIn DESC;"; - -$Erg = mysql_query($SQL, $con); - -echo "
        "; - -for ($i = 0; $i < mysql_num_rows($Erg); $i++) { - echo "
      • "; - - if ($_SESSION['UID'] > 0) - echo DisplayAvatar(mysql_result($Erg, $i, "UID")); - - // Show Admin Page - echo funktion_isLinkAllowed_addLink_OrLinkText("admin/userChangeNormal.php?enterUID=" . mysql_result($Erg, $i, "UID") . "&Type=Normal", mysql_result($Erg, $i, "Nick")); - - $timestamp = mktime($hour, $minute, $second, $month, $day, $year); - - $Tlog = time() - mysql_result($Erg, $i, "lastLogIn"); - - echo " " . date("i:s", $Tlog); - echo "
      • \n"; -} - -echo "
      "; -?> diff --git a/includes/funktion_faq.php b/includes/funktion_faq.php deleted file mode 100644 index e9f09e7c..00000000 --- a/includes/funktion_faq.php +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php deleted file mode 100644 index 6b4e2f06..00000000 --- a/includes/funktion_flag.php +++ /dev/null @@ -1,9 +0,0 @@ - 0) - $URL = $_SERVER["REQUEST_URI"] . "&SetLanguage="; -else - $URL = $_SERVER["REQUEST_URI"] . "?SetLanguage="; - -echo '

      DE'; -echo 'EN

      '; -?> diff --git a/includes/header_start.php b/includes/header_start.php deleted file mode 100644 index 4795cee3..00000000 --- a/includes/header_start.php +++ /dev/null @@ -1,40 +0,0 @@ - 0)) { - echo "" . $SystemDisableMessage . ""; - echo "" . $SystemDisableMessage . "\n"; - die(); -} - -if (!isset ($_SESSION)) - session_start(); - -include "secure.php"; - -if (!isset ($_SESSION['IP'])) - $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; - -if (isset ($_SESSION['UID']) && ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) { - session_destroy(); - header("Location: " . $url . $ENGEL_ROOT); -} - -include "UserCVS.php"; - -// update LASTlogin -if (isset ($_SESSION['UID'])) { - $SQLlastLogIn = "UPDATE `User` SET " . - "`lastLogIn` = '" . time() . "'" . - " WHERE `UID` = '" . $_SESSION['UID'] . "' LIMIT 1;"; - mysql_query($SQLlastLogIn, $con); -} -?> diff --git a/includes/login_eingabefeld.php b/includes/login_eingabefeld.php deleted file mode 100644 index 9e10271d..00000000 --- a/includes/login_eingabefeld.php +++ /dev/null @@ -1,17 +0,0 @@ - - -
      - - - - - - - - - -
      -
      "> -
      diff --git a/includes/pages/guest_faq.php b/includes/pages/guest_faq.php index 6b5eeeeb..48e75d16 100644 --- a/includes/pages/guest_faq.php +++ b/includes/pages/guest_faq.php @@ -18,4 +18,13 @@ function guest_faq() { } return $html; } + +function noAnswer() { + global $con; + + $SQL = "SELECT UID FROM Questions WHERE `AID`='0'"; + $Res = mysql_query($SQL, $con); + + return mysql_num_rows($Res); +} ?> diff --git a/includes/secure.php b/includes/secure.php deleted file mode 100644 index 1d1a9e46..00000000 --- a/includes/secure.php +++ /dev/null @@ -1,25 +0,0 @@ -\n"; - - foreach ($_GET as $k => $v) { - $v = htmlentities($v, ENT_QUOTES); - preg_replace('/([\'"`\'])/', '', $v); - $_GET[$k] = $v; - - if($debug) - echo "GET $k=\"$v\"
      "; - } - - foreach ($_POST as $k => $v) { - $v = htmlentities($v, ENT_QUOTES); - preg_replace('/([\'"`\'])/', '', $v); - $_POST[$k] = $v; - - if($debug) - echo "POST $k=\"$v\"
      "; - } - - if($debug) - echo "secure.php END
      \n"; -?> diff --git a/includes/sys_auth.php b/includes/sys_auth.php index 1c15122e..68e336b0 100644 --- a/includes/sys_auth.php +++ b/includes/sys_auth.php @@ -5,6 +5,14 @@ function load_auth() { global $user; + if (!isset ($_SESSION['IP'])) + $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; + + if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) { + session_destroy(); + header("Location: " . link_to_page($start)); + } + $user = null; if (isset ($_SESSION['uid'])) { $user = sql_select("SELECT * FROM `User` WHERE `UID`=" . sql_escape($_SESSION['uid']) . " LIMIT 1"); diff --git a/www-ssl/css/style.css.old b/www-ssl/css/style.css.old deleted file mode 100644 index 254fb1b7..00000000 --- a/www-ssl/css/style.css.old +++ /dev/null @@ -1,53 +0,0 @@ -H1 { - font-family : Helvetica,Arial,Verdana; - font-size : 25pt; -} -H4 { - font-family : Arial,Verdana; -} -A { - font-family : Arial; - font-size : small; - text-decoration : none; - color : #0000a0; -} -A:Visited { - font-family : Arial; - font-size : small; - color : #0000a0; - text-decoration : none; -} - A:Active { - text-decoration : none; - font-family : Arial; - font-size : small; -} -A:Hover { - font-family : Arial; - font-size : small; - color : #0000a0; - text-decoration : underline; - font-weight : bold; -} -B { - font-weight : bold; - font-family : Arial; - font-size : small; -} - -TD { - font-size : small; - font-family : Arial; - padding-left : 1cm; -} - -BODY { - font-size : small; - font-family : Arial; - background-color : #f3b115; - color : navy; -} -a.title { - color:#ffa000; -} - diff --git a/www-ssl/css/style.css.old2 b/www-ssl/css/style.css.old2 deleted file mode 100644 index 9f7c0c90..00000000 --- a/www-ssl/css/style.css.old2 +++ /dev/null @@ -1,69 +0,0 @@ -H1 { - font-family : Helvetica,Arial,Verdana; - font-size : 25pt; -} - -H4 { - font-family : Arial,Verdana; -} - -A { - font-family : Arial; - font-size : small; - text-decoration : none; - color : #778899; -} - -A:Visited { - font-family : Arial; - font-size : small; - color : #778899; - text-decoration : none; -} - -A:Active { - text-decoration : none; - font-family : Arial; - font-size : small; -} - -A:Hover { - font-family : Arial; - font-size : small; - color : #778899; - text-decoration : underline; - font-weight : bold; -} - -B { - font-weight : bold; - font-family : Arial; - font-size : small; -} - -TD { - font-size : small; - font-family : Arial; -} - -BODY { - font-size : small; - font-family : Arial; - background-color : #f3b115; - color : navy; -} - - -a.title { -color:#ffa000; -} - - -p.question { - font-weight: bold; -} - -p.answer { - margin-left: 30px; - margin-right: 30px; -} diff --git a/www-ssl/css/style1.css.old b/www-ssl/css/style1.css.old deleted file mode 100644 index 4a597f35..00000000 --- a/www-ssl/css/style1.css.old +++ /dev/null @@ -1,79 +0,0 @@ - -body { - font-family: Arial; - background-color: #3e9fef; - color: #000000; - font-size: small -} - -a { - text-decoration: none; - color: #304930 -} - -td { - font-size: small -} - -a:active, a:hover { - font-weight: bold -} - -li { - font-size: small -} - -.content { - background-color: #bdd9ef; - color: #000000 -} - -.contenttopic { - font-weight: bold; - font-size: small; - color: #fe961e; - background-color: #157cc1 -} - -.border { - background-color: #050509 -} - -.menu { - background-color: #bdd9ef; - color: #000022; - font-size: small -} -h4.menu { - font-weight: bold; - font-size: small; - color: #3e9fef -} - -.linkbox { - background-color: #ffffff -} - -.linkboxtitle { - font-weight: bold; - background-color: #000000; - color: #bdd9ef -} - -.question { - font-weight: bold; - font-size: 9pt -} - -.engeltreffen { - font-weight: bold; - font-size: 9pt; - color: #ff0000; -} - -.answer { - font-size: 9pt; -} -.comment { - font-size : 6pt; -} diff --git a/www-ssl/faq.php b/www-ssl/faq.php deleted file mode 100644 index 8a7b3ede..00000000 --- a/www-ssl/faq.php +++ /dev/null @@ -1,31 +0,0 @@ -', mysql_result($Erg, $n, "Frage")); - list ($antwort_de, $antwort_en) = split('
      ', mysql_result($Erg, $n, "Antwort")); - echo "
      "; - if ($_SESSION['Sprache'] == "DE") { - echo "
      " . $frage_de . "
      "; - echo "
      " . $antwort_de . "
      "; - } else { - echo "
      " . $frage_en . "
      "; - echo "
      " . $antwort_en . "
      "; - } - echo "
      "; - } -} - -include "includes/footer.php"; -?> diff --git a/www-ssl/logout.php b/www-ssl/logout.php deleted file mode 100644 index 12b284f9..00000000 --- a/www-ssl/logout.php +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/www-ssl/makeuser.php b/www-ssl/makeuser.php deleted file mode 100644 index a67f4bd5..00000000 --- a/www-ssl/makeuser.php +++ /dev/null @@ -1,214 +0,0 @@ - 0) $error = Get_Text("makeuser_error_nick1") . $_POST["Nick"] . Get_Text("makeuser_error_nick3"); - elseif (strlen($_POST["email"]) <= 6 && strstr($_POST["email"], "@") == FALSE && strstr($_POST["email"], ".") == false) $error = Get_Text("makeuser_error_mail"); - elseif (!is_numeric($_POST["Alter"])) $error = Get_Text("makeuser_error_Alter"); - elseif ($_POST["Passwort"] != $_POST["Passwort2"]) $error = Get_Text("makeuser_error_password1"); - elseif (strlen($_POST["Passwort"]) < 6) $error = Get_Text("makeuser_error_password2"); - else { - $_POST["Passwort"] = PassCrypt($_POST["Passwort"]); - unset ($_POST["Passwort2"]); - - $SQL = "INSERT INTO `User` (" . - "`Nick` , " . "`Name` , " . - "`Vorname`, " . "`Alter` , " . - "`Telefon`, " . "`DECT`, " . - "`Handy`, " . "`email`, " . - "`ICQ`, " . "`jabber`, " . - "`Size`, " . "`Passwort`, " . - "`Art` , " . "`kommentar`, " . - "`Hometown`," . "`CreateDate` ) " . - "VALUES ( " . - "'" . $_POST["Nick"] . "', " . "'" . $_POST["Name"] . "', " . - "'" . $_POST["Vorname"] . "', " . "'" . $_POST["Alter"] . "', " . - "'" . $_POST["Telefon"] . "', " . "'" . $_POST["DECT"] . "', " . - "'" . $_POST["Handy"] . "', " . "'" . $_POST["email"] . "', " . - "'" . $_POST["ICQ"] . "', " . "'" . $_POST["jabber"] . "', " . - "'" . $_POST["Size"] . "', " . "'" . $_POST["Passwort"] . "', " . - "'" . $_POST["Art"] . "', " . "'" . $_POST["kommentar"] . "', " . - "'" . $_POST["Hometown"] . "'," . "NOW());"; - $Erg = mysql_query($SQL, $con); - - if ($Erg != 1) { - echo Get_Text("makeuser_error_write1") . "
      \n"; - $error = mysql_error($con); - } else { - echo "

      " . Get_Text("makeuser_writeOK") . "\n"; - - $SQL2 = "SELECT `UID` FROM `User` WHERE `Nick`='" . $_POST["Nick"] . "';"; - $Erg2 = mysql_query($SQL2, $con); - $Data = mysql_fetch_array($Erg2); - - $SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES ('" . $Data["UID"] . "');"; - $Erg3 = mysql_query($SQL3, $con); - - if ($Erg3 != 1) { - echo "

      " . Get_Text("makeuser_error_write2") . "
      \n"; - $error = mysql_error($con); - } else { - echo Get_Text("makeuser_writeOK2") . "
      \n"; - echo "

      " . Get_Text("makeuser_writeOK3") . "

      \n"; - } - - echo Get_Text("makeuser_writeOK4") . "

      \n

      \n"; - $success = "any"; - - if (isset ($SubscribeMailinglist)) { - if ($_POST["subscribe-mailinglist"] == "") { - $headers = "From: " . $_POST["email"] . "\r\n" . - "X-Mailer: PHP/" . phpversion(); - mail($SubscribeMailinglist, "subject", "message", $headers); - } - } - } - } - - if (isset ($error)) - echo "

      \n" . $error . "\n

      \n\n"; -} else { - // init vars - $_POST["Nick"] = ""; - $_POST["Name"] = ""; - $_POST["Vorname"] = ""; - $_POST["Alter"] = ""; - $_POST["Telefon"] = ""; - $_POST["DECT"] = ""; - $_POST["Handy"] = ""; - $_POST["email"] = ""; - $_POST["subscribe-mailinglist"] = ""; - $_POST["ICQ"] = ""; - $_POST["jabber"] = ""; - $_POST["Size"] = "L"; - $_POST["Art"] = ""; - $_POST["kommentar"] = ""; - $_POST["Hometown"] = ""; -} - -if ($success == "none") { - echo "

      " . Get_Text("makeuser_text0") . "

      \n"; - echo "

      " . Get_Text("makeuser_text1") . "

      \n"; - echo "
      \n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - if (isset ($SubscribeMailinglist)) - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "
      " . Get_Text("makeuser_Nickname") . "*
      " . Get_Text("makeuser_Nachname") . "
      " . Get_Text("makeuser_Vorname") . "
      " . Get_Text("makeuser_Alter") . "
      " . Get_Text("makeuser_Telefon") . "
      " . Get_Text("makeuser_DECT") . "\n"; - echo "
      " . Get_Text("makeuser_Handy") . "
      " . Get_Text("makeuser_E-Mail") . "*
      " . Get_Text("makeuser_subscribe-mailinglist") . "($SubscribeMailinglist)
      ICQ
      jabber
      " . Get_Text("makeuser_T-Shirt") . " Grösse*\n"; - echo "\n"; - echo "
      " . Get_Text("makeuser_Engelart") . "\n"; - echo "\n"; - echo "
      " . Get_Text("makeuser_text2") . "
      " . Get_Text("makeuser_Hometown") . "
      " . Get_Text("makeuser_Passwort") . "*
      " . Get_Text("makeuser_Passwort2") . "*
       
      \n"; - echo "
      \n"; - Print_Text("makeuser_text3"); -} - -include "includes/footer.php"; -?> -- cgit v1.2.3-54-g00ecf