call_remove_addon_list_update (); } $current_list = $essb_addons->get_addons (); } if (! isset ( $current_list )) { $current_list = array (); } ?>
 ' . __ ( 'Check for new extensions', 'essb' ) . ''; ?>
Click here to visit Activation Page', 'essb'), 'fa fa-lock', 'glow'); } else { ESSBOptionsFramework::draw_hint(__('Direct Customer Benefit ', 'essb'), sprintf(__('Access to download and install extensions is benefit for direct plugin customers. See all direct customer benefits', 'essb'), ESSBActivationManager::getBenefitURL()), 'fa fa-lock', 'glow'); } } ?> $addon_data ) { if ($addon_key == "filters") continue; $count++; } if (count($exist_filters) > 0) { echo '
'; echo ''; echo '
Showing '.$count.' of '.$count.' extensions
'; echo '
'; } ?>
Premium Extensions'; foreach ( $current_list as $addon_key => $addon_data ) { if ($addon_key == "filters") continue; if ($addon_data ['price'] == 'FREE') continue; $filters = isset($addon_data['filters']) ? $addon_data['filters'] : ''; $filters_lists = explode(',', $filters); $filters_class = " essb-addon-filter-all"; foreach ($filters_lists as $filter) { $filters_class .= ' essb-addon-filter-'.$filter; } $demo_url = isset ( $addon_data ['demo_url'] ) ? $addon_data ['demo_url'] : ''; echo '
'; echo '
'; echo '

'; echo (($addon_data ['price'] == 'FREE') ? 'FREE' : ''.$addon_data ['price'].'' ); echo '' . $addon_data ["name"] . ''; echo '

'; echo '
'; echo ''; echo '
'; echo ''; if (isset($addon_data['category'])) { if ($addon_data['category'] != '') { $tags = explode(',', $addon_data['category']); foreach ($tags as $tag) { print ''.$tag.''; } } } echo '
'; echo '
'; echo '

'; echo $addon_data ['description']; echo '

'; if ($addon_data ['price'] != 'FREE') { print '
'; print 'Learn more →'; print '
'; } echo '
'; echo '
'; $addon_requires = $addon_data ['requires']; if (version_compare ( ESSB3_VERSION, $addon_requires, '<' )) { echo 'Requires plugin version ' . $addon_requires . ' or newer'; } else { echo 'Compatible with your version of plugin'; } echo '
'; // download/purchase buttons print '
'; $check_exist = $addon_data ['check']; $is_installed = false; $check_function = isset($addon_data['check_function']) ? $addon_data['check_function'] : ''; if (! empty ( $check_exist )) { if (defined ( $check_exist )) { $is_installed = true; } } if (!empty($check_function)) { if (function_exists($check_function)) { $is_installed = true; } } if (! $is_installed) { if ($addon_data ['price'] != 'FREE') { print 'Get it now ' . $addon_data ['price'] . ' →'; } else { if (ESSBActivationManager::isActivated()) { print 'Download Free →'; } else { //print 'Download Free'; echo ESSBAdminActivate::activateToUnlock('Activate plugin to download'); } } } else { print 'Installed'; } if (! empty ( $demo_url )) { print 'Try live demo →'; } print '
'; echo '
'; echo '
'; } echo '

Free Extensions

'; foreach ( $current_list as $addon_key => $addon_data ) { if ($addon_key == "filters") continue; if ($addon_data ['price'] != 'FREE') continue; $filters = isset($addon_data['filters']) ? $addon_data['filters'] : ''; $filters_lists = explode(',', $filters); $filters_class = " essb-addon-filter-all"; foreach ($filters_lists as $filter) { $filters_class .= ' essb-addon-filter-'.$filter; } $demo_url = isset ( $addon_data ['demo_url'] ) ? $addon_data ['demo_url'] : ''; echo '
'; echo '
'; echo '

'; echo (($addon_data ['price'] == 'FREE') ? 'FREE' : ''.$addon_data ['price'].'' ); echo '' . $addon_data ["name"] . ''; echo '

'; echo '
'; echo ''; echo '
'; echo ''; if (isset($addon_data['category'])) { if ($addon_data['category'] != '') { $tags = explode(',', $addon_data['category']); foreach ($tags as $tag) { print ''.$tag.''; } } } echo '
'; echo '
'; echo '

'; echo $addon_data ['description']; echo '

'; if ($addon_data ['price'] != 'FREE') { print '
'; print 'Learn more →'; print '
'; } echo '
'; echo '
'; $addon_requires = $addon_data ['requires']; if (version_compare ( ESSB3_VERSION, $addon_requires, '<' )) { echo 'Requires plugin version ' . $addon_requires . ' or newer'; } else { echo 'Compatible with your version of plugin'; } echo '
'; // download/purchase buttons print '
'; $check_exist = $addon_data ['check']; $is_installed = false; if (! empty ( $check_exist )) { if (defined ( $check_exist )) { $is_installed = true; } } if (! $is_installed) { if ($addon_data ['price'] != 'FREE') { print 'Get it now ' . $addon_data ['price'] . ' →'; } else { if (ESSBActivationManager::isActivated()) { print 'Download Free →'; } else { //print 'Download Free'; echo ESSBAdminActivate::activateToUnlock('Activate plugin to download'); } } } else { print 'Installed'; } if (! empty ( $demo_url )) { print 'Try live demo →'; } print '
'; echo '
'; echo '
'; } ?>