Contact was denied...'; include('./includes/footer.php'); exit(); } else if($_GET[user]) { $contact_info = info_from_username($_GET[user]); if($contact_info[user_id] == NULL) { echo '
No such user!!
'; include('./includes/footer.php'); exit(); } else $list = getcontacts($contact_info[user_id]); } else { $newrequest = newcontactrequests($user_data[user_id]); if ($newrequest[0] > 0){echo 'You have new Contact requests waiting to be confirmed

';} $list = getcontacts($user_data[user_id]); } foreach($list as $key => $value) { $contactinfo = info_from_userid($value); $users_data[] = $contactinfo; } $rsort = true; if($_GET[user]) { echo ''.$contact_info[user_name].'\'s contacts.
'; } else if($_GET[confirm] == NULL) { echo ''.$user_data[user_name].'\'s contacts.
'; } echo '
'; if ($users_data == NULL && $confirmlist == true){echo '

No Contacts to be confirmed...
Go to contacts list
';} else if ($users_data == NULL && $_GET[user]){echo '

'.$contact_info[user_name].' has no contacts in their list...
';} else if ($users_data == NULL){echo '

You have no contacts in your list...
';} else { $users_data = trim_array($users_data, 'Contacts'); list_users($users_data); } } include ('./includes/footer.php'); ?>