summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/stats.php b/stats.php
index 21b67ed..5bbca26 100644
--- a/stats.php
+++ b/stats.php
@@ -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();