403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/public_html/wp-content/themes/onepress/section-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/public_html/wp-content/themes/onepress/section-parts/section-gallery.php
<?php
$id       = get_theme_mod( 'onepress_gallery_id', 'gallery' );
$disable  = get_theme_mod( 'onepress_gallery_disable', 1 ) ==  1 ? true : false;
$title    = get_theme_mod( 'onepress_gallery_title', esc_html__('Gallery', 'onepress' ));
$subtitle = get_theme_mod( 'onepress_gallery_subtitle', esc_html__('Section subtitle', 'onepress' ));
$desc     = get_theme_mod( 'onepress_gallery_desc' );

if ( onepress_is_selective_refresh() ) {
    $disable = false;
}
$layout = get_theme_mod( 'onepress_gallery_layout', 'default' );
?>
<?php if ( ! $disable ) { ?>
    <?php if ( ! onepress_is_selective_refresh() ){ ?>
        <section id="<?php echo esc_attr( $id ); ?>" <?php do_action('onepress_section_atts', 'gallery'); ?>
        class="<?php echo esc_attr(apply_filters('onepress_section_class', 'section-gallery '.( ( $title || $subtitle || $desc ) ? 'section-padding' : '' ).' section-meta onepage-section', 'gallery' )); ?>">
    <?php } ?>
    <?php do_action('onepress_section_before_inner', 'gallery'); ?>

    <div class="g-layout-<?php echo esc_attr( $layout ); ?> <?php echo esc_attr( apply_filters( 'onepress_section_container_class', 'container', 'gallery' ) ); ?>">
        <?php if ( $title || $subtitle || $desc ){ ?>
            <div class="section-title-area">
                <?php if ($subtitle != '') echo '<h5 class="section-subtitle">' . esc_html($subtitle) . '</h5>'; ?>
                <?php if ($title != '') echo '<h2 class="section-title">' . esc_html($title) . '</h2>'; ?>
                <?php if ( $desc ) {
                    echo '<div class="section-desc">' . wp_kses_post( apply_filters( 'onepress_the_content', $desc ) ) . '</div>';
                } ?>
            </div>
        <?php } ?>
        <div class="gallery-content">
            <?php
            onepress_gallery_generate();
            ?>
        </div>
        <?php
        $readmore_link = get_theme_mod( 'onepress_g_readmore_link' );
        $readmore_text = get_theme_mod( 'onepress_g_readmore_text', esc_html__('View More', 'onepress') );
        if ( $readmore_link ) {
        ?>
        <div class="all-gallery">
            <a class="btn btn-theme-primary-outline" href="<?php echo esc_attr( $readmore_link ); ?>"><?php echo esc_html( $readmore_text ); ?></a>
        </div>
        <?php } ?>

    </div>
    <?php do_action('onepress_section_after_inner', 'gallery'); ?>
    <?php if ( ! onepress_is_selective_refresh() ){ ?>
        </section>
    <?php } ?>
<?php }


Youez - 2016 - github.com/yon3zu
LinuXploit