Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /var/www/theprintave/wp-content/themes/pricom/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/theprintave/wp-content/themes/pricom/templates/newsletter-popup.php
<?php
/**
 * @package    HaruTheme
 * @version    1.0.0
 * @author     Administrator <admin@harutheme.com>
 * @copyright  Copyright 2022, HaruTheme
*/
$popup_width      = haru_get_option( 'haru_popup_width', 700 );
$popup_height     = haru_get_option( 'haru_popup_height', 350 );
$popup_effect     = haru_get_option( 'haru_popup_effect', 'mfp-zoom-in' );
$popup_delay      = haru_get_option( 'haru_popup_delay', '2000' );
$popup_background = haru_get_option( 'haru_popup_background', '' );
$popup_content    = haru_get_option( 'haru_popup_content', '' );

if ( $popup_background ) {
    $popup_background = ( isset($popup_background) ) ? $popup_background['url'] : '';
}

?>
<?php if ( haru_get_option('haru_show_popup') != false ) : ?>
    <!-- Display newsletter popup -->
    <div class="haru_popup_link hide"><a class="haru-popup open-click" href="#haru-popup" data-effect="<?php echo esc_attr( $popup_effect ); ?>" data-delay="<?php echo esc_attr( $popup_delay ); ?>"><?php echo esc_html__( 'Newsletter', 'pricom' ); ?></a></div>
    <div id="haru-popup" data-effect="mfp-zoom-in" style="width: <?php echo esc_attr( $popup_width ) . 'px'; ?>; height: <?php echo esc_attr( $popup_height ) . 'px'; ?>;" 
    class="white-popup-block mfp-hide mfp-with-anim">
        <div class="popup-left" style="background: url('<?php echo esc_url( $popup_background ); ?>');">

        </div>
        <div class="popup-right">
            <div class="popup-right-content">
                <?php echo ( isset( $popup_content ) ) ? do_shortcode( $popup_content ) : ''; ?>
                <p class="checkbox-label">
                    <input type="checkbox" value="do-not-show" name="showagain" id="showagain" class="showagain" />
                    <label for="showagain"><?php echo esc_html__( "Don't show this popup again", 'pricom' ); ?></label>
                </p>
            </div>
        </div>
    </div>
<?php endif; ?>

Spamworldpro Mini