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

namespace MasterAddons\Admin\Dashboard\Extensions;

use MasterAddons\Master_Elementor_Addons;
use MasterAddons\Admin\Dashboard\Addons\Extensions\JLTMA_Addon_Extensions;
use MasterAddons\Inc\Helper\Master_Addons_Helper;
/**
 * Author Name: Liton Arefin
 * Author URL: https://jeweltheme.com
 * Date: 9/5/19
 */
?>

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

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

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

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

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

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

					<div id="jltma-addons-extensions" 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__( 'Extensions', 'master-addons' );
?></h3>

							<div class="jltma-master-addons-features-container mt-0 is-flex">
								<?php 
foreach ( JLTMA_Addon_Extensions::$jltma_extensions['jltma-extensions']['extension'] as $key => $extension ) {
    ?>

									<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( $extension['is_pro'] ) && $extension['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__( $extension['title'] );
    ?>
												</div> <!-- jltma_master_addons-features-title -->
												<div class="jltma-addons-tooltip inline-block">
													<?php 
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Demo', $extension['demo_url'], 'eicon-device-desktop' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Documentation', $extension['docs_url'], 'eicon-info-circle-o' );
    Master_Addons_Helper::jltma_admin_tooltip_info( 'Video Tutorial', $extension['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( $extension['key'] );
    ?>" class="switch switch-text switch-primary switch-pill <?php 
    if ( !ma_el_fs()->can_use_premium_code__premium_only() && isset( $extension['is_pro'] ) && $extension['is_pro'] ) {
        echo "ma-el-pro disabled";
    }
    ?>">

													<?php 
    ?>

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


							<?php 
include_once JLTMA_PATH . '/inc/admin/welcome/third-party-plugins.php';
?>

						</div> <!--  .master_addons_extensions-->

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