| Server IP : 65.109.86.83 / Your IP : 37.27.51.148 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/thrive-leads/admin/views/template/pagination/ |
Upload File : |
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<div class="tve-total-new-leads">
<?php echo __('Showing', 'thrive-leads') ?>
<strong><#= (currentPage-1)*itemsPerPage #></strong>
<?php echo __('to', 'thrive-leads') ?>
<strong><#= currentPage * itemsPerPage > total_items ? total_items : currentPage * itemsPerPage #></strong>
<?php echo __('from a total of', 'thrive-leads') ?>
<strong><#= total_items #></strong>
<?php echo __('records', 'thrive-leads') ?>
</div>
</div>
<div class="tvd-col tvd-s6">
<ul class="tvd-pagination tvd-right" id="pages">
<# if( pageCount > 1) { #>
<li class="tvd-waves-effect"><a <# if(currentPage > 1) { #> href="#" class="page" value="1" <# } #>>« <?php echo __('First Page', 'thrive-leads'); ?></a></li>
<li class="tvd-waves-effect"><a <# if(currentPage > 1) { #> href="#" class="page" value="<#= currentPage - 1 #>" <# } #>>‹</a></li>
<# for(var i = currentPage - pagesToDisplay; i<= (currentPage + pagesToDisplay) && i<=pageCount; i++) { #>
<# if(i>0) { #>
<# if (i == currentPage) { #>
<li class="tvd-active"><b><#= i #></b></li>
<# } else { #>
<li class="tvd-waves-effect"><a href="#" class="page" value="<#= i #>"><#=i#></a></li>
<# } #>
<# } #>
<# } #>
<li class="tvd-waves-effect"><a <# if(currentPage < pageCount) { #> href="#" class="page" value="<#= (currentPage + 1) #>" <# } #>>›</a></li>
<li class="tvd-waves-effect"><a <# if(currentPage < pageCount) { #> href="#" class="page" value="<#= pageCount #>" <# } #>><?php echo __('Last Page', 'thrive-leads'); ?> »</a></li>
<# } #>
</ul>
</div>
</div>