} else { include 'includes/Page.People.class.php'; $peoplepage = new PeoplePage(); $people_allow_tags = $modules_people_allowTags; $people_allow_favorites = $modules_people_allowFavorites; /** * comes from Access.php * but there is a very similar function named getMembershipID * also, in GeneralFunctions.php */ if (!$access_isGroupMember) { $pg->addBlock($pg->Column, '', $treng->_("You could have your profile here if you were a member. <a href=\"%TRENGVAR_1%join\">Click</a> to join this group!", "pagepeople", array($service_host)), "", false, true); } else { if (!isset($_GET['obj1']) || $_GET['obj1'] == "search" || $_GET['obj1'] == "page") { } elseif ($_GET['obj1'] == $_SESSION['valid_user'] || $_GET['obj1'] == "person" && $_GET['obj2'] == $_SESSION['valid_user']) { $pg->addBlock($pg->Column, '', $peoplepage->getOperationsBlock(), '', false, true); } else { if (isset($_GET['obj1']) && $_GET['obj1'] == "person" && isset($_GET['obj2'])) { $pg->addBlock($pg->Column, '', $peoplepage->getNotMeOperationsBlock($_GET['obj2']), '', false, true); } else { $pg->addBlock($pg->Column, '', $peoplepage->getNotMeOperationsBlock($_GET['obj1']), '', false, true); } } } if (!isset($_GET['obj1']) || ($_GET['obj1'] == "page" || $_GET['obj1'] == "search")) { $searched = ""; $page_starts = 0; $page_ends = 20; $page = 1; if (isset($_GET['obj1']) && $_GET['obj1'] == "page" && isset($_GET['obj2']) && $_GET['obj2'] >= 2) { $page = $_GET['obj2'];