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/icons-library.php
<?php

namespace MasterAddons\Admin\Dashboard\Icons_Library;

use MasterAddons\Admin\Dashboard\Addons\Elements\JLTMA_Icons_Library;
use MasterAddons\Inc\Helper\Master_Addons_Helper;
/**
 * Author Name: Liton Arefin
 * Author URL: https://jeweltheme.com
 * Date: 22/10/21
 */
?>

<div class="jltma-master-addons-tab-panel" id="jltma-master-addons-icons-library" style="display: none;">

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

        <div class="jltma-tab-dashboard-wrapper">

            <form action="" method="POST" id="jltma-master-addons-icons-settings" class="jltma-addons-tab-settings" name="jltma-master-addons-icons-settings">

                <?php 
wp_nonce_field( 'jltma_icons_library_settings_nonce_action' );
?>

                <div class="jltma-addons-dashboard-tabs-wrapper">

                    <div id="jltma-master-addons-icons" class="jltma-addons-dashboard-header-left">

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

                            <div class="jltma-master-addons-dashboard-filter float-right">

                                <div class="jltma-filter-right">
                                    <button class="jltma-addons-enable-all">
                                        <?php 
echo esc_html__( 'Enable All', 'master-addons' );
?>
                                    </button>
                                    <button class="jltma-addons-disable-all">
                                        <?php 
echo esc_html__( 'Disable All', 'master-addons' );
?>
                                    </button>

                                    <div class="jltma-tab-dashboard-header-wrapper inline-block">
                                        <div class="jltma-tab-dashboard-header-right">
                                            <button type="submit" class="jltma-button jltma-tab-element-save-setting">
                                                <?php 
_e( 'Save Settings', 'master-addons' );
?>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div><!-- /.jltma_master_addons-dashboard-filter -->

                            <!-- Master Addons Extensions -->

                            <h3 class="mt-0"><?php 
echo esc_html__( 'Icons Library', 'master-addons' );
?></h3>

                            <div class="jltma-master-addons-features-container mt-0 is-flex">

                                <?php 
foreach ( JLTMA_Icons_Library::$jltma_icons_library['jltma-icons-library']['libraries'] as $key => $icons_library ) {
    ?>

                                    <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( $icons_library['is_pro'] ) && $icons_library['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( $icons_library['title'] );
    ?>
                                                </div> <!-- jltma_master_addons-features-title -->
                                                <div class="jltma-addons-tooltip inline-block">
                                                    <?php 
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Demo', $icons_library['demo_url'], 'eicon-device-desktop' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Documentation', $icons_library['docs_url'], 'eicon-info-circle-o' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Video Tutorial', $icons_library['tuts_url'], 'eicon-video-camera' );
    ?>
                                                </div>
                                            </div> <!-- .jltma_master_addons-content-inner -->


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

                                                    <?php 
    ?>

                                                        <input type="checkbox" id="<?php 
    echo esc_attr( $icons_library['key'] );
    ?>" class="jltma-switch-input " name="<?php 
    echo esc_attr( $icons_library['key'] );
    ?>" <?php 
    if ( !ma_el_fs()->can_use_premium_code__premium_only() && isset( $icons_library['is_pro'] ) && $icons_library['is_pro'] ) {
        checked( 0, $this->jltma_get_icons_library_settings[$icons_library['key']], false );
        echo "disabled";
    } else {
        checked( 1, $this->jltma_get_icons_library_settings[$icons_library['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_extensions-->

                    </div>
                </div> <!-- .master-addons-el-dashboard-tabs-wrapper-->
            </form>
        </div>
    </div>
</div>
<?php