12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- $cidReset = true;
- require_once 'main/inc/global.inc.php';
- $array_keys = array_keys($_GET);
- if (empty($array_keys)) {
-
- header('Location: whoisonline.php');
- exit;
- }
- $username = substr($array_keys[0], 0, 20);
- $friend_id = UserManager::get_user_id_from_username($username);
- if (!$friend_id) {
-
- header('Location: whoisonline.php');
- exit;
- }
- Display::display_header(get_lang('UserInfo'));
- echo SocialManager::display_individual_user($friend_id);
- Display::display_footer();
|