'; ESSBOptionsFramework::draw_hint($title, $text, $icon, 'status '.$additional_class); echo ''; } } $is_for_firsttime = get_option ( ESSB3_FIRST_TIME_NAME ); if ($is_for_firsttime) { if ($is_for_firsttime == 'true') { include (ESSB3_PLUGIN_ROOT . 'lib/admin/essb-first-time.php'); return; } } if (!defined('ESSB3_CACHED_COUNTERS')) { define('ESSB3_CACHED_COUNTERS', true); if (!class_exists('ESSBCachedCounters')) { include_once(ESSB3_PLUGIN_ROOT . 'lib/core/share-counters/essb-cached-counters.php'); } } global $essb_navigation_tabs, $essb_sidebar_sections, $essb_section_options; global $essb_admin_options, $essb_options; $essb_admin_options = get_option ( ESSB3_OPTIONS_NAME ); global $essb_networks; $essb_networks = get_option ( ESSB3_NETWORK_LIST ); // if (! is_array ( $essb_networks )) { $essb_networks = essb_available_social_networks (); $purchase_code = ESSBOptionValuesHelper::options_value ( $essb_admin_options, 'purchase_code' ); // } // print_r($essb_o; // reset plugin settings to default $reset_settings = isset ( $_REQUEST ['reset_settings'] ) ? $_REQUEST ['reset_settings'] : ''; if ($reset_settings == 'true') { $essb_admin_options = array (); $essb_options = array (); $default_options = 'eyJidXR0b25fc3R5bGUiOiJidXR0b24iLCJzdHlsZSI6IjMyIiwiZnVsbHdpZHRoX3NoYXJlX2J1dHRvbnNfY29sdW1ucyI6IjEiLCJuZXR3b3JrcyI6WyJmYWNlYm9vayIsInR3aXR0ZXIiLCJnb29nbGUiLCJwaW50ZXJlc3QiLCJsaW5rZWRpbiJdLCJuZXR3b3Jrc19vcmRlciI6WyJmYWNlYm9vayIsInR3aXR0ZXIiLCJnb29nbGUiLCJwaW50ZXJlc3QiLCJsaW5rZWRpbiIsImRpZ2ciLCJkZWwiLCJzdHVtYmxldXBvbiIsInR1bWJsciIsInZrIiwicHJpbnQiLCJtYWlsIiwiZmxhdHRyIiwicmVkZGl0IiwiYnVmZmVyIiwibG92ZSIsIndlaWJvIiwicG9ja2V0IiwieGluZyIsIm9rIiwibXdwIiwibW9yZSIsInd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Rlcl9yZWNvdmVyX21vZGUiOiJ1bmNoYW5nZWQiLCJjb3VudGVyX3JlY292ZXJfcHJvdG9jb2wiOiJ1bmNoYW5nZWQifQ=='; $options_base = ESSB_Manager::convert_ready_made_option ( $default_options ); // print_r($options_base); if ($options_base) { $essb_options = $options_base; $essb_admin_options = $options_base; } update_option ( ESSB3_OPTIONS_NAME, $essb_admin_options ); } $dismiss_welcome = isset($_REQUEST['dismiss-welcome']) ? $_REQUEST['dismiss-welcome'] : ''; if ($dismiss_welcome == 'true') { $essb_options['disable_welcome'] = 'true'; update_option ( ESSB3_OPTIONS_NAME, $essb_options ); } $full_counter_update = isset($_REQUEST['essb_clear_cached_counters']) ? $_REQUEST['essb_clear_cached_counters'] : ''; if ($full_counter_update == 'true') { delete_post_meta_by_key('essb_cache_expire'); } global $essb_admin_options_fanscounter; $essb_admin_options_fanscounter = get_option ( ESSB3_OPTIONS_NAME_FANSCOUNTER ); if (! is_array ( $essb_admin_options_fanscounter )) { if (! class_exists ( 'ESSBSocialFollowersCounterHelper' )) { include_once (ESSB3_PLUGIN_ROOT . 'lib/modules/social-followers-counter/essb-social-followers-counter-helper.php'); } $essb_admin_options_fanscounter = ESSBSocialFollowersCounterHelper::create_default_options_from_structure ( ESSBSocialFollowersCounterHelper::options_structure () ); update_option ( ESSB3_OPTIONS_NAME_FANSCOUNTER, $essb_admin_options_fanscounter ); } // print "options are:"; // print_r($essb_admin_options); if (count ( $essb_navigation_tabs ) > 0) { $tab_1 = key ( $essb_navigation_tabs ); } if ($tab_1 == '') { //if (essb_show_welcome()) { // $tab_1 = "welcome"; //} //else { $tab_1 = 'social'; //} } global $current_tab; $current_tab = (empty ( $_GET ['tab'] )) ? $tab_1 : sanitize_text_field ( urldecode ( $_GET ['tab'] ) ); $purge_cache = isset ( $_REQUEST ['purge-cache'] ) ? $_REQUEST ['purge-cache'] : ''; $rebuild_resource = isset ( $_REQUEST ['rebuild-resource'] ) ? $_REQUEST ['rebuild-resource'] : ''; $dismiss_addon = isset ( $_REQUEST ['dismiss'] ) ? $_REQUEST ['dismiss'] : ''; if ($dismiss_addon == "true") { $dismiss_addon = isset ( $_REQUEST ['addon'] ) ? $_REQUEST ['addon'] : ''; $addons = ESSBAddonsHelper::get_instance (); $addons->dismiss_addon_notice ( $dismiss_addon ); } $active_settings_page = isset ( $_REQUEST ['page'] ) ? $_REQUEST ['page'] : ''; if (strpos ( $active_settings_page, 'essb_redirect_' ) !== false) { $options_page = str_replace ( 'essb_redirect_', '', $active_settings_page ); // print $options_page; // print admin_url ( 'admin.php?page=essb_options&tab=' . $options_page ); if ($options_page != '') { $current_tab = $options_page; } } $tabs = $essb_navigation_tabs; $section = $essb_sidebar_sections [$current_tab]; $options = $essb_section_options [$current_tab]; // cache is running $general_cache_active = ESSBOptionValuesHelper::options_bool_value ( $essb_admin_options, 'essb_cache' ); $general_cache_active_static = ESSBOptionValuesHelper::options_bool_value ( $essb_admin_options, 'essb_cache_static' ); $general_cache_active_static_js = ESSBOptionValuesHelper::options_bool_value ( $essb_admin_options, 'essb_cache_static_js' ); $general_cache_mode = ESSBOptionValuesHelper::options_value ( $essb_admin_options, 'essb_cache_mode' ); $is_cache_active = false; $general_precompiled_resources = ESSBOptionValuesHelper::options_bool_value ( $essb_admin_options, 'precompiled_resources' ); $display_cache_mode = ""; if ($general_cache_active) { if ($general_cache_mode == "full") { $display_cache_mode = __("Cache button render and dynamic resources", "essb"); } else if ($general_cache_mode == "resource") { $display_cache_mode = __("Cache only dynamic resources", "essb"); } else { $display_cache_mode = __("Cache only button render", "essb"); } $is_cache_active = true; } if ($general_cache_active_static || $general_cache_active_static_js) { if ($display_cache_mode != '') { $display_cache_mode .= ", "; } $display_cache_mode .= __("Combine into sigle file all plugin static CSS files", "essb"); $is_cache_active = true; } ?>
get_new_addons(); } // @since 3.2.4 // Twitter Counter Recovery if (ESSBTwitterCounterRecovery::recovery_called ()) { ESSBTwitterCounterRecovery::recovery_start (); } /*if (ESSB3_ADDONS_ACTIVE && class_exists ( 'ESSBAddonsHelper' )) { $addons = ESSBAddonsHelper::get_instance (); $new_addons = $addons->get_new_addons (); foreach ( $new_addons as $key => $data ) { $all_addons_button = ' ' . __ ( 'View list of all extensions', 'essb' ) . ''; $dismiss_url = esc_url_raw ( add_query_arg ( array ('dismiss' => 'true', 'addon' => $key ), admin_url ( "admin.php?page=essb_options" ) ) ); $dismiss_addons_button = ' ' . __ ( 'Dismiss', 'essb' ) . ''; //printf ( '
New add-on for Easy Social Share Buttons for WordPress is available: %1$s %4$s%3$s
', $data ['title'], $data ['url'], $all_addons_button, $dismiss_addons_button ); ESSBOptionsFramework::draw_hint(__('New addon available!', 'essb'), sprintf('New add-on for Easy Social Share Buttons for WordPress is available: %1$s %4$s%3$s', $data ['title'], $data ['url'], $all_addons_button, $dismiss_addons_button), 'fa fa-cube', 'status essb-status-addon'); } }*/ $cache_plugin_message = ""; if (ESSBCacheDetector::is_cache_plugin_detected ()) { $cache_plugin_message = __(" Cache plugin detected running on site: ", "essb") . ESSBCacheDetector::cache_plugin_name (); } $backup = isset ( $_REQUEST ['backup'] ) ? $_REQUEST ['backup'] : ''; $settings_update = isset ( $_REQUEST ['settings-updated'] ) ? $_REQUEST ['settings-updated'] : ''; if ($settings_update == "true") { // printf('
%1$s
', __('Easy // Social Share Buttons options are saved!', 'essb')); //printf ( '
%1$s
', __ ( 'Easy Social Share Buttons options are saved!' . $cache_plugin_message, 'essb' ) ); //ESSBOptionsFramework::draw_hint(__('Options are saved!', 'essb'), 'Your new setup is ready to use. If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle', 'status essb-status-update'); essb_display_status_message(__('Options are saved!', 'essb'), 'Your new setup is ready to use. If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle', 'essb-status-update'); } $settings_imported = isset ( $_REQUEST ['settings-imported'] ) ? $_REQUEST ['settings-imported'] : ''; if ($settings_imported == "true") { // printf('
%1$s
', __('Easy // Social Share Buttons options are saved!', 'essb')); //printf ( '
%1$s
', __ ( 'Easy Social Share Buttons options are imported!' . $cache_plugin_message, 'essb' ) ); //ESSBOptionsFramework::draw_hint(__('Options are imported!', 'essb'), 'If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle', 'status'); essb_display_status_message(__('Options are imported!', 'essb'), 'If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle'); } if ($reset_settings == 'true') { //printf ( '
%1$s
', __ ( 'Plugin settings are restored to default.' . $cache_plugin_message, 'essb' ) ); //ESSBOptionsFramework::draw_hint(__('Options are reset to default!', 'essb'), 'If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle', 'status'); essb_display_status_message(__('Options are reset to default!', 'essb'), 'If you use cache plugin (example: W3 Total Cache, WP Super Cache, WP Rocket) or optimization plugin (example: Autoptimize, BWP Minify) it is highly recommended to clear cache or you may not see the changes. '.$cache_plugin_message, 'fa fa-info-circle'); } if ($is_cache_active) { $cache_clear_address = esc_url_raw ( add_query_arg ( array ('purge-cache' => 'true' ), essb_get_current_page_url () ) ); //printf ( '
%1$s: %2$s%4$s
', __ ( 'Easy Social Share Buttons cache is running:', 'essb' ), $display_cache_mode, $cache_clear_address, __ ( 'Purge Cache', 'essb' ) ); $dismiss_addons_button = ' ' . __ ( 'Purge Cache', 'essb' ) . ''; //ESSBOptionsFramework::draw_hint(__('Plugin Cache is Running!', 'essb'), sprintf('%2$s %1$s', $dismiss_addons_button, $display_cache_mode), 'fa fa-database', 'status'); essb_display_status_message(__('Plugin Cache is Running!', 'essb'), sprintf('%2$s %1$s', $dismiss_addons_button, $display_cache_mode), 'fa fa-database'); } if ($general_precompiled_resources) { $cache_clear_address = esc_url_raw ( add_query_arg ( array ('rebuild-resource' => 'true' ), essb_get_current_page_url () ) ); //printf ( '
%1$s%3$s
', __ ( 'Easy Social Share Buttons is using precompiled static resources', 'essb' ), $cache_clear_address, __ ( 'Rebuild resources', 'essb' ) ); $dismiss_addons_button = ' ' . __ ( 'Rebuild Resources', 'essb' ) . ''; //ESSBOptionsFramework::draw_hint(__('Precompiled Resource Mode is Active!', 'essb'), sprintf('In precompiled mode plugin will load default setup into single static files that will run on entire site. %1$s', $dismiss_addons_button), 'fa fa-history', 'status'); essb_display_status_message(__('Precompiled Resource Mode is Active!', 'essb'), sprintf('In precompiled mode plugin will load default setup into single static files that will run on entire site. %1$s', $dismiss_addons_button), 'fa fa-history'); } if ($backup == 'true') { //printf ( '
%1$s
', __ ( 'Backup of your current settings is generated. Copy generated configuration string and save it on your computer. You can use it to restore settings or transfer them to other site.', 'essb' ) ); //ESSBOptionsFramework::draw_hint(__('Backup is ready!', 'essb'), 'Backup of your current settings is generated. Copy generated configuration string and save it on your computer. You can use it to restore settings or transfer them to other site.', 'fa fa-gear', 'status'); essb_display_status_message(__('Backup is ready!', 'essb'), 'Backup of your current settings is generated. Copy generated configuration string and save it on your computer. You can use it to restore settings or transfer them to other site.', 'fa fa-gear'); } if ($purge_cache == 'true') { if (class_exists ( 'ESSBDynamicCache' )) { ESSBDynamicCache::flush (); } if (function_exists ( 'purge_essb_cache_static_cache' )) { purge_essb_cache_static_cache (); } //printf ( '
%1$s
', __ ( 'Easy Social Share Buttons for WordPress Cache is purged!', 'essb' ) ); //ESSBOptionsFramework::draw_hint(__('Cache is Cleared!', 'essb'), 'Build in cache of plugin is fully cleared!', 'fa fa-info-circle', 'status'); essb_display_status_message(__('Cache is Cleared!', 'essb'), 'Build in cache of plugin is fully cleared!', 'fa fa-info-circle'); } if ($rebuild_resource == "true") { if (class_exists ( 'ESSBPrecompiledResources' )) { ESSBPrecompiledResources::flush (); } } if ($current_tab == "analytics") { $settings_url = esc_url_raw ( get_admin_url () . 'admin.php?page=essb_options&tab=social§ion=sharing&subsection=sharing-6' ); if (! essb_options_bool_value('stats_active')) { printf ( '
%1$s%3$s
', __ ( 'Statistics function in not activated!', 'essb' ), $settings_url, __ ( 'Click here to go to settings and activte it', 'essb' ) ); } } if (function_exists('essb3_apply_readymade_style')) { essb3_apply_readymade_style(); } ?>
  • $label ) { $tab_sections = isset ( $essb_sidebar_sections [$name] ) ? $essb_sidebar_sections [$name] : array (); //print_r($tab_sections); $hidden_tab = isset ( $tab_sections ['hide_in_navigation'] ) ? $tab_sections ['hide_in_navigation'] : false; if ($hidden_tab) { continue; } $icon = isset ( $tab_sections ['icon'] ) ? $tab_sections ['icon'] : ''; $align = isset($tab_sections['align']) ? $tab_sections['align'] : ''; $options_handler = ($is_first) ? "essb_options" : 'essb_redirect_' . $name; if (essb_show_welcome()) { $options_handler = 'essb_redirect_' . $name; } echo '
  • ' . ($icon != '' ? '' : '') . ''.$label . ''.($name == 'update' && !ESSBActivationManager::isActivated() && !ESSBActivationManager::isThemeIntegrated() ? '':'').'
  • '; $is_first = false; if ($current_tab == $name) { $tab_has_nomenu = isset ( $tab_sections ['hide_menu'] ) ? $tab_sections ['hide_menu'] : false; } } ?>
 ' . __ ( 'Extensions', 'essb' ) . ''; ?>  ' . __ ( 'Quick Setup Wizard', 'essb' ) . ''; ?>  ' . __ ( 'Apply Ready Made Styles', 'essb' ) . ''; ?>  ' . __ ( 'Get Support', 'essb' ) . ''; ?>
Please Wait a Moment ...