Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: user7292c
Added: Oct 9, 2019 6:43 PM
Views: 7
Tags: no tags
  1. $config['base_url'] = $this->config->base_url('search/' . $text_search); //-----------
  2.         $config['total_rows'] = $total_rows;
  3.         $config['per_page'] = 3;
  4.         $config['reuse_query_string'] = TRUE;
  5.         $config['full_tag_open'] = '<ul class="pagination">';
  6.         $config['full_tag_close'] = '</ul>';
  7.         $config['num_tag_open'] = '<li class="page-item">';
  8.         $config['num_tag_close'] = '</li>';
  9.         $config['cur_tag_open'] = '<li class="page-item active"><a class="page-link hoverable" href="#">';
  10.         $config['cur_tag_close'] = '</a></li>';
  11.         $config['next_tag_open'] = '<li class="page-item"><a href="#" aria-label="Next">';
  12.         $config['next_tagl_close'] = '</a></li>';
  13.         //$config['prev_link'] = 'Prev Page';
  14.         $config['prev_tag_open'] = '<li class="page-item">';
  15.         $config['prev_tagl_close'] = '</li>';
  16.         $config['first_link'] = 'البداية';
  17.         $config['first_tag_open'] = '<li class="page-item">';
  18.         $config['first_tagl_close'] = '</li>';
  19.         $config['last_link'] = 'الأخير';
  20.         $config['last_tag_open'] = '<li class="page-item"><a href="#" aria-label="Next">';
  21.         $config['last_tagl_close'] = '</a></li>';
  22.         $config['attributes'] = array('class' => 'page-link mr-1 btn-light hoverable');