/** * If a problem occurs, returns empty string * otherwise the html of the section * @param $id ID of the membership (not member) * @returns the html of section; if error empty string */ function peopleGetProfileX($id) { _filter_var($id); global $group_name; global $access_isAuthenticated; $c_content = ''; $p = new PeoplePage($group_name); $c = $p->getProfileX($id); //$c_content .= "<input type=\"hidden\" id=\"lovestuff_stripped_content\" value=\"$c\">\n"; //$c_content .= "<splitme>\n"; //parse_bbcode($c); $c_content .= $c; //$c_content .= "<br />\n"; return $c_content; }