$users = eF_multiSort($users, $sort, $order); if (isset($_GET['filter'])) { $users = eF_filterData($users, $_GET['filter']); } $smarty -> assign("T_USERS_SIZE", sizeof($users)); if (isset($_GET['limit']) && eF_checkParameter($_GET['limit'], 'int')) { isset($_GET['offset']) && eF_checkParameter($_GET['offset'], 'int') ? $offset = $_GET['offset'] : $offset = 0; $users = array_slice($users, $offset, $limit, true); } $smarty -> assign("T_USERS", $users); $smarty -> display('administrator.tpl'); exit; */ $constraints = array('archive' => false) + createConstraintsFromSortedTable(); $dataSource = EfrontUser::getUsers($constraints); $totalEntries = EfrontUser::countUsers($constraints); $tableName = $_GET['ajax']; $alreadySorted = 1; $smarty->assign("T_TABLE_SIZE", $totalEntries); include "sorted_table.php"; } } else { #cpp#else $_GET['op'] = "employees"; include "module_hcd.php"; } #cpp#endif }