summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/passwort.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-30 22:13:38 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-30 22:13:38 +0000
commitbf88f9c69beddd3d0559648ec9db37f34bd64300 (patch)
treebdb7ee515c0325cc3ab18e47c03768ff88655836 /www-ssl/nonpublic/passwort.php
parentf53f4bf0c64ef14cfac882a98e3f6a2cd883c973 (diff)
aus gegebenen anlass, update von <? auf <?PHP
git-svn-id: svn://svn.cccv.de/engel-system@99 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic/passwort.php')
-rwxr-xr-xwww-ssl/nonpublic/passwort.php58
1 files changed, 0 insertions, 58 deletions
diff --git a/www-ssl/nonpublic/passwort.php b/www-ssl/nonpublic/passwort.php
deleted file mode 100755
index 37860946..00000000
--- a/www-ssl/nonpublic/passwort.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-$title = "Himmel";
-$header = "News";
-include ("./inc/header.php");
-
-if (!IsSet($action)) {
-
-?>
-
-Hier kannst du dein Kennwort f&uuml;r unsere Himmelsverwaltung &auml;ndern. <br><br>
-
-<form action="./passwort.php" method="post">
- <input type="hidden" name="action" value="set">
- <table>
- <tr><td>Altes Passwort:</td><td><input type="password" name="old" size="20"></td></tr>
- <tr><td>Neues Passwort:</td><td><input type="password" name="new1" size="20"></td></tr>
- <tr><td>Passwortbest&auml;tigung:</td><td><input type="password" name="new2" size="20"></td></tr>
- </table>
- <input type="submit" value="Abschicken...">
-</form>
-<?
-
-} else {
-
- if ($action == "set") {
- if ($new1==$new2){
- echo "Eingegebene Kennw&ouml;rter sind nicht gleich. -> ok.<br>";
- echo "Check, ob altes Passwort ok ist.";
- $sql = "select * from User where UID=".$_SESSION['UID'];
- $Erg = mysql_query($sql, $con);
- if (md5($old)==mysql_result($Erg, $i, "Passwort")) {
- echo "-> ok.<br>";
- echo "Setzen des neuen Kennwortes...: ";
- $usql = "update User set Passwort='".md5($new1)."' where UID=".$_SESSION['UID'];
- $Erg = mysql_query($usql, $con);
- if ($Erg==1) {
- echo "Neues Kennwort wurde gesetzt.";
- } else {
- echo "Ein Fehler ist trotzdem noch aufgetreten. Probiere es einfach nocheinmal :)";
- }
-
-
- } else {
- echo "-> nicht ok.<br>";
- echo "Altes Kennwort ist nicht ok. Bitte wiederholen.<br>";
- }
-
- } else {
- echo "Kennw&ouml;rter sind nicht gleich. Bitte wiederholen.";
- }
-
- } else {
- echo "Ung&uuml;ltiger Aufruf!\n";
- }
-}
-
-include ("./inc/footer.php");
-?>