Exemple #1
0
 } else {
     $people_allow_sexe = $group->moduleOptions_getPeopleAllowSexe();
     $people_allow_birthday = $group->moduleOptions_getPeopleAllowBirthday();
     $people_allow_zodiac = $group->moduleOptions_getPeopleAllowZodiac();
     $people_allow_website = $group->moduleOptions_getPeopleAllowWebsite();
     $people_allow_nation = $group->moduleOptions_getPeopleAllowNation();
     $person = "";
     if ($_GET['obj1'] == "person") {
         $person = $_GET['obj2'];
     } else {
         $person = $_GET['obj1'];
     }
     $zz = array();
     $pg->setLayout($pg->EqualColumns);
     // from GeneralFunctions.php
     $zz = $peoplepage->getDefaultMembershipID($person);
     $membershipid = $zz['id'];
     $member_username = $zz['username'];
     $pg->addBlock($pg->RightColumn, $treng->_('Wall', "modulepeople"), $peoplepage->getWall(_getMemberID($member_username)), "");
     $pg->addBlock($pg->LeftColumn, $treng->_('Profile', "modulepeople"), peopleGetProfileX($membershipid), $treng->_('An overview of this person', "modulepeople"));
     //if((isset($_SESSION['valid_user'])&&$member_username==$_SESSION['valid_user'])||$peoplepage->canShowTags($member_username))
     if ($people_allow_tags) {
         $pg->addBlock($pg->LeftColumn, $treng->_('My Tags', "modulepeople"), substr(peopleGetTags($membershipid, $member_username), 2), $treng->_('These are the tags describing this person. Bigger a tags is, more it defines this person.', "modulepeople"));
     }
     // will be used as Love Stuff
     //else
     //  $pg->addBlock($pg->MainColumn, $treng->_('My Tags',"modulepeople"), substr(peopleGetTags($membershipid,$member_username),2), $treng->_('These are the tags describing this person. Bigger a tags is, more it defines this person.',"modulepeople"), true);  // to store input stuff
     //if((isset($_SESSION['valid_user'])&&$member_username==$_SESSION['valid_user'])||$peoplepage->canShowFavourites($member_username))
     if ($people_allow_favorites) {
         $pg->addBlock($pg->LeftColumn, $treng->_('Favourites', "modulepeople"), $peoplepage->getFavourites($member_username), $treng->_('Favourites of this person. Shown by a book/CD cover for aesthetic purposes. Point your mouse over it to see more information in a popup box.', "modulepeople"), false);
     }