function showSections() { // $top = new TopPostersSection($this); // $top->show(); $pop = new PopularNoticeSection($this); $pop->show(); $gbp = new GroupsByMembersSection($this); $gbp->show(); $feat = new FeaturedUsersSection($this); $feat->show(); }
function showSections() { $gbp = new GroupsByPostsSection($this); $gbp->show(); $gbm = new GroupsByMembersSection($this); $gbm->show(); }
function onStartShowSections(&$act) { global $action; $this->clear_xmlWriter($act); switch ($action) { case "showstream": $act->showSubscriptions(); $this->blocks['subscriptions'] = $act->xw->flush(); $act->showSubscribers(); $this->blocks['subscribers'] = $act->xw->flush(); $act->showGroups(); $this->blocks['groups'] = $act->xw->flush(); $act->showStatistics(); $this->blocks['statistics'] = $act->xw->flush(); $cloud = new PersonalTagCloudSection($act, $act->user); $cloud->show(); $this->blocks['cloud'] = $act->xw->flush(); break; case "showgroup": $act->showMembers(); $this->blocks['groupmembers'] = $act->xw->flush(); $act->showStatistics(); $this->blocks['groupstatistics'] = $act->xw->flush(); $cloud = new GroupTagCloudSection($act, $act->group); $cloud->show(); $this->blocks['groupcloud'] = $act->xw->flush(); break; case "public": $pop = new PopularNoticeSection($act); $pop->show(); $this->blocks['popular'] = $act->xw->flush(); $gbp = new GroupsByPostsSection($act); $gbp->show(); $this->blocks['groupsbyposts'] = $act->xw->flush(); $feat = new FeaturedUsersSection($act); $feat->show(); $this->blocks['featuredusers'] = $act->xw->flush(); break; case "groups": $gbp = new GroupsByPostsSection($act); $gbp->show(); $this->blocks['groupsbyposts'] = $act->xw->flush(); $gbm = new GroupsByMembersSection($act); $gbm->show(); $this->blocks['groupsbymembers'] = $act->xw->flush(); break; } return false; }