1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 03:32:04 +02:00

This commit was manufactured by cvs2svn to create tag

'merge_point_20020420'.

git-svn-id: file:///svn/phpbb/tags/merge_point_20020420@2531 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
(no author)
2002-04-19 22:39:07 +00:00
parent a676b8fdf8
commit 5231db0306
89 changed files with 5243 additions and 3361 deletions

View File

@@ -27,12 +27,6 @@ if ( !defined('IN_PHPBB') )
exit;
}
if ( !$userdata['session_logged_in'] )
{
header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
exit;
}
if ( !empty($HTTP_GET_VARS[POST_USERS_URL]) || !empty($HTTP_POST_VARS[POST_USERS_URL]) )
{
$user_id = ( !empty($HTTP_GET_VARS[POST_USERS_URL]) ) ? $HTTP_GET_VARS[POST_USERS_URL] : $HTTP_POST_VARS[POST_USERS_URL];
@@ -42,6 +36,12 @@ else
message_die(GENERAL_MESSAGE, $lang['No_user_specified']);
}
if ( !$userdata['session_logged_in'] )
{
header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
exit;
}
$sql = "SELECT username, user_email, user_viewemail, user_lang
FROM " . USERS_TABLE . "
WHERE user_id = $user_id";