diff options
Diffstat (limited to 'stats.php')
-rw-r--r-- | stats.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,7 +28,8 @@ if(myisset("logout")) session_unset(); session_destroy(); $_SESSION = array(); - echo "you are now logged out!"; + echo "<div class=\"message\"><span class=\"bigger\">You are now logged out!</span><br />\n". + "(<a href=\"$host\">This will take you back to the home-page</a>)</div>"; } /* user status page */ else if( isset($_SESSION["name"]) ) @@ -233,7 +234,8 @@ else if( isset($_SESSION["name"]) ) else { /* send them back to the login page */ - echo "<p>Please log in</p>"; + echo "<div class=\"message\"><span class=\"bigger\">You need to log in!</span><br />\n". + "(<a href=\"$host\">This will take you back to the login-page</a>)</div>"; } output_footer(); |