HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/hanode/public_html/wp-content/plugins/ml-slider/admin/views/pages/dashboard.php
<?php
if (!defined('ABSPATH')) {
    die('No direct access.');
}
?>
<div id="slideshows-list">
    <div class="wrap">
        <h1 class="wp-heading-inline"><?php echo esc_html_e('Slideshows', 'ml-slider'); ?></h1> <a href="<?php echo esc_url(wp_nonce_url(admin_url('admin-post.php?action=metaslider_create_slider'), 'metaslider_create_slider'));?>" class="page-title-action"><?php echo esc_html_e('Add New', 'ml-slider'); ?></a>
        <?php
            if (isset($_REQUEST['slideshows'])) {
                if(is_array($_REQUEST['slideshows'])) {
                    $count = count($_REQUEST['slideshows']);
                } else {
                    $count = 1;
                }

                // @todo - These notifications should require nonce, except delete-notify action
                if ('delete' === $listtable->current_action() || 'delete-notify' === $listtable->current_action()) {
                    // Translators: %d is the number of slideshows moved to the Trash.
                    echo '<div class="updated below-h2" id="message"><p>' . esc_html( sprintf( _n( '%d slideshow moved to the Trash.', '%d slideshows moved to the Trash.', $count, 'ml-slider' ), $count ) ) . '</p></div>';
                }
                if ('restore' === $listtable->current_action()) {
                    // Translators: %d is the number of slideshows restored from the Trash.
                     echo '<div class="updated below-h2" id="message"><p>' . esc_html( sprintf( _n( '%d slideshow restored from the Trash.', '%d slideshows restored from the Trash.', $count, 'ml-slider' ), $count ) ) . '</p></div>';
                }
                if ('permanent' === $listtable->current_action()) {
                    // Translators: %d is the number of slideshows permanently deleted.
                    echo '<div class="updated below-h2" id="message"><p>' . esc_html( sprintf( _n( '%d slideshow permanently deleted.', '%d slideshows permanently deleted.', $count, 'ml-slider' ), $count ) ). '</p></div>';
                }
            }

            if (isset($_REQUEST['delete_all'])) {
                echo '<div class="updated below-h2" id="message"><p>' . esc_html__('Slideshows permanently deleted.', 'ml-slider') .'</p></div>';
            }
        ?>
        <hr class="wp-header-end">
        <h2 class="screen-reader-text">Filter posts list</h2>
        <?php $listtable->views(); ?>
        <form id="metaslider-list-form" method="POST">
            <?php
                $listtable->search_box(esc_html__('Search', 'ml-slider'), 'search_slideshow');
                if(isset($_REQUEST['page'])) {
            ?>
                    <input type="hidden" name="page" value="<?php echo esc_attr($_REQUEST['page']); ?>" />
            <?php
                }
                wp_nonce_field('metaslider_search_slideshows', 'search_wpnonce');
                $listtable->display();
            ?> 
        </form>
    </div>
</div>