protected function getPageList() { $this->searchActions(); $this->actions(); // strony $this->controller_name = 'uzytkownicy'; $this->using_pages = true; // $this->items_on_page = 20; $this->count_items = ClassUser::sqlGetCountItems($this->search_controller); // print_r($this->count_items); $this->current_page = ClassTools::getValue('number_page') ? ClassTools::getValue('number_page') : '1'; // tytul strony $this->tpl_title = 'Użytkownicy: Lista'; // tylul na pasku $this->top_title = 'Lista użytkowników'; // skrypty $this->load_select2 = true; $this->load_js_functions = true; // pobieranie wszystkich uzytkownikow $this->tpl_values['users'] = ClassUser::getAllItemsList($this->using_pages, $this->current_page, $this->items_on_page, $this->search_controller); // ladowanie strony z lista uzytkownikow return $this->loadTemplate('/user/list'); }