diff options
Diffstat (limited to 'www-ssl')
-rw-r--r-- | www-ssl/css/style.css.old | 53 | ||||
-rw-r--r-- | www-ssl/css/style.css.old2 | 69 | ||||
-rw-r--r-- | www-ssl/css/style1.css.old | 79 | ||||
-rw-r--r-- | www-ssl/faq.php | 31 | ||||
-rw-r--r-- | www-ssl/logout.php | 15 | ||||
-rw-r--r-- | www-ssl/makeuser.php | 214 |
6 files changed, 0 insertions, 461 deletions
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 @@ -<?php -require_once ('bootstrap.php'); - -$title = "FAQ"; -$header = "FAQ"; -include "includes/header.php"; - -$SQL = "SELECT * FROM `FAQ`"; -$Erg = mysql_query($SQL, $con); - -// anzahl Zeilen -$Zeilen = mysql_num_rows($Erg); - -for ($n = 0; $n < $Zeilen; $n++) { - if (mysql_result($Erg, $n, "Antwort") != "") { - list ($frage_de, $frage_en) = split('<br />', mysql_result($Erg, $n, "Frage")); - list ($antwort_de, $antwort_en) = split('<br />', mysql_result($Erg, $n, "Antwort")); - echo "<dl>"; - if ($_SESSION['Sprache'] == "DE") { - echo "<dt>" . $frage_de . "</dt>"; - echo "<dd>" . $antwort_de . "</dd>"; - } else { - echo "<dt>" . $frage_en . "</dt>"; - echo "<dd>" . $antwort_en . "</dd>"; - } - echo "</dl>"; - } -} - -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 @@ -<?php - - -// Die Session zerstoeren usw -require_once ('bootstrap.php'); -include "config/config.php"; - -session_start(); -session_destroy(); -// und eine neue erstellen, damit kein Erzengelmenue angezeigt wird (falls sich ein Erzengel abmeldet...) -session_start(); - -header("HTTP/1.1 302 Moved Temporarily"); -header("Location: " . $url . $ENGEL_ROOT); -?> 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 @@ -<?php -require_once ('bootstrap.php'); - -$title = "Anmeldung zum Chaos-Engel"; -$header = ""; -$success = "none"; - -include "config/config.php"; -include "includes/header.php"; -include "config/config_db.php"; -include "includes/crypt.php"; - -if (isset ($_POST["send"])) { - $eNick = trim($_POST["Nick"]); - - if ($_POST["Alter"] == "") - $_POST["Alter"] = 0; - - // user vorhanden? - $SQLans = "SELECT UID FROM `User` WHERE `Nick`='" . $_POST["Nick"] . "'"; - $Ergans = mysql_query($SQLans, $con); - - if (strlen($_POST["Nick"]) < 2) - $error = Get_Text("makeuser_error_nick1") . $_POST["Nick"] . Get_Text("makeuser_error_nick2"); - elseif (mysql_num_rows($Ergans) > 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") . "<br />\n"; - $error = mysql_error($con); - } else { - echo "<p class=\"important\">" . 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 "<h1>" . Get_Text("makeuser_error_write2") . "<br />\n"; - $error = mysql_error($con); - } else { - echo Get_Text("makeuser_writeOK2") . "<br />\n"; - echo "<h1>" . Get_Text("makeuser_writeOK3") . "</h1>\n"; - } - - echo Get_Text("makeuser_writeOK4") . "</p><p></p>\n<br /><br />\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 "<p class=\"warning\">\n" . $error . "\n</p>\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 "<h1>" . Get_Text("makeuser_text0") . "</h1>\n"; - echo "<h2>" . Get_Text("makeuser_text1") . "</h2>\n"; - echo "<form action=\"\" method=\"post\">\n"; - echo "<table>\n"; - echo "<tr><td>" . Get_Text("makeuser_Nickname") . "*</td><td><input type=\"text\" size=\"40\" name=\"Nick\" value=\"" . $_POST["Nick"] . "\" /></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Nachname") . "</td><td><input type=\"text\" size=\"40\" name=\"Name\" value=\"" . $_POST["Name"] . "\" /></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Vorname") . "</td><td><input type=\"text\" size=\"40\" name=\"Vorname\" value=\"" . $_POST["Vorname"] . "\" /></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Alter") . "</td><td><input type=\"text\" size=\"40\" name=\"Alter\" value=\"" . $_POST["Alter"] . "\"></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Telefon") . "</td><td><input type=\"text\" size=\"40\" name=\"Telefon\" value=\"" . $_POST["Telefon"] . "\"></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_DECT") . "</td><td><input type=\"text\" size=\"40\" name=\"DECT\" value=\"" . $_POST["DECT"] . "\"></td><td>\n"; - echo "<!--a href=\"https://21c3.ccc.de/wiki/index.php/POC\"><img src=\"./pic/external.png\" alt=\"external: \">DECT</a--></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Handy") . "</td><td><input type=\"text\" size=\"40\" name=\"Handy\" value=\"" . $_POST["Handy"] . "\"></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_E-Mail") . "*</td><td><input type=\"text\" size=\"40\" name=\"email\" value=\"" . $_POST["email"] . "\"></td></tr>\n"; - - if (isset ($SubscribeMailinglist)) - echo "<tr><td>" . Get_Text("makeuser_subscribe-mailinglist") . "</td><td><input type=\"checkbox\" name=\"subscribe-mailinglist\" value=\"" . $_POST["subscribe-mailinglist"] . "\">($SubscribeMailinglist)</td></tr>\n"; - - echo "<tr><td>ICQ</td><td><input type=\"text\" size=\"40\" name=\"ICQ\" value=\"" . $_POST["ICQ"] . "\"></td></tr>\n"; - echo "<tr><td>jabber</td><td><input type=\"text\" size=\"40\" name=\"jabber\" value=\"" . $_POST["jabber"] . "\"></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_T-Shirt") . " Grösse*</td><td align=\"left\">\n"; - echo "<select name=\"Size\">\n"; - echo "<option value=\"S\""; - if ($_POST["Size"] == "S") - echo " selected"; - echo ">S</option>\n"; - echo "<option value=\"M\""; - if ($_POST["Size"] == "M") - echo " selected"; - echo ">M</option>\n"; - echo "<option value=\"L\""; - if ($_POST["Size"] == "L") - echo " selected"; - echo ">L</option>\n"; - echo "<option value=\"XL\""; - if ($_POST["Size"] == "XL") - echo " selected"; - echo ">XL</option>\n"; - echo "<option value=\"2XL\""; - if ($_POST["Size"] == "2XL") - echo " selected"; - echo ">2XL</option>\n"; - echo "<option value=\"3XL\""; - if ($_POST["Size"] == "3XL") - echo " selected"; - echo ">3XL</option>\n"; - echo "<option value=\"4XL\""; - if ($_POST["Size"] == "4XL") - echo " selected"; - echo ">4XL</option>\n"; - echo "<option value=\"5XL\""; - if ($_POST["Size"] == "5XL") - echo " selected"; - echo ">5XL</option>\n"; - echo "<option value=\"S-G\""; - if ($_POST["Size"] == "S-G") - echo " selected"; - echo ">S Girl</option>\n"; - echo "<option value=\"M-G\""; - if ($_POST["Size"] == "M-G") - echo " selected"; - echo ">M Girl</option>\n"; - echo "<option value=\"L-G\""; - if ($_POST["Size"] == "L-G") - echo " selected"; - echo ">L Girl</option>\n"; - echo "<option value=\"XL-G\""; - if ($_POST["Size"] == "XL-G") - echo " selected"; - echo ">XL Girl</option>\n"; - echo "</select>\n"; - echo "</td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Engelart") . "</td><td align=\"left\">\n"; - echo "<select name=\"Art\">\n"; - - $Sql = "SELECT * FROM `EngelType` ORDER BY `NAME`"; - $Erg = mysql_query($Sql, $con); - - for ($t = 0; $t < mysql_num_rows($Erg); $t++) { - $Name = mysql_result($Erg, $t, "Name") . Get_Text("inc_schicht_engel"); - echo "<option value=\"" . $Name . "\""; - - if ($_POST["Art"] == $Name) - echo " selected"; - - echo ">$Name</option>\n"; - } - - echo "</select>\n"; - echo "</td>\n"; - echo "</tr>\n"; - echo "<tr>\n"; - echo "<td>" . Get_Text("makeuser_text2") . "</td>\n"; - echo "<td><textarea rows=\"5\" cols=\"40\" name=\"kommentar\">" . $_POST["kommentar"] . "</textarea></td>\n"; - echo "</tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Hometown") . "</td><td><input type=\"text\" size=\"40\" name=\"Hometown\" value=\"" . $_POST["Hometown"] . "\"></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Passwort") . "*</td><td><input type=\"password\" size=\"40\" name=\"Passwort\"/></td></tr>\n"; - echo "<tr><td>" . Get_Text("makeuser_Passwort2") . "*</td><td><input type=\"password\" size=\"40\" name=\"Passwort2\"/></td></tr>\n"; - echo "<tr><td> </td><td><input type=\"submit\" name=\"send\" value=\"" . Get_Text("makeuser_Anmelden") . "\"/></td></tr>\n"; - echo "</table>\n"; - echo "</form>\n"; - Print_Text("makeuser_text3"); -} - -include "includes/footer.php"; -?> |