HEX
Server: Apache
System: Linux sys.digiflyeg.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: opal (1023)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/opal/public_html/wp-content/plugins/master-addons/inc/admin/welcome/addons-marketing.php
<?php

namespace MasterAddons\Admin\Dashboard\Addons;

use MasterAddons\Master_Elementor_Addons;
use MasterAddons\Admin\Dashboard\Addons\Elements\JLTMA_Addon_Marketing;
use MasterAddons\Inc\Helper\Master_Addons_Helper;
// include_once JLTMA_PATH . '/inc/admin/jltma-elements/ma-marketing.php';
?>

<div class="jltma-master-addons-features-list">

    <h3><?php 
echo esc_html__( 'Marketing', 'master-addons' );
?></h3>

    <div class="jltma-master-addons-features-container is-flex">
        <?php 
foreach ( JLTMA_Addon_Marketing::$jltma_marketing['jltma-marketing']['elements'] as $key => $widget ) {
    ?>

            <div class="jltma-master-addons-dashboard-checkbox">
                <div class="jltma-master-addons-dashboard-checkbox-content">

                    <div class="jltma-master-addons-features-ribbon">
                        <?php 
    if ( !ma_el_fs()->can_use_premium_code__premium_only() && isset( $widget['is_pro'] ) && $widget['is_pro'] ) {
        echo '<span class="jltma-pro-ribbon">Pro</span>';
    }
    ?>
                    </div>

                    <div class="jltma-master-addons-content-inner">
                        <div class="jltma-master-addons-features-title">
                            <?php 
    echo esc_html__( $widget['title'] );
    ?>
                        </div> <!-- master-addons-el-title-content -->

                        <div class="jltma-addons-tooltip inline-block">
                            <?php 
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Demo', $widget['demo_url'], 'eicon-device-desktop' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Documentation', $widget['docs_url'], 'eicon-info-circle-o' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Video Tutorial', $widget['tuts_url'], 'eicon-video-camera' );
    ?>
                        </div>
                    </div> <!-- .master-addons-el-title -->

                    <div class="jltma-master-addons_feature-switchbox">
                        <label for="<?php 
    echo esc_attr( $widget['key'] );
    ?>" class="switch switch-text switch-primary switch-pill <?php 
    if ( !ma_el_fs()->can_use_premium_code__premium_only() && isset( $widget['is_pro'] ) && $widget['is_pro'] ) {
        echo "ma-el-pro disabled";
    }
    ?>">

                            <?php 
    ?>

                                <input type="checkbox" id="<?php 
    echo esc_attr( $widget['key'] );
    ?>" class="jltma-switch-input " name="<?php 
    echo esc_attr( $widget['key'] );
    ?>"
                                <?php 
    if ( !ma_el_fs()->can_use_premium_code__premium_only() && isset( $widget['is_pro'] ) && $widget['is_pro'] ) {
        checked( 0, $this->jltma_get_element_settings[$widget['key']], false );
        echo "disabled";
    } else {
        checked( 1, $this->jltma_get_element_settings[$widget['key']], true );
    }
    ?> />

                            <?php 
    ?>

                            <span data-on="On" data-off="Off" class="jltma-switch-label"></span>
                            <span class="jltma-switch-handle"></span>
                        </label>
                    </div>
                </div>
            </div>

        <?php 
}
?>
    </div>

</div> <!--  .master_addons_feature-->
<?php