HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/backwpup/components/containers/sidebar.php
<?php
use BackWPup\Utils\BackWPupHelpers;
/**
 * Sidebar container
 * @var string $is_in_form Set to true if the sidebar is in a form. Default: false.
 */
#Default values
$is_in_form = $is_in_form ?? false;

$base_path = untrailingslashit( BackWPup::get_plugin_data( 'plugindir' ) );

$files = glob( $base_path . '/parts/sidebar/*' );
if ( BackWPup::is_pro() ) {
    $files_pro = glob( $base_path . '/pro/parts/sidebar/*' );

    $files = array_merge( $files, $files_pro );
}
?>
<aside id="backwpup-sidebar" class="fixed z-[100000] top-0 right-0 bottom-0 w-[410px] p-6 flex flex-col gap-4 rounded-l-lg bg-white shadow-xl translate-x-[450px] transition-transform duration-500 ease-out backwpup-typography">
    <?php
    # Get all files in the parts/sidebar directory
    foreach ( $files as $file ) {
        if ( ! is_file( $file ) ) {
            continue;
        }
        $filename = pathinfo( $file, PATHINFO_FILENAME ); ?>

        <article class="flex flex-col flex-auto gap-4" id="sidebar-<?php echo esc_attr( $filename) ?>">
        <?php  include $file; ?>
        </article>
    <?php } ?>
</aside>