X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=stats.php;h=44378d455b479c6486da35803cfde2e87000ca06;hp=68a09afbb6953156f4b23cb9a68015e217d67b93;hb=a96688595ffc3663a70754a3a194fc3eeefb5405;hpb=a28cbfa660f2ff982f1cdcee41c09cec772d84af diff --git a/stats.php b/stats.php index 68a09af..44378d4 100644 --- a/stats.php +++ b/stats.php @@ -29,7 +29,7 @@ if(myisset("logout")) session_destroy(); $_SESSION = array(); echo "
You are now logged out!
\n". - "(This will take you back to the home-page)
"; + "(This will take you back to the home-page)"; } /* user status page */ else if( isset($_SESSION["name"]) ) @@ -38,7 +38,6 @@ else if( isset($_SESSION["name"]) ) $email = DB_get_email_by_name($name); $password = DB_get_passwd_by_name($name); - /* verify password and email */ if(strlen($password)!=32) $password = md5($password); @@ -50,6 +49,8 @@ else if( isset($_SESSION["name"]) ) if($ok) { + output_status(); + DB_get_PREF($myid); DB_update_user_timestamp($myid); @@ -227,7 +228,7 @@ else if( isset($_SESSION["name"]) ) { /* send them back to the login page */ echo "
You need to log in!
\n". - "(This will take you back to the login-page)
"; + "(This will take you back to the login-page)"; } output_footer();