12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- $language_file = array('index','registration','messages','userInfo');
- $cidReset = true;
- require_once 'main/inc/global.inc.php';
- api_block_anonymous_users();
- $array_keys = array_keys($_GET);
- if (!empty($array_keys)) {
- $username = substr($array_keys[0],0,20);
- $friend_id = UserManager::get_user_id_from_username($username);
- if ($friend_id) {
- SocialManager::display_individual_user($friend_id);
- } else {
-
- header('Location: whoisonline.php');
- exit;
- }
- } else {
-
- header('Location: whoisonline.php');
- exit;
- }
|