SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > essential-blocks > views > common >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks/views/common/

NameTypeSizeLast ModifiedActions
no-content.php File 61 bytes September 18 2023 09:32:10.
pagination.php File 1636 bytes September 18 2023 09:32:10.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks/views/common//pagination.php

<?php

$html = '';

if ( isset( $totalPosts ) && (int) $totalPosts > (int) $per_page ) {
    if ( isset( $enableMorePosts ) && $enableMorePosts ) {
        $html .= sprintf(
            '<div class="%1$s ebpg-pagination %2$s">',
            isset( $parent_class ) ? $parent_class : '',
            $loadMoreType === '3' ? "prev-next-btn" : ""
        );

        if ( $loadMoreType === '1' ) {
            $html .= sprintf(
                '<button class="btn ebpg-pagination-button" data-pagenumber="1">%1$s</button>',
                esc_html( $loadMoreButtonTxt )
            );
        }

        $prevTxt = isset( $prevTxt ) ? $prevTxt : "<";
        $nextTxt = isset( $nextTxt ) ? $nextTxt : ">";

        if ( isset( $totalPosts ) && ( $loadMoreType === '2' || $loadMoreType === '3' ) ) {
            $totalPages = ceil( (int) $totalPosts / (int) $per_page );
            $html .= sprintf(
                '<button class="ebpg-pagination-item-previous">%1$s</button>',
                esc_html( $prevTxt )
            );
            for ( $i = 1; $i <= $totalPages; $i++ ) {
                $active = $i == 1 ? "active" : "";

                $html .= sprintf(
                    '<button class="ebpg-pagination-item %2$s" data-pagenumber="%1$s">
                        %1$s
                    </button>',
                    $i,
                    $active
                );
            }
            $html .= sprintf(
                '<button class="ebpg-pagination-item-next">%1$s</button>',
                esc_html( $nextTxt )
            );
        }

        $html .= '</div>';
    }
}

echo wp_kses( $html, 'post' );

SILENT KILLER Tool