Exemple #1
0
         $avatar = "<a href=\"{$service_host}people/person/{$member_name}\">{$a}</a>";
         $wallnum = $u->getWallPostsNum($m['member_id']);
         if ($i % 2 == 0) {
             $borderright = "border-right:1px #ccc dotted;";
         }
         if (floor($i / 2) == $maxsm) {
             $borderbottom = "";
         }
         $html .= "\r\n\t\t\t\t\t\t\t<div style=\"width:48%;float:left;height:100px;{$borderbottom}{$borderright}{$bg}\"\r\n\t\t\t\t\t\t\t><div style=\"margin:10px;\"\r\n\t\t\t\t\t\t\t><table cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\" style=\"background:transparent;\"\r\n\t\t\t\t\t\t\t><tr><td width=\"100\">{$avatar}</td><td valign=\"top\"\r\n\t\t\t\t\t\t\t><strong><a href=\"{$service_host}/people/person/{$member_name}\">{$uuname}</a></strong><br\r\n\t\t\t\t\t\t\t /><small>has {$wallnum[0]} wall messages, {$wallnum[1]} new";
         $html .= "<br />posted ~ ";
         $html = substr($html, 0, -2);
     }
     $pg->addBlock($pg->Column, '', $peoplepage->getSearchBox($searched), "", false, true);
     $pg->addBlock($pg->Column, '', $html, '');
     if (empty($searched)) {
         $pg->addBlock($pg->Column, '', $peoplepage->pages($page), '');
     }
 } 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);