From b5f096688faaebf7846b3e725e1bd2dd9251b203 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Wed, 18 Jul 2007 22:26:29 -0700 Subject: NEW FEATURE: use php session used php session, so that people can actually log in and out and linking from one page to another can be done easily without using form to send the password as a hidden parameter over the net all the time --- output.php | 49 +++++++++++++++++++++---------------------------- 1 file changed, 21 insertions(+), 28 deletions(-) (limited to 'output.php') diff --git a/output.php b/output.php index 262ecd3..9919a97 100644 --- a/output.php +++ b/output.php @@ -14,14 +14,8 @@ function display_links($email,$password) function output_link_to_user_page($email,$password) { - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - + echo " go to my user page "; + return; } @@ -31,25 +25,15 @@ function output_user_settings($email,$password) echo "
\n"; echo "

Settings

\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; + echo "change password
use german cards
"; + else + echo "use english cards
"; + echo "
\n"; + return; } @@ -374,8 +358,6 @@ function output_header() return; } - - function output_footer() { global $REV,$PREF; @@ -400,6 +382,17 @@ function output_footer() return; } +function output_status($name) +{ + echo "
\n"; + echo $name; + echo " logout\n"; + echo "
"; + + return; +} + + function output_password_recovery($email,$password) { ?> -- cgit v1.2.3-18-g5258