"admin", "enable_nextmatchs_class" => True); include("../header.inc.php"); if (! $start) $start = 0; if ($order) $ordermethod = "order by $order $sort"; else $ordermethod = "order by group_name asc"; if (! $sort) $sort = "asc"; if ($query) { $querymethod = " where group_name like '%$query%'"; } $phpgw->db->query("select count(*) from groups $querymethod"); $phpgw->db->next_record(); $total = $phpgw->db->f(0); $limit = $phpgw->nextmatchs->sql_limit($start); echo '
' . $phpgw->nextmatchs->left("groups.php",$start,$total) . ' | ' . '' . lang("user groups") . ' | ' . '' . $phpgw->nextmatchs->right("groups.php",$start,$total) . ' | ' . '
" . $phpgw->nextmatchs->show_sort_order($sort,"group_name",$order,"groups.php", lang("name")) . " | " . "" . lang("Edit") . " | " . lang("Delete") . " |
$group_name | " . "link("editgroup.php","group_id=" . $phpgw->db->f("group_id")) . "\"> " . lang("Edit") . " | " . "link("deletegroup.php","group_id=" . $phpgw->db->f("group_id")) . "\"> " . lang("Delete") . " | "; } echo "\n
" . " | " . lang("search") . " " . " |