diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-04-19 06:21:36 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-04-19 06:21:36 +0000 |
| commit | 3d234d391c4a454d3b964803566d31583b2591e4 (patch) | |
| tree | f3a20f03a7607d9d0de479a765b507896df92ca4 | |
| parent | 91b23e00e7fc6ecfe8373aaab3b68ff199c76d16 (diff) | |
| download | forums-3d234d391c4a454d3b964803566d31583b2591e4.tar forums-3d234d391c4a454d3b964803566d31583b2591e4.tar.gz forums-3d234d391c4a454d3b964803566d31583b2591e4.tar.bz2 forums-3d234d391c4a454d3b964803566d31583b2591e4.tar.xz forums-3d234d391c4a454d3b964803566d31583b2591e4.zip | |
Some more fine turning on the profile section
git-svn-id: file:///svn/phpbb/trunk@180 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/profile.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 6fdaf3f8bb..c666118835 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -55,7 +55,7 @@ switch($mode) // Calculate the number of days this user has been a member ($memberdays) // Then calculate their posts per day - $regdate = strtotime($profiledata['user_regdate']); + $regdate = $profiledata['user_regdate']; $memberdays = (time() - $regdate) / (24*60*60); $posts_per_day = $profiledata['user_posts'] / $memberdays; @@ -85,7 +85,7 @@ switch($mode) "L_USERNAME" => $l_username, "L_VIEWPOSTUSER" => $l_viewpostuser, "L_JOINED" => $l_joined, - "JOINED" => $profiledata['user_regdate'], + "JOINED" => create_date($date_format, $profiledata['user_regdate'], $sys_timezone), "POSTS_PER_DAY" => $posts_per_day, "L_PERDAY" => $l_perday, "POSTS" => $profiledata['user_posts'], @@ -206,7 +206,7 @@ switch($mode) VALUES ( $new_user_id, '".addslashes($username)."', - '".time()."', + '".gmmktime(gmdate("H, i, s, m, d, Y", time()))."', '$md_pass', '$email', '$icq', |
