<div class="uap-top-message-new-extension">
	<?php echo esc_html_e('Extend your ','uap');?> <strong><?php echo UAP_NAME;?></strong> <?php esc_html_e(' system with extra features and functionality. Check additional available ', 'uap'); ?> <strong><?php esc_html_e('Extensions', 'uap');?></strong> <a href="https://ultimateaffiliate.pro/pro-addons/" target="_blank"><?php esc_html_e('here', 'uap');?></a>
</div>
<?php foreach ($data['feature_types'] as $k=>$v):?>
	<?php if ( !isset( $v['label'] ) )continue;?>
	<div class="uap-magic-box-wrap <?php echo ($v['enabled']) ? '' : 'uap-disabled-box';?>">
		<a href="<?php echo esc_url($v['link']);?>"
			<?php if($k == 'new_extension' || (isset($v['external_link']) && $v['external_link'] === TRUE)){
				echo esc_uap_content(' target="_blank" ');
			}
		?>>
			<div class="uap-magic-feature <?php echo esc_attr($k);?> <?php echo esc_attr($v['extra_class']);?>">
				<?php if(isset($v['addon']) && $v['addon'] === TRUE){?>
					<div class="uap-adm-ribbon uap-adm-ribbon-top-left"><span>PRO</span></div>
				<?php } ?>

				<?php $font_awesome = empty( $v['real_logo'] ) ? 'fa-uap' : ''; ?>
				<div class="uap-magic-box-icon"><i class="<?php echo esc_attr( $font_awesome . ' ' . $v['icon'] );?>"></i></div>
				<div class="uap-magic-box-title"><?php echo esc_uap_content($v['label']);?></div>
				<div class="uap-magic-box-desc"><?php echo esc_uap_content($v['description']);?></div>
			</div>
		</a>
	</div>
<?php endforeach;?>
<div class="uap-clear"></div>
