1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- $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;
- }
|