exit; } if (isset($_GET["domains-show-list"])) { domains_show_list(); exit; } if (isset($_GET["domain-info"])) { domain_info(); exit; } if (isset($_GET["groups"])) { groups(); exit; } if (isset($_GET["groups-show-list"])) { groups_list(); exit; } if (isset($_GET["members-js"])) { members_js(); exit; } if (isset($_GET["members-table"])) { members_table(); exit; } if (isset($_GET["members-show-list"])) { members_list(); exit; } tabs();
/* $content .= rounded_corners_top(array('color' => 'blue'), true); $content .= '<h2>Hamsterpajs aktivaste grupper</h2>' . "\n"; $groups = groups_fetch(array('limit' => 6)); $content .= groups_list($groups); $content .= rounded_corners_bottom(array('color' => 'blue'), true); $content .= rounded_corners_top(array('color' => 'blue'), true); $content .= '<h2>Hamsterpajs största grupper</h2>' . "\n"; $groups = groups_fetch(array('limit' => 6, 'order-by' => 'member_count', 'order-direction' => 'DESC')); $content .= groups_list($groups); $content .= rounded_corners_bottom(array('color' => 'blue'), true); */ $content .= rounded_corners_top(array('color' => 'blue'), true); $content .= '<h2>Mina grupper</h2>' . "\n"; $groups = groups_fetch(array('founder' => $_SESSION['login']['id'], 'order-by' => 'id', 'order-direction' => 'DESC')); $content .= groups_list($groups); $content .= rounded_corners_bottom(array('color' => 'blue'), true); $content .= rounded_corners_top(array('color' => 'blue'), true); $content .= '<h2>Hamsterpajs senaste skapade grupper</h2>' . "\n"; $groups = groups_fetch(array('limit' => 6, 'order-by' => 'id', 'order-direction' => 'DESC')); $content .= groups_list($groups); $content .= rounded_corners_bottom(array('color' => 'blue'), true); $content .= '<a href="skapa_grupp">Skapa ny grupp</a>' . "\n"; break; } $content .= '<a href="/grupper/">Tillbaka</a>'; ui_top($ui_options); echo $content; preint_r($request); ui_bottom();