Some more fine turning on the profile section

git-svn-id: file:///svn/phpbb/trunk@180 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-04-19 06:21:36 +00:00
parent 91b23e00e7
commit 3d234d391c

View file

@ -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',