getFriendCloud($username,$connection); $incomingRequests = $friends->incomingRequests($username,$connection); $outgoingRequests = $friends->outgoingRequests($username,$connection); $flag = false; $recentlyPostedEvents = $events->getRecentlyPostedEventsOfUser($username,$connection,$flag,null); $sql = "select username, firstname, lastname, email, telephone, imagethumburl, summary, timezone, street1, street2, city, state, zip, country from PERSON as p, ADDRESS as a where p.ADDRESS_addressid=a.addressid and username='$username'"; $result = $connection->query($sql); $row = $result->getArray(); $username = $row['username']; $firstname = $row['firstname']; $lastname = $row['lastname']; $email = $row['email']; $telephone = $row['telephone']; $image = $row['imagethumburl']; $summary = $row['summary']; $timezone = $row['timezone']; $street1 = $row['street1']; $street2 = $row['street2']; $city = $row['city']; $state = $row['state']; $zip = $row['zip']; $country = $row['country']; unset($result); ob_start(); require("../views/users.php"); $fillContent = ob_get_clean(); require_once("../views/site.php"); ?>