Facebook Button by BestWebSoft - Version 2.52

Version Description

  • 14.11.2016 =
  • Update : Compatibility with Pagination plugin was added.
  • Pro : Tree of site pages was updated.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Facebook Button by BestWebSoft
Version 2.52
Comparing to
See all releases

Code changes from version 2.51 to 2.52

bws_menu/bws_functions.php CHANGED
@@ -219,7 +219,7 @@ if ( ! function_exists( 'bws_plugin_banner' ) ) {
219
  <span><?php _e( 'Extend standard plugin functionality with new great options.', 'bestwebsoft' ); ?></span>
220
  </div>
221
  <div class="button_div">
222
- <a class="button" target="_blank" href="http://bestwebsoft.com/products/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>"><?php _e( 'Learn More', 'bestwebsoft' ); ?></a>
223
  </div>
224
  </div>
225
  </div>
@@ -245,7 +245,7 @@ if ( ! function_exists( 'bws_plugin_reviews_block' ) ) {
245
  </div>
246
  <div class="bws-plugin-reviews-donate">
247
  <?php _e( 'Donations play an important role in supporting great projects', 'bestwebsoft' ); ?>:
248
- <a href="https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10&product_id=13">Donate</a>
249
  </div>
250
  </div>
251
  <?php }
@@ -377,7 +377,7 @@ if ( ! function_exists( 'bws_go_pro_tab_check' ) ) {
377
 
378
  /* activate Pro */
379
  if ( file_exists( WP_PLUGIN_DIR . '/' . $zip_name[0] ) ) {
380
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
381
  /* if multisite and free plugin is network activated */
382
  $active_plugins = get_site_option( 'active_sitewide_plugins' );
383
  $active_plugins[ $bws_license_plugin ] = time();
@@ -402,7 +402,7 @@ if ( ! function_exists( 'bws_go_pro_tab_check' ) ) {
402
  $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
403
  /* activate Pro */
404
  if ( ! is_plugin_active( $bws_license_plugin ) ) {
405
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
406
  /* if multisite and free plugin is network activated */
407
  $network_wide = true;
408
  } else {
@@ -470,7 +470,7 @@ if ( ! function_exists( 'bws_go_pro_tab_show' ) ) {
470
  <form method="post" action="">
471
  <p>
472
  <?php _e( 'Enter your license key to install and activate', 'bestwebsoft' ); ?>
473
- <a href="http://bestwebsoft.com/products/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php echo $plugin_info["Name"]; ?> Pro">Pro</a>
474
  <?php _e( 'version of the plugin.', 'bestwebsoft' ); ?><br />
475
  <span class="bws_info">
476
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
@@ -479,7 +479,7 @@ if ( ! function_exists( 'bws_go_pro_tab_show' ) ) {
479
  </span>
480
  </p>
481
  <?php if ( $trial_days_number !== false )
482
- $trial_days_number = __( 'or', 'bestwebsoft' ) . ' <a href="http://bestwebsoft.com/products/' . $link_slug . '/trial/" target="_blank">' . sprintf( __( 'Start Your Free %s-Day Trial Now', 'bestwebsoft' ), $trial_days_number ) . '</a>';
483
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
484
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
485
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
@@ -511,7 +511,7 @@ if ( ! function_exists( 'bws_go_pro_from_trial_tab' ) ) {
511
  if ( $trial_license_is_set ) { ?>
512
  <form method="post" action="">
513
  <p>
514
- <?php echo sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/' . $link_slug . '/?k=' . $link_key . '&amp;pn=' . $link_pn . '&amp;v=' . $plugin_info["Version"] . '&amp;wp_v=' . $wp_version .'" target="_blank" title="' . $plugin_info["Name"] . '">Pro</a>' ) . ' ';
515
  _e( 'After that you can activate it by entering your license key.', 'bestwebsoft' ); ?><br />
516
  <span class="bws_info">
517
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
@@ -607,7 +607,7 @@ if ( ! function_exists( 'bws_check_pro_license' ) ) {
607
  $result['message'] .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
608
 
609
  if ( isset( $value->trial ) && $trial_plugin != false )
610
- $result['message'] .= ' ' . sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/' . $trial_plugin['link_slug'] . '/?k=' . $trial_plugin['link_key'] . '&pn=' . $trial_plugin['link_pn'] . '&v=' . $trial_plugin['plugin_info']['Version'] . '&wp_v=' . $wp_version . '" target="_blank" title="' . $trial_plugin['plugin_info']['Name'] . '">Pro</a>' );
611
 
612
  if ( isset( $value->trial ) ) {
613
  $bstwbsftwppdtplgns_options['trial'][ $plugin_basename ] = 1;
@@ -701,7 +701,7 @@ if ( ! function_exists ( 'bws_plugin_update_row' ) ) {
701
  if ( $wp_version >= 4.6 )
702
  echo '<p>';
703
  if ( isset( $bstwbsftwppdtplgns_options['trial'][ $plugin_key ] ) && $link_slug != false ) {
704
- echo __( 'Notice: Your Pro Trial license has expired. To continue using the plugin you should buy a Pro license', 'bestwebsoft' ) . ' - <a href="http://bestwebsoft.com/products/' . $link_slug .'/">http://bestwebsoft.com/products/' . $link_slug . '/</a>';
705
  } else {
706
  echo __( 'Your license has expired. To continue getting top-priority support and plugin updates you should extend it.', 'bestwebsoft' ) . ' <a target="_new" href="http://support.bestwebsoft.com/entries/53487136">' . __( "Learn more", 'bestwebsoft' ) . '</a>';
707
  }
@@ -749,19 +749,19 @@ if ( ! function_exists ( 'bws_plugin_banner_timeout' ) ) {
749
  $(document).ready( function() {
750
  var hide_message = $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page" );
751
  if ( hide_message == "true" ) {
752
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "none" );
753
  } else {
754
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "block" );
755
  }
756
  $( ".<?php echo $plugin_prefix; ?>_close_icon" ).click( function() {
757
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "none" );
758
  $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page", "true", { expires: 30 } );
759
  });
760
  });
761
  })(jQuery);
762
  </script>
763
  <div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
764
- <div class="<?php echo $plugin_prefix; ?>_message bws_banner_on_plugin_page bws_banner_timeout" style="display:none;">
765
  <button class="<?php echo $plugin_prefix; ?>_close_icon close_icon notice-dismiss bws_hide_settings_notice" title="<?php _e( 'Close notice', 'bestwebsoft' ); ?>"></button>
766
  <div class="icon">
767
  <img title="" src="<?php echo $banner_url; ?>" alt="" />
219
  <span><?php _e( 'Extend standard plugin functionality with new great options.', 'bestwebsoft' ); ?></span>
220
  </div>
221
  <div class="button_div">
222
+ <a class="button" target="_blank" href="http://bestwebsoft.com/products/wordpress/plugins/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>"><?php _e( 'Learn More', 'bestwebsoft' ); ?></a>
223
  </div>
224
  </div>
225
  </div>
245
  </div>
246
  <div class="bws-plugin-reviews-donate">
247
  <?php _e( 'Donations play an important role in supporting great projects', 'bestwebsoft' ); ?>:
248
+ <a href="http://bestwebsoft.com/donate/">Donate</a>
249
  </div>
250
  </div>
251
  <?php }
377
 
378
  /* activate Pro */
379
  if ( file_exists( WP_PLUGIN_DIR . '/' . $zip_name[0] ) ) {
380
+ if ( is_multisite() && is_plugin_active_for_network( $plugin_basename ) ) {
381
  /* if multisite and free plugin is network activated */
382
  $active_plugins = get_site_option( 'active_sitewide_plugins' );
383
  $active_plugins[ $bws_license_plugin ] = time();
402
  $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
403
  /* activate Pro */
404
  if ( ! is_plugin_active( $bws_license_plugin ) ) {
405
+ if ( is_multisite() && is_plugin_active_for_network( $plugin_basename ) ) {
406
  /* if multisite and free plugin is network activated */
407
  $network_wide = true;
408
  } else {
470
  <form method="post" action="">
471
  <p>
472
  <?php _e( 'Enter your license key to install and activate', 'bestwebsoft' ); ?>
473
+ <a href="http://bestwebsoft.com/products/wordpress/plugins/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php echo $plugin_info["Name"]; ?> Pro">Pro</a>
474
  <?php _e( 'version of the plugin.', 'bestwebsoft' ); ?><br />
475
  <span class="bws_info">
476
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
479
  </span>
480
  </p>
481
  <?php if ( $trial_days_number !== false )
482
+ $trial_days_number = __( 'or', 'bestwebsoft' ) . ' <a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/trial/" target="_blank">' . sprintf( __( 'Start Your Free %s-Day Trial Now', 'bestwebsoft' ), $trial_days_number ) . '</a>';
483
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
484
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
485
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
511
  if ( $trial_license_is_set ) { ?>
512
  <form method="post" action="">
513
  <p>
514
+ <?php echo sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/?k=' . $link_key . '&amp;pn=' . $link_pn . '&amp;v=' . $plugin_info["Version"] . '&amp;wp_v=' . $wp_version .'" target="_blank" title="' . $plugin_info["Name"] . '">Pro</a>' ) . ' ';
515
  _e( 'After that you can activate it by entering your license key.', 'bestwebsoft' ); ?><br />
516
  <span class="bws_info">
517
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
607
  $result['message'] .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
608
 
609
  if ( isset( $value->trial ) && $trial_plugin != false )
610
+ $result['message'] .= ' ' . sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/wordpress/plugins/' . $trial_plugin['link_slug'] . '/?k=' . $trial_plugin['link_key'] . '&pn=' . $trial_plugin['link_pn'] . '&v=' . $trial_plugin['plugin_info']['Version'] . '&wp_v=' . $wp_version . '" target="_blank" title="' . $trial_plugin['plugin_info']['Name'] . '">Pro</a>' );
611
 
612
  if ( isset( $value->trial ) ) {
613
  $bstwbsftwppdtplgns_options['trial'][ $plugin_basename ] = 1;
701
  if ( $wp_version >= 4.6 )
702
  echo '<p>';
703
  if ( isset( $bstwbsftwppdtplgns_options['trial'][ $plugin_key ] ) && $link_slug != false ) {
704
+ echo __( 'Notice: Your Pro Trial license has expired. To continue using the plugin you should buy a Pro license', 'bestwebsoft' ) . ' - <a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug .'/">http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/</a>';
705
  } else {
706
  echo __( 'Your license has expired. To continue getting top-priority support and plugin updates you should extend it.', 'bestwebsoft' ) . ' <a target="_new" href="http://support.bestwebsoft.com/entries/53487136">' . __( "Learn more", 'bestwebsoft' ) . '</a>';
707
  }
749
  $(document).ready( function() {
750
  var hide_message = $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page" );
751
  if ( hide_message == "true" ) {
752
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "none" );
753
  } else {
754
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "block" );
755
  }
756
  $( ".<?php echo $plugin_prefix; ?>_close_icon" ).click( function() {
757
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "none" );
758
  $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page", "true", { expires: 30 } );
759
  });
760
  });
761
  })(jQuery);
762
  </script>
763
  <div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
764
+ <div class="<?php echo $plugin_prefix; ?>_message_timeout bws_banner_on_plugin_page bws_banner_timeout" style="display:none;">
765
  <button class="<?php echo $plugin_prefix; ?>_close_icon close_icon notice-dismiss bws_hide_settings_notice" title="<?php _e( 'Close notice', 'bestwebsoft' ); ?>"></button>
766
  <div class="icon">
767
  <img title="" src="<?php echo $banner_url; ?>" alt="" />
bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.9.2
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
@@ -10,7 +10,7 @@ if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
10
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
11
  function bws_add_menu_render() {
12
  global $wpdb, $wp_version, $bws_plugin_info, $bstwbsftwppdtplgns_options;
13
- $error = $message = $bwsmn_form_email = '';
14
 
15
  if ( 'bws_panel' == $_GET['page'] ) {
16
 
@@ -18,10 +18,10 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
18
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
19
 
20
  /* get $bws_plugins */
21
- require_once( dirname( __FILE__ ) . '/product_list.php' );
22
 
23
  $all_plugins = get_plugins();
24
- $active_plugins = get_option( 'active_plugins' );
25
  $sitewide_active_plugins = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'active_sitewide_plugins' ) : array();
26
  $update_availible_all = get_site_transient( 'update_plugins' );
27
 
@@ -29,7 +29,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
29
 
30
  if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || ! isset( $_GET['sub'] ) ) {
31
  $bws_plugins_update_availible = $bws_plugins_expired = array();
32
- foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
33
 
34
  foreach ( $value_plugin['category'] as $category_key ) {
35
  $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
@@ -37,14 +37,14 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
37
 
38
  $is_installed = array_key_exists( $key_plugin, $all_plugins );
39
  $is_pro_installed = false;
40
- if ( isset( $value_plugin['pro_version'] ) ) {
41
  $is_pro_installed = array_key_exists( $value_plugin['pro_version'], $all_plugins );
42
  }
43
  /* check update_availible */
44
- if ( $is_pro_installed && array_key_exists( $value_plugin['pro_version'], $update_availible_all->response ) ) {
45
  unset( $bws_plugins[ $key_plugin ] );
46
  $value_plugin['update_availible'] = $value_plugin['pro_version'];
47
- $bws_plugins_update_availible[ $key_plugin ] = $value_plugin;
48
  } else if ( $is_installed && array_key_exists( $key_plugin, $update_availible_all->response ) ) {
49
  unset( $bws_plugins[ $key_plugin ] );
50
  $value_plugin['update_availible'] = $key_plugin;
@@ -60,20 +60,20 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
60
  }
61
  $bws_plugins = $bws_plugins_update_availible + $bws_plugins_expired + $bws_plugins;
62
  } else {
63
- foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
64
  foreach ( $value_plugin['category'] as $category_key ) {
65
  $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
66
  }
67
  }
68
  }
69
 
70
- /*** membership ***/
71
  $bws_license_plugin = 'bws_get_list_for_membership';
72
  $bws_license_key = isset( $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) ? $bstwbsftwppdtplgns_options[ $bws_license_plugin ] : '';
73
  $update_membership_list = true;
74
 
75
  if ( isset( $_POST['bws_license_key'] ) )
76
- $bws_license_key = stripslashes( esc_html( trim( $_POST['bws_license_key'] ) ) );
77
 
78
  if ( isset( $_SESSION['bws_membership_time_check'] ) && isset( $_SESSION['bws_membership_list'] ) && $_SESSION['bws_membership_time_check'] < strtotime( '+12 hours' ) ) {
79
  $update_membership_list = false;
@@ -82,11 +82,11 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
82
 
83
  if ( ( $update_membership_list && ! empty( $bws_license_key ) ) || ( isset( $_POST['bws_license_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bws_license_nonce_name' ) ) ) {
84
 
85
- if ( '' != $bws_license_key ) {
86
  if ( strlen( $bws_license_key ) != 18 ) {
87
  $error = __( 'Wrong license key', 'bestwebsoft' );
88
  } else {
89
-
90
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - (24 * 60 * 60) ) ) {
91
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
92
  } else {
@@ -111,7 +111,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
111
  if ( is_array( $response ) && !empty( $response ) ) {
112
  foreach ( $response as $key => $value ) {
113
  if ( "wrong_license_key" == $value->package ) {
114
- $error = __( "Wrong license key", 'bestwebsoft' );
115
  } elseif ( "wrong_domain" == $value->package ) {
116
  $error = __( 'This license key is bind to another website. Change it via personal Client Area.', 'bestwebsoft' ) . '<a target="_blank" href="http://bestwebsoft.com/wp-admin/admin.php?page=client-area">' . __( 'Log in', 'bestwebsoft' ) . '</a>';
117
  } elseif ( "you_are_banned" == $value->package ) {
@@ -123,23 +123,23 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
123
  } elseif ( is_array( $value->package ) && ! empty( $value->package ) ) {
124
  $plugins_array = $_SESSION['bws_membership_list'] = $value->package;
125
  $_SESSION['bws_membership_time_check'] = strtotime( 'now' );
126
-
127
  if ( $bws_license_key == $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) {
128
  $message = __( 'The license key is valid.', 'bestwebsoft' );
129
  if ( isset( $value->time_out ) && $value->time_out != '' )
130
  $message .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
131
  } else {
132
  $message = __( 'Congratulations! Pro Membership license is successfully activated.', 'bestwebsoft' );
133
- }
134
 
135
- $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
136
  }
137
  }
138
  } else {
139
- $error = __( "Something went wrong. Try again later or upload the plugin manually. We are sorry for inconvenience.", 'bestwebsoft' );
140
  }
141
  }
142
-
143
  if ( is_multisite() )
144
  update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
145
  else
@@ -148,7 +148,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
148
  } else {
149
  $error = __( "Please enter your license key.", 'bestwebsoft' );
150
  }
151
- }
152
  }
153
 
154
  if ( 'bws_system_status' == $_GET['page'] ) {
@@ -217,7 +217,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
217
  else
218
  $system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
219
  }
220
-
221
 
222
  if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) || ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
223
  if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
@@ -269,7 +269,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
269
  }
270
  } ?>
271
  <div class="bws-wrap">
272
- <div class="bws-header">
273
  <div class="bws-title">
274
  <a href="<?php echo self_admin_url( 'admin.php?page=bws_panel' ); ?>">
275
  <img class="bws-logo" src="<?php echo plugins_url( 'images/bestwebsoft-logo-white.svg', __FILE__ ); ?>" />
@@ -284,18 +284,18 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
284
  </div>
285
  <div class="bws-help-links-wrapper">
286
  <a <?php if ( 'bws_system_status' == $_GET['page'] ) echo ' class="bws-nav-tab-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_system_status' ); ?>"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
287
- <a href="<?php echo esc_url( 'http://support.bestwebsoft.com/home' ); ?>" target="_blank"><?php _e( 'Support', 'bestwebsoft' ); ?></a>
288
- <a href="<?php echo esc_url( 'http://bestwebsoft.com/wp-admin/admin.php?page=client-area' ); ?>" target="_blank" title="<?php _e( 'Manage purchased licenses & subscriptions', 'bestwebsoft' ); ?>"><?php _e( 'Client Area', 'bestwebsoft' ); ?></a>
289
- </div>
290
  <div class="clear"></div>
291
  </div>
292
  <?php if ( 'bws_panel' == $_GET['page'] && ! isset( $_POST['bws_plugin_action_submit'] ) ) { ?>
293
  <div class="bws-membership-wrap">
294
  <div class="bws-membership-backround"></div>
295
- <div class="bws-membership">
296
- <div class="bws-membership-title"><?php printf( __( 'Get Access to %s+ Premium Plugins', 'bestwebsoft' ), '30' ); ?></div>
297
  <form class="bws-membership-form" method="post" action="">
298
- <span class="bws-membership-link"><a target="_blank" href="http://bestwebsoft.com/membership/"><?php _e( 'Subscribe to Pro Membership', 'bestwebsoft' ); ?></a> <?php _e( 'or', 'bestwebsoft' ); ?></span>
299
  <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
300
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
301
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
@@ -303,9 +303,9 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
303
  <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
304
  <div class="bws_error"><?php _e( "Unfortunately, you have exceeded the number of available tries per day.", 'bestwebsoft' ); ?></div>
305
  </div>
306
- <input disabled="disabled" type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
307
  <?php } else { ?>
308
- <div class="bws_form_input_wrap">
309
  <input <?php if ( "" != $error ) echo "class=\"bws_input_error\""; ?> type="text" placeholder="<?php _e( 'Enter your license key', 'bestwebsoft' ); ?>" maxlength="100" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
310
  <div class="bws_error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><?php echo $error; ?></div>
311
  </div>
@@ -315,15 +315,15 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
315
  <input type="submit" class="bws-button" value="<?php _e( 'Activate', 'bestwebsoft' ); ?>" />
316
  <?php } else { ?>
317
  <input type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
318
- <?php } ?>
319
- <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_nonce_name' ); ?>
320
- <?php } ?>
321
  </form>
322
- <div class="clear"></div>
323
  </div>
324
- </div>
325
  <?php } ?>
326
- <div class="bws-wrap-content wrap">
327
  <?php if ( 'bws_panel' == $_GET['page'] ) { ?>
328
  <div class="updated notice is-dismissible inline" <?php if ( '' == $message || '' != $error ) echo "style=\"display:none\""; ?>><p><?php echo $message; ?></p></div>
329
  <h1>
@@ -350,12 +350,12 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
350
 
351
  $url = $plugins_array[ $bws_license_plugin ]['link'] . '&download_from=5';
352
 
353
- echo '<p>' . __( "Downloading install package from", 'bestwebsoft' ) . ' ' . $url . '</p>';
354
 
355
  $uploadDir = wp_upload_dir();
356
  $zip_name = explode( '/', $bws_license_plugin );
357
-
358
- if ( !function_exists( 'curl_init' ) ) {
359
  $received_content = file_get_contents( $url );
360
  } else {
361
  $ch = curl_init();
@@ -364,7 +364,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
364
  curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );
365
  $received_content = curl_exec( $ch );
366
  curl_close( $ch );
367
- }
368
 
369
  if ( ! $received_content ) {
370
  $error = __( "Failed to download the zip archive. Please, upload the plugin manually", 'bestwebsoft' );
@@ -410,18 +410,18 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
410
  } else {
411
  if ( empty( $error ) )
412
  $error = __( "Failed to download the zip archive. Please, upload the plugin manually", 'bestwebsoft' );
413
-
414
  echo '<p class="error">' . $error . '</p>';
415
  echo '<p><a href="' . self_admin_url( 'admin.php?page=bws_panel' ) . '" target="_parent">' . __( 'Return to BestWebSoft Panel', 'bestwebsoft' ) . '</a></p>';
416
  }
417
- } else { ?>
418
  <ul class="subsubsub">
419
  <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_panel<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
420
  <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_panel&amp;sub=installed<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
421
  <li><a <?php if ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_panel&amp;sub=not_installed<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'Not Installed', 'bestwebsoft' ); ?></a></li>
422
  </ul>
423
  <div class="clear"></div>
424
- <div class="bws-filter-top">
425
  <h2>
426
  <span class="bws-toggle-indicator"></span>
427
  <?php _e( 'Filter results', 'bestwebsoft' ); ?>
@@ -433,13 +433,13 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
433
  <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&amp;sub=' . $_GET['sub'] : ''; ?>
434
  <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
435
  <span>(<?php echo count( $bws_plugins ); ?>)</span>
436
- </a>
437
  </li>
438
  <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
439
  <li>
440
  <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url . '&amp;category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
441
  <span>(<?php echo $category_value['count']; ?>)</span>
442
- </a>
443
  </li>
444
  <?php } ?>
445
  </ul>
@@ -447,14 +447,14 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
447
  </div>
448
  <div class="bws-products">
449
  <?php $nothing_found = true;
450
- foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
451
 
452
- if ( 'all' != $plugin_category && isset( $bws_plugins_category[ $plugin_category ] ) && ! in_array( $plugin_category, $value_plugin['category'] ) )
453
  continue;
454
 
455
  $key_plugin_explode = explode( '/', $key_plugin );
456
 
457
- $icon = isset( $value_plugin['icon'] ) ? $value_plugin['icon'] : '//ps.w.org/' . $key_plugin_explode[0] . '/assets/icon-128x128.png';
458
  $is_pro_isset = isset( $value_plugin['pro_version'] );
459
  $is_installed = array_key_exists( $key_plugin, $all_plugins );
460
  $is_active = in_array( $key_plugin, $active_plugins ) || isset( $sitewide_active_plugins[ $key_plugin ] );
@@ -467,7 +467,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
467
 
468
  if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] && ! $is_pro_installed && ! $is_installed ) ||
469
  ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] && ( $is_pro_installed || $is_installed ) ) )
470
- continue;
471
 
472
  $link_attr = isset( $value_plugin['install_url'] ) ? 'href="' . $value_plugin['install_url'] . '" target="_blank"' : 'href="' . esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $key_plugin_explode[0] . '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox open-plugin-details-modal"';
473
 
@@ -479,7 +479,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
479
  <div class="bws_product_content">
480
  <div class="bws_product_title"><a <?php echo $link_attr; ?>><?php echo $value_plugin['name']; ?></a></div>
481
  <div class="bws-version">
482
- <?php
483
  if ( $is_pro_installed ) {
484
  echo '<span';
485
  if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
@@ -489,9 +489,9 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
489
  echo '<span';
490
  if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
491
  echo ' class="bws-update-available"';
492
- echo '>v ' . $all_plugins[ $key_plugin ]['Version'] . '</span>';
493
  } else {
494
- echo '<span>' . __( 'Not installed', 'bestwebsoft' ) . '</span>';
495
  }
496
 
497
  if ( ! empty( $value_plugin['expired'] ) ) {
@@ -502,7 +502,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
502
  } ?>
503
  </div>
504
  <div class="bws_product_description">
505
- <?php echo ( strlen( $value_plugin['description'] ) > 100 ) ? substr( $value_plugin['description'], 0, 100 ) . '...' : $value_plugin['description']; ?>
506
  </div>
507
  <div class="bws_product_links">
508
  <?php if ( $is_active || $is_pro_active ) {
@@ -528,7 +528,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
528
  <?php } else { ?>
529
  <a class="bws_settings" href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>"><?php _e( 'Settings', 'bestwebsoft' ); ?></a>
530
  <?php }
531
- } else {
532
  if ( $is_pro_installed ) { ?>
533
  <a class="button button-secondary" href="<?php echo wp_nonce_url( 'admin.php?page=bws_panel&amp;bws_activate_plugin=' . $value_plugin['pro_version'], 'bws_activate_plugin' . $value_plugin['pro_version'] ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
534
  <?php } elseif ( ! empty( $plugins_array ) && isset( $value_plugin['pro_version'] ) && array_key_exists( $value_plugin['pro_version'], $plugins_array ) ) { ?>
@@ -540,7 +540,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
540
  </form>
541
  <?php } elseif ( $is_installed ) { ?>
542
  <a class="button button-secondary" href="<?php echo wp_nonce_url( 'admin.php?page=bws_panel&amp;bws_activate_plugin=' . $key_plugin, 'bws_activate_plugin' . $key_plugin ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
543
- <?php } else {
544
  $install_url = isset( $value_plugin['install_url'] ) ? $value_plugin['install_url'] : esc_url( self_admin_url( 'plugin-install.php?tab=search&type=term&s=' . str_replace( ' ', '+', $value_plugin['name'] ) . '+BestWebSoft&plugin-search-input=Search+Plugins' ) ); ?>
545
  <a class="button button-secondary" href="<?php echo $install_url; ?>" title="<?php _e( 'Install this plugin', 'bestwebsoft' ); ?>" target="_blank"><?php _e( 'Install Now', 'bestwebsoft' ); ?></a>
546
  <?php }
@@ -548,7 +548,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
548
  </div>
549
  </div>
550
  <div class="clear"></div>
551
- </div>
552
  <?php }
553
  if ( $nothing_found ) { ?>
554
  <p class="description"><?php _e( 'Nothing found. Try another criteria.', 'bestwebsoft' ); ?></p>
@@ -562,21 +562,21 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
562
  <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&amp;sub=' . $_GET['sub'] : ''; ?>
563
  <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
564
  <span>(<?php echo count( $bws_plugins ); ?>)</span>
565
- </a>
566
  </li>
567
  <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
568
  <li>
569
  <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url . '&amp;category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
570
  <span>(<?php echo $category_value['count']; ?>)</span>
571
- </a>
572
  </li>
573
  <?php } ?>
574
  </ul>
575
  </div>
576
- </div><!-- #bws-filter-wrapper -->
577
  <div class="clear"></div>
578
  <?php }
579
- } elseif ( 'bws_themes' == $_GET['page'] ) {
580
  require_once( dirname( __FILE__ ) . '/product_list.php' ); ?>
581
  <h1><?php _e( 'Themes', 'bestwebsoft' ); ?></h1>
582
  <div id="availablethemes" class="bws-availablethemes">
@@ -613,7 +613,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
613
  <div class="theme-actions">
614
  <a class="button button-secondary preview install-theme-preview" href="<?php echo $theme->href; ?>" target="_blank"><?php esc_html_e( 'Learn More', 'bestwebsoft' ); ?></a>
615
  </div>
616
- <?php if ( $installed_theme->exists() ) {
617
  if ( $wp_version < '4.6' ) { ?>
618
  <div class="theme-installed"><?php _e( 'Already Installed', 'bestwebsoft' ); ?></div>
619
  <?php } else { ?>
@@ -628,7 +628,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
628
  <?php } ?>
629
  <p><a class="bws_browse_link" href="http://bestweblayout.com/categories/themes/" target="_blank"><?php _e( 'Browse Free WordPress Themes', 'bestwebsoft' ); ?> <span class="dashicons dashicons-arrow-right-alt2"></span></a></p>
630
  </div>
631
- <?php } elseif ( 'bws_system_status' == $_GET['page'] ) { ?>
632
  <h1><?php _e( 'System status', 'bestwebsoft' ); ?></h1>
633
  <div class="updated fade notice is-dismissible inline" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
634
  <div class="error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
@@ -685,7 +685,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
685
  } ?>
686
  </tbody>
687
  </table>
688
- <div class="clear"></div>
689
  </div>
690
  <?php } ?>
691
  </div>
@@ -696,7 +696,10 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
696
  if ( ! function_exists( 'bws_get_banner_array' ) ) {
697
  function bws_get_banner_array() {
698
  global $bstwbsftwppdtplgns_banner_array;
699
- $bstwbsftwppdtplgns_banner_array = array(
 
 
 
700
  array( 'crrntl_hide_banner_on_plugin_page', 'car-rental/car-rental.php', '1.0.0' ),
701
  array( 'lnkdn_hide_banner_on_plugin_page', 'bws-linkedin/bws-linkedin.php', '1.0.1' ),
702
  array( 'pntrst_hide_banner_on_plugin_page', 'bws-pinterest/bws-pinterest.php', '1.0.1' ),
@@ -704,7 +707,7 @@ if ( ! function_exists( 'bws_get_banner_array' ) ) {
704
  array( 'gglcptch_hide_banner_on_plugin_page', 'google-captcha/google-captcha.php', '1.18' ),
705
  array( 'mltlngg_hide_banner_on_plugin_page', 'multilanguage/multilanguage.php', '1.1.1' ),
706
  array( 'adsns_hide_banner_on_plugin_page', 'adsense-plugin/adsense-plugin.php', '1.36' ),
707
- array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
708
  array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
709
  array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
710
  array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.9.5
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
10
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
11
  function bws_add_menu_render() {
12
  global $wpdb, $wp_version, $bws_plugin_info, $bstwbsftwppdtplgns_options;
13
+ $error = $message = $bwsmn_form_email = '';
14
 
15
  if ( 'bws_panel' == $_GET['page'] ) {
16
 
18
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
19
 
20
  /* get $bws_plugins */
21
+ require_once( dirname( __FILE__ ) . '/product_list.php' );
22
 
23
  $all_plugins = get_plugins();
24
+ $active_plugins = get_option( 'active_plugins' );
25
  $sitewide_active_plugins = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'active_sitewide_plugins' ) : array();
26
  $update_availible_all = get_site_transient( 'update_plugins' );
27
 
29
 
30
  if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || ! isset( $_GET['sub'] ) ) {
31
  $bws_plugins_update_availible = $bws_plugins_expired = array();
32
+ foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
33
 
34
  foreach ( $value_plugin['category'] as $category_key ) {
35
  $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
37
 
38
  $is_installed = array_key_exists( $key_plugin, $all_plugins );
39
  $is_pro_installed = false;
40
+ if ( isset( $value_plugin['pro_version'] ) ) {
41
  $is_pro_installed = array_key_exists( $value_plugin['pro_version'], $all_plugins );
42
  }
43
  /* check update_availible */
44
+ if ( $is_pro_installed && array_key_exists( $value_plugin['pro_version'], $update_availible_all->response ) ) {
45
  unset( $bws_plugins[ $key_plugin ] );
46
  $value_plugin['update_availible'] = $value_plugin['pro_version'];
47
+ $bws_plugins_update_availible[ $key_plugin ] = $value_plugin;
48
  } else if ( $is_installed && array_key_exists( $key_plugin, $update_availible_all->response ) ) {
49
  unset( $bws_plugins[ $key_plugin ] );
50
  $value_plugin['update_availible'] = $key_plugin;
60
  }
61
  $bws_plugins = $bws_plugins_update_availible + $bws_plugins_expired + $bws_plugins;
62
  } else {
63
+ foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
64
  foreach ( $value_plugin['category'] as $category_key ) {
65
  $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
66
  }
67
  }
68
  }
69
 
70
+ /*** membership ***/
71
  $bws_license_plugin = 'bws_get_list_for_membership';
72
  $bws_license_key = isset( $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) ? $bstwbsftwppdtplgns_options[ $bws_license_plugin ] : '';
73
  $update_membership_list = true;
74
 
75
  if ( isset( $_POST['bws_license_key'] ) )
76
+ $bws_license_key = stripslashes( esc_html( trim( $_POST['bws_license_key'] ) ) );
77
 
78
  if ( isset( $_SESSION['bws_membership_time_check'] ) && isset( $_SESSION['bws_membership_list'] ) && $_SESSION['bws_membership_time_check'] < strtotime( '+12 hours' ) ) {
79
  $update_membership_list = false;
82
 
83
  if ( ( $update_membership_list && ! empty( $bws_license_key ) ) || ( isset( $_POST['bws_license_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bws_license_nonce_name' ) ) ) {
84
 
85
+ if ( '' != $bws_license_key ) {
86
  if ( strlen( $bws_license_key ) != 18 ) {
87
  $error = __( 'Wrong license key', 'bestwebsoft' );
88
  } else {
89
+
90
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - (24 * 60 * 60) ) ) {
91
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
92
  } else {
111
  if ( is_array( $response ) && !empty( $response ) ) {
112
  foreach ( $response as $key => $value ) {
113
  if ( "wrong_license_key" == $value->package ) {
114
+ $error = __( "Wrong license key", 'bestwebsoft' );
115
  } elseif ( "wrong_domain" == $value->package ) {
116
  $error = __( 'This license key is bind to another website. Change it via personal Client Area.', 'bestwebsoft' ) . '<a target="_blank" href="http://bestwebsoft.com/wp-admin/admin.php?page=client-area">' . __( 'Log in', 'bestwebsoft' ) . '</a>';
117
  } elseif ( "you_are_banned" == $value->package ) {
123
  } elseif ( is_array( $value->package ) && ! empty( $value->package ) ) {
124
  $plugins_array = $_SESSION['bws_membership_list'] = $value->package;
125
  $_SESSION['bws_membership_time_check'] = strtotime( 'now' );
126
+
127
  if ( $bws_license_key == $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) {
128
  $message = __( 'The license key is valid.', 'bestwebsoft' );
129
  if ( isset( $value->time_out ) && $value->time_out != '' )
130
  $message .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
131
  } else {
132
  $message = __( 'Congratulations! Pro Membership license is successfully activated.', 'bestwebsoft' );
133
+ }
134
 
135
+ $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
136
  }
137
  }
138
  } else {
139
+ $error = __( "Something went wrong. Try again later or upload the plugin manually. We are sorry for inconvenience.", 'bestwebsoft' );
140
  }
141
  }
142
+
143
  if ( is_multisite() )
144
  update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
145
  else
148
  } else {
149
  $error = __( "Please enter your license key.", 'bestwebsoft' );
150
  }
151
+ }
152
  }
153
 
154
  if ( 'bws_system_status' == $_GET['page'] ) {
217
  else
218
  $system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
219
  }
220
+
221
 
222
  if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) || ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
223
  if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
269
  }
270
  } ?>
271
  <div class="bws-wrap">
272
+ <div class="bws-header">
273
  <div class="bws-title">
274
  <a href="<?php echo self_admin_url( 'admin.php?page=bws_panel' ); ?>">
275
  <img class="bws-logo" src="<?php echo plugins_url( 'images/bestwebsoft-logo-white.svg', __FILE__ ); ?>" />
284
  </div>
285
  <div class="bws-help-links-wrapper">
286
  <a <?php if ( 'bws_system_status' == $_GET['page'] ) echo ' class="bws-nav-tab-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_system_status' ); ?>"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
287
+ <a href="<?php echo esc_url( 'http://support.bestwebsoft.com/home' ); ?>" target="_blank"><?php _e( 'Support', 'bestwebsoft' ); ?></a>
288
+ <a href="<?php echo esc_url( 'http://bestwebsoft.com/wp-admin/admin.php?page=client-area' ); ?>" target="_blank" title="<?php _e( 'Manage purchased licenses & subscriptions', 'bestwebsoft' ); ?>"><?php _e( 'Client Area', 'bestwebsoft' ); ?></a>
289
+ </div>
290
  <div class="clear"></div>
291
  </div>
292
  <?php if ( 'bws_panel' == $_GET['page'] && ! isset( $_POST['bws_plugin_action_submit'] ) ) { ?>
293
  <div class="bws-membership-wrap">
294
  <div class="bws-membership-backround"></div>
295
+ <div class="bws-membership">
296
+ <div class="bws-membership-title"><?php printf( __( 'Get Access to %s+ Premium Plugins', 'bestwebsoft' ), '30' ); ?></div>
297
  <form class="bws-membership-form" method="post" action="">
298
+ <span class="bws-membership-link"><a target="_blank" href="http://bestwebsoft.com/membership/"><?php _e( 'Subscribe to Pro Membership', 'bestwebsoft' ); ?></a> <?php _e( 'or', 'bestwebsoft' ); ?></span>
299
  <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
300
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
301
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
303
  <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
304
  <div class="bws_error"><?php _e( "Unfortunately, you have exceeded the number of available tries per day.", 'bestwebsoft' ); ?></div>
305
  </div>
306
+ <input disabled="disabled" type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
307
  <?php } else { ?>
308
+ <div class="bws_form_input_wrap">
309
  <input <?php if ( "" != $error ) echo "class=\"bws_input_error\""; ?> type="text" placeholder="<?php _e( 'Enter your license key', 'bestwebsoft' ); ?>" maxlength="100" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
310
  <div class="bws_error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><?php echo $error; ?></div>
311
  </div>
315
  <input type="submit" class="bws-button" value="<?php _e( 'Activate', 'bestwebsoft' ); ?>" />
316
  <?php } else { ?>
317
  <input type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
318
+ <?php } ?>
319
+ <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_nonce_name' ); ?>
320
+ <?php } ?>
321
  </form>
322
+ <div class="clear"></div>
323
  </div>
324
+ </div>
325
  <?php } ?>
326
+ <div class="bws-wrap-content wrap">
327
  <?php if ( 'bws_panel' == $_GET['page'] ) { ?>
328
  <div class="updated notice is-dismissible inline" <?php if ( '' == $message || '' != $error ) echo "style=\"display:none\""; ?>><p><?php echo $message; ?></p></div>
329
  <h1>
350
 
351
  $url = $plugins_array[ $bws_license_plugin ]['link'] . '&download_from=5';
352
 
353
+ echo '<p>' . __( "Downloading install package from", 'bestwebsoft' ) . ' ' . $url . '</p>';
354
 
355
  $uploadDir = wp_upload_dir();
356
  $zip_name = explode( '/', $bws_license_plugin );
357
+
358
+ if ( !function_exists( 'curl_init' ) ) {
359
  $received_content = file_get_contents( $url );
360
  } else {
361
  $ch = curl_init();
364
  curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );
365
  $received_content = curl_exec( $ch );
366
  curl_close( $ch );
367
+ }
368
 
369
  if ( ! $received_content ) {
370
  $error = __( "Failed to download the zip archive. Please, upload the plugin manually", 'bestwebsoft' );
410
  } else {
411
  if ( empty( $error ) )
412
  $error = __( "Failed to download the zip archive. Please, upload the plugin manually", 'bestwebsoft' );
413
+
414
  echo '<p class="error">' . $error . '</p>';
415
  echo '<p><a href="' . self_admin_url( 'admin.php?page=bws_panel' ) . '" target="_parent">' . __( 'Return to BestWebSoft Panel', 'bestwebsoft' ) . '</a></p>';
416
  }
417
+ } else { ?>
418
  <ul class="subsubsub">
419
  <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_panel<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
420
  <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_panel&amp;sub=installed<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
421
  <li><a <?php if ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_panel&amp;sub=not_installed<?php if ( 'all' != $plugin_category ) echo '&amp;category=' . $plugin_category; ?>"><?php _e( 'Not Installed', 'bestwebsoft' ); ?></a></li>
422
  </ul>
423
  <div class="clear"></div>
424
+ <div class="bws-filter-top">
425
  <h2>
426
  <span class="bws-toggle-indicator"></span>
427
  <?php _e( 'Filter results', 'bestwebsoft' ); ?>
433
  <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&amp;sub=' . $_GET['sub'] : ''; ?>
434
  <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
435
  <span>(<?php echo count( $bws_plugins ); ?>)</span>
436
+ </a>
437
  </li>
438
  <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
439
  <li>
440
  <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url . '&amp;category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
441
  <span>(<?php echo $category_value['count']; ?>)</span>
442
+ </a>
443
  </li>
444
  <?php } ?>
445
  </ul>
447
  </div>
448
  <div class="bws-products">
449
  <?php $nothing_found = true;
450
+ foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
451
 
452
+ if ( 'all' != $plugin_category && isset( $bws_plugins_category[ $plugin_category ] ) && ! in_array( $plugin_category, $value_plugin['category'] ) )
453
  continue;
454
 
455
  $key_plugin_explode = explode( '/', $key_plugin );
456
 
457
+ $icon = isset( $value_plugin['icon'] ) ? $value_plugin['icon'] : '//ps.w.org/' . $key_plugin_explode[0] . '/assets/icon-128x128.png';
458
  $is_pro_isset = isset( $value_plugin['pro_version'] );
459
  $is_installed = array_key_exists( $key_plugin, $all_plugins );
460
  $is_active = in_array( $key_plugin, $active_plugins ) || isset( $sitewide_active_plugins[ $key_plugin ] );
467
 
468
  if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] && ! $is_pro_installed && ! $is_installed ) ||
469
  ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] && ( $is_pro_installed || $is_installed ) ) )
470
+ continue;
471
 
472
  $link_attr = isset( $value_plugin['install_url'] ) ? 'href="' . $value_plugin['install_url'] . '" target="_blank"' : 'href="' . esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $key_plugin_explode[0] . '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox open-plugin-details-modal"';
473
 
479
  <div class="bws_product_content">
480
  <div class="bws_product_title"><a <?php echo $link_attr; ?>><?php echo $value_plugin['name']; ?></a></div>
481
  <div class="bws-version">
482
+ <?php
483
  if ( $is_pro_installed ) {
484
  echo '<span';
485
  if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
489
  echo '<span';
490
  if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
491
  echo ' class="bws-update-available"';
492
+ echo '>v ' . $all_plugins[ $key_plugin ]['Version'] . '</span>';
493
  } else {
494
+ echo '<span>' . __( 'Not installed', 'bestwebsoft' ) . '</span>';
495
  }
496
 
497
  if ( ! empty( $value_plugin['expired'] ) ) {
502
  } ?>
503
  </div>
504
  <div class="bws_product_description">
505
+ <?php echo ( strlen( $value_plugin['description'] ) > 100 ) ? substr( $value_plugin['description'], 0, 100 ) . '...' : $value_plugin['description']; ?>
506
  </div>
507
  <div class="bws_product_links">
508
  <?php if ( $is_active || $is_pro_active ) {
528
  <?php } else { ?>
529
  <a class="bws_settings" href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>"><?php _e( 'Settings', 'bestwebsoft' ); ?></a>
530
  <?php }
531
+ } else {
532
  if ( $is_pro_installed ) { ?>
533
  <a class="button button-secondary" href="<?php echo wp_nonce_url( 'admin.php?page=bws_panel&amp;bws_activate_plugin=' . $value_plugin['pro_version'], 'bws_activate_plugin' . $value_plugin['pro_version'] ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
534
  <?php } elseif ( ! empty( $plugins_array ) && isset( $value_plugin['pro_version'] ) && array_key_exists( $value_plugin['pro_version'], $plugins_array ) ) { ?>
540
  </form>
541
  <?php } elseif ( $is_installed ) { ?>
542
  <a class="button button-secondary" href="<?php echo wp_nonce_url( 'admin.php?page=bws_panel&amp;bws_activate_plugin=' . $key_plugin, 'bws_activate_plugin' . $key_plugin ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
543
+ <?php } else {
544
  $install_url = isset( $value_plugin['install_url'] ) ? $value_plugin['install_url'] : esc_url( self_admin_url( 'plugin-install.php?tab=search&type=term&s=' . str_replace( ' ', '+', $value_plugin['name'] ) . '+BestWebSoft&plugin-search-input=Search+Plugins' ) ); ?>
545
  <a class="button button-secondary" href="<?php echo $install_url; ?>" title="<?php _e( 'Install this plugin', 'bestwebsoft' ); ?>" target="_blank"><?php _e( 'Install Now', 'bestwebsoft' ); ?></a>
546
  <?php }
548
  </div>
549
  </div>
550
  <div class="clear"></div>
551
+ </div>
552
  <?php }
553
  if ( $nothing_found ) { ?>
554
  <p class="description"><?php _e( 'Nothing found. Try another criteria.', 'bestwebsoft' ); ?></p>
562
  <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&amp;sub=' . $_GET['sub'] : ''; ?>
563
  <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
564
  <span>(<?php echo count( $bws_plugins ); ?>)</span>
565
+ </a>
566
  </li>
567
  <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
568
  <li>
569
  <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( 'admin.php?page=bws_panel' . $sub_in_url . '&amp;category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
570
  <span>(<?php echo $category_value['count']; ?>)</span>
571
+ </a>
572
  </li>
573
  <?php } ?>
574
  </ul>
575
  </div>
576
+ </div><!-- #bws-filter-wrapper -->
577
  <div class="clear"></div>
578
  <?php }
579
+ } elseif ( 'bws_themes' == $_GET['page'] ) {
580
  require_once( dirname( __FILE__ ) . '/product_list.php' ); ?>
581
  <h1><?php _e( 'Themes', 'bestwebsoft' ); ?></h1>
582
  <div id="availablethemes" class="bws-availablethemes">
613
  <div class="theme-actions">
614
  <a class="button button-secondary preview install-theme-preview" href="<?php echo $theme->href; ?>" target="_blank"><?php esc_html_e( 'Learn More', 'bestwebsoft' ); ?></a>
615
  </div>
616
+ <?php if ( $installed_theme->exists() ) {
617
  if ( $wp_version < '4.6' ) { ?>
618
  <div class="theme-installed"><?php _e( 'Already Installed', 'bestwebsoft' ); ?></div>
619
  <?php } else { ?>
628
  <?php } ?>
629
  <p><a class="bws_browse_link" href="http://bestweblayout.com/categories/themes/" target="_blank"><?php _e( 'Browse Free WordPress Themes', 'bestwebsoft' ); ?> <span class="dashicons dashicons-arrow-right-alt2"></span></a></p>
630
  </div>
631
+ <?php } elseif ( 'bws_system_status' == $_GET['page'] ) { ?>
632
  <h1><?php _e( 'System status', 'bestwebsoft' ); ?></h1>
633
  <div class="updated fade notice is-dismissible inline" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
634
  <div class="error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
685
  } ?>
686
  </tbody>
687
  </table>
688
+ <div class="clear"></div>
689
  </div>
690
  <?php } ?>
691
  </div>
696
  if ( ! function_exists( 'bws_get_banner_array' ) ) {
697
  function bws_get_banner_array() {
698
  global $bstwbsftwppdtplgns_banner_array;
699
+ $bstwbsftwppdtplgns_banner_array = array(
700
+ array( 'sclbttns_hide_banner_on_plugin_page', 'social-buttons-pack/social-buttons-pack.php', '1.1.0' ),
701
+ array( 'tmsht_hide_banner_on_plugin_page', 'timesheet/timesheet.php', '0.1.3' ),
702
+ array( 'pgntn_hide_banner_on_plugin_page', 'pagination/pagination.php', '1.0.6' ),
703
  array( 'crrntl_hide_banner_on_plugin_page', 'car-rental/car-rental.php', '1.0.0' ),
704
  array( 'lnkdn_hide_banner_on_plugin_page', 'bws-linkedin/bws-linkedin.php', '1.0.1' ),
705
  array( 'pntrst_hide_banner_on_plugin_page', 'bws-pinterest/bws-pinterest.php', '1.0.1' ),
707
  array( 'gglcptch_hide_banner_on_plugin_page', 'google-captcha/google-captcha.php', '1.18' ),
708
  array( 'mltlngg_hide_banner_on_plugin_page', 'multilanguage/multilanguage.php', '1.1.1' ),
709
  array( 'adsns_hide_banner_on_plugin_page', 'adsense-plugin/adsense-plugin.php', '1.36' ),
710
+ array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
711
  array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
712
  array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
713
  array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
bws_menu/css/style.css CHANGED
@@ -179,6 +179,7 @@ a.toplevel_page_bws_panel.wp-has-current-submenu:after {
179
  .bws_error {
180
  color: #c5412b;
181
  margin-top: 1px;
 
182
  }
183
  .bws_error a {
184
  color: #fff;
179
  .bws_error {
180
  color: #c5412b;
181
  margin-top: 1px;
182
+ max-width: 230px;
183
  }
184
  .bws_error a {
185
  color: #fff;
bws_menu/product_list.php CHANGED
@@ -12,7 +12,7 @@ $bws_plugins_category = array(
12
  'site-stats' => array( 'name' => __( 'Site Stats', 'bestwebsoft' ) ),
13
  'social' => array( 'name' => __( 'Social', 'bestwebsoft' ) ),
14
  'utilities' => array( 'name' => __( 'Utilities', 'bestwebsoft' ) ),
15
- 'other' => array( 'name' => __( 'Other', 'bestwebsoft' ) ),
16
  );
17
 
18
  $bws_plugins = array(
@@ -20,82 +20,82 @@ $bws_plugins = array(
20
  'category' => array( 'security', 'recommended' ),
21
  'name' => 'Captcha',
22
  'description' => 'Protect WordPress website forms from spam entries by means of math logic.',
23
- 'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
24
  'settings' => 'admin.php?page=captcha.php',
25
  'pro_version' => 'captcha-pro/captcha_pro.php',
26
- 'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
27
  'pro_settings' => 'admin.php?page=captcha_pro.php'
28
  ),
29
  'car-rental/car-rental.php' => array(
30
  'category' => array( 'content-and-media' ),
31
  'name' => 'Car Rental',
32
  'description' => 'Create your personal car rental/booking and reservation website.',
33
- 'link' => 'http://bestwebsoft.com/products/car-rental/?k=444cac6df9a0d3a9763ab4753d24941b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
34
  'settings' => 'admin.php?page=car-rental-settings',
35
  'pro_version' => 'car-rental-pro/car-rental-pro.php',
36
- 'purchase' => 'http://bestwebsoft.com/products/car-rental/buy/?k=7643d4f0698252fa1159de078d22269c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37
  'pro_settings' => 'admin.php?page=car-rental-pro-settings'
38
  ),
39
  'contact-form-plugin/contact_form.php' => array(
40
  'category' => array( 'other', 'recommended' ),
41
  'name' => 'Contact Form',
42
  'description' => 'Allow customers to reach you using secure contact form plugin any website must have.',
43
- 'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
44
  'settings' => 'admin.php?page=contact_form.php',
45
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
46
- 'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
47
  'pro_settings' => 'admin.php?page=contact_form_pro.php'
48
  ),
49
  'contact-form-multi/contact-form-multi.php' => array(
50
  'category' => array( 'other', 'recommended' ),
51
  'name' => 'Contact Form Multi',
52
  'description' => 'Add unlimited number of contact forms to WordPress website.',
53
- 'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54
  'settings' => '',
55
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
56
- 'purchase' => 'http://bestwebsoft.com/products/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57
  'pro_settings' => ''
58
  ),
59
  'contact-form-to-db/contact_form_to_db.php' => array(
60
  'category' => array( 'other', 'recommended' ),
61
  'name' => 'Contact Form to DB',
62
  'description' => 'Save and manage contact form messages. Never lose important data.',
63
- 'link' => 'http://bestwebsoft.com/products/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
64
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
65
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
66
- 'purchase' => 'http://bestwebsoft.com/products/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
67
  'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
68
  ),
69
  'custom-admin-page/custom-admin-page.php' => array(
70
  'category' => array( 'utilities' ),
71
  'name' => 'Custom Admin Page',
72
  'description' => 'Add unlimited custom pages to WordPress admin dashboard.',
73
- 'link' => 'http://bestwebsoft.com/products/custom-admin-page/?k=9ac03f16c25e845e8e055a221c3e1467&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74
  'settings' => 'admin.php?page=custom-admin-page.php'
75
  ),
76
  'custom-fields-search/custom-fields-search.php' => array(
77
  'category' => array( 'content-and-media' ),
78
  'name' => 'Custom Fields Search',
79
  'description' => 'Add custom fields to WordPress website search results.',
80
- 'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
81
  'settings' => 'admin.php?page=custom_fields_search.php'
82
  ),
83
  'custom-search-plugin/custom-search-plugin.php' => array(
84
  'category' => array( 'content-and-media' ),
85
  'name' => 'Custom Search',
86
  'description' => 'Add custom post types to WordPress website search results.',
87
- 'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
88
  'settings' => 'admin.php?page=custom_search.php',
89
  'pro_version' => 'custom-search-pro/custom-search-pro.php',
90
- 'purchase' => 'http://bestwebsoft.com/products/custom-search/buy/?k=062b652ac6ac8ba863c9f30fc21d62c6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
91
  'pro_settings' => 'admin.php?page=custom_search_pro.php'
92
- ),
93
  'db-manager/db-manager.php' => array(
94
  'category' => array( 'utilities' ),
95
  'name' => 'DB Manager',
96
  'description' => 'Manage database and file system right from your WordPress admin dashboard.',
97
- 'link' => 'http://bestwebsoft.com/products/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98
- 'install_url' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
99
  'settings' => 'admin.php?page=db-manager.php',
100
  'icon' => plugins_url( 'icons/plugins/', __FILE__ ) . 'db-manager.png'
101
  ),
@@ -103,396 +103,405 @@ $bws_plugins = array(
103
  'category' => array( 'other' ),
104
  'name' => 'Donate',
105
  'description' => 'Add PayPal and 2CO donate buttons to receive charity payments.',
106
- 'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107
  'settings' => 'admin.php?page=donate.php'
108
  ),
109
  'email-queue/email-queue.php' => array(
110
  'category' => array( 'other' ),
111
  'name' => 'Email Queue',
112
  'description' => 'Automatically add outgoing email messages to queue instead of sending them immediately.',
113
- 'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
114
  'settings' => 'admin.php?page=mlq_settings'
115
  ),
116
  'error-log-viewer/error-log-viewer.php' => array(
117
  'category' => array( 'utilities' ),
118
  'name' => 'Error Log Viewer',
119
  'description' => 'Get latest error log messages to diagnose website problems. Define and fix issues faster.',
120
- 'link' => 'http://bestwebsoft.com/products/error-log-viewer/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
121
  'settings' => 'admin.php?page=rrrlgvwr.php&tab=settings'
122
  ),
123
  'facebook-button-plugin/facebook-button-plugin.php' => array(
124
  'category' => array( 'social' ),
125
  'name' => 'Facebook Button',
126
  'description' => 'Add Facebook Like, Share and Profile buttons to WordPress posts, pages and widgets.',
127
- 'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
128
  'settings' => 'admin.php?page=facebook-button-plugin.php',
129
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
130
- 'purchase' => 'http://bestwebsoft.com/products/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
131
  'pro_settings' => 'admin.php?page=facebook-button-pro.php'
132
  ),
133
  'bws-featured-posts/bws-featured-posts.php' => array(
134
  'category' => array( 'content-and-media' ),
135
  'name' => 'Featured Posts',
136
  'description' => 'Add featured posts to WordPress posts or widgets. Highlight important information.',
137
- 'link' => 'http://bestwebsoft.com/products/featured-posts/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138
  'settings' => 'admin.php?page=featured-posts.php'
139
- ),
140
  'gallery-plugin/gallery-plugin.php' => array(
141
  'category' => array( 'content-and-media', 'recommended' ),
142
  'name' => 'Gallery',
143
  'description' => 'Add beautiful galleries, albums & images to your Wordpress website in few clicks.',
144
- 'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
145
  'settings' => 'admin.php?page=gallery-plugin.php',
146
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
147
- 'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
148
  'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
149
  ),
150
  'gallery-categories/gallery-categories.php' => array(
151
  'category' => array( 'content-and-media' ),
152
  'name' => 'Gallery Categories',
153
  'description' => 'Add unlimited gallery categories. Organize images to make the navigation through content easier.',
154
- 'link' => 'http://bestwebsoft.com/products/gallery-categories/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155
  'settings' => ''
156
  ),
157
  'google-one/google-plus-one.php' => array(
158
  'category' => array( 'social' ),
159
  'name' => 'Google +1',
160
  'description' => 'Add Google +1 Share, Follow, Hangout buttons and profile badge to WordPress posts, pages and widgets.',
161
- 'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
162
  'settings' => 'admin.php?page=google-plus-one.php',
163
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
164
- 'purchase' => 'http://bestwebsoft.com/products/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
165
  'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
166
  ),
167
  'adsense-plugin/adsense-plugin.php' => array(
168
  'category' => array( 'advertisement' ),
169
  'name' => 'Google AdSense',
170
  'description' => 'Add Adsense ads to pages, posts, custom posts, search results, categories, tags, pages, and widgets.',
171
- 'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
172
  'settings' => 'admin.php?page=adsense-plugin.php',
173
  'pro_version' => 'adsense-pro/adsense-pro.php',
174
- 'purchase' => 'http://bestwebsoft.com/products/google-adsense/buy/?k=c23889b293d62aa1ad2c96513405f0e1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175
  'pro_settings' => 'admin.php?page=adsense-pro.php'
176
  ),
177
  'bws-google-analytics/bws-google-analytics.php' => array(
178
  'category' => array( 'site-stats' ),
179
  'name' => 'Google Analytics',
180
  'description' => 'Add Google Analytics code to WordPress website and track basic stats.',
181
- 'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
182
  'settings' => 'admin.php?page=bws-google-analytics.php',
183
  'pro_version' => 'bws-google-analytics-pro/bws-google-analytics-pro.php',
184
- 'purchase' => 'http://bestwebsoft.com/products/bws-google-analytics/buy/?k=83796e84fec3f70ecfcc8894a73a6c4a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185
  'pro_settings' => 'admin.php?page=bws-google-analytics-pro.php'
186
  ),
187
  'google-captcha/google-captcha.php' => array(
188
  'category' => array( 'security', 'recommended' ),
189
  'name' => 'Google Captcha (reCAPTCHA)',
190
  'description' => 'Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).',
191
- 'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
192
  'settings' => 'admin.php?page=google-captcha.php',
193
  'pro_version' => 'google-captcha-pro/google-captcha-pro.php',
194
- 'purchase' => 'http://bestwebsoft.com/products/google-captcha/buy/?k=773d30149acf1edc32e5c0766b96c134&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195
  'pro_settings' => 'admin.php?page=google-captcha-pro.php'
196
  ),
197
  'bws-google-maps/bws-google-maps.php' => array(
198
  'category' => array( 'content-and-media' ),
199
  'name' => 'Google Maps',
200
  'description' => 'Add customized Google maps to WordPress posts, pages and widgets.',
201
- 'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
202
  'settings' => 'admin.php?page=bws-google-maps.php',
203
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
204
- 'purchase' => 'http://bestwebsoft.com/products/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
205
  'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
206
  ),
207
  'google-sitemap-plugin/google-sitemap-plugin.php' => array(
208
  'category' => array( 'other', 'recommended' ),
209
  'name' => 'Google Sitemap',
210
  'description' => 'Generate and add XML sitemap to WordPress website. Help search engines index your blog.',
211
- 'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
213
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
214
- 'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
215
  'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
216
- ),
217
  'google-shortlink/google-shortlink.php' => array(
218
  'category' => array( 'other' ),
219
  'name' => 'Google Shortlink',
220
  'description' => 'Replace external WordPress website links with Google shortlinks and track click stats.',
221
- 'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
222
  'settings' => 'admin.php?page=gglshrtlnk_options'
223
- ),
224
  'htaccess/htaccess.php' => array(
225
  'category' => array( 'security' ),
226
  'name' => 'Htaccess',
227
  'description' => 'Protect WordPress website – allow and deny access for certain IP addresses, hostnames, etc.',
228
- 'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
229
  'settings' => 'admin.php?page=htaccess.php',
230
  'pro_version' => 'htaccess-pro/htaccess-pro.php',
231
- 'purchase' => 'http://bestwebsoft.com/products/htaccess/buy/?k=59e9209a32864be534fda77d5e591c15&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
232
  'pro_settings' => 'admin.php?page=htaccess-pro.php'
233
  ),
234
  'job-board/job-board.php' => array(
235
  'category' => array( 'content-and-media' ),
236
  'name' => 'Job Board',
237
  'description' => 'Create your personal job board and listing WordPress website. Search jobs, submit CV/resumes, choose candidates.',
238
- 'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
239
  'settings' => 'admin.php?page=job-board.php'
240
  ),
241
  'bws-latest-posts/bws-latest-posts.php' => array(
242
  'category' => array( 'content-and-media' ),
243
  'name' => 'Latest Posts',
244
  'description' => 'Add latest posts or latest posts for selected categories widgets to WordPress website.',
245
- 'link' => 'http://bestwebsoft.com/products/latest-posts/?k=ef4e125aadadd8d219140daa184a9399&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
246
  'settings' => 'admin.php?page=latest-posts.php'
247
  ),
248
  'limit-attempts/limit-attempts.php' => array(
249
  'category' => array( 'security', 'recommended' ),
250
  'name' => 'Limit Attempts',
251
  'description' => 'Protect WordPress website against brute force attacks. Limit rate of login attempts.',
252
- 'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
253
  'settings' => 'admin.php?page=limit-attempts.php',
254
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
255
- 'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
256
  'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
257
  ),
258
  'bws-linkedin/bws-linkedin.php' => array(
259
  'category' => array( 'social' ),
260
  'name' => 'LinkedIn',
261
  'description' => 'Add LinkedIn Share and Follow buttons to WordPress posts, pages and widgets. 5 plugins included – profile, insider, etc.',
262
- 'link' => 'http://bestwebsoft.com/products/linkedin/?k=d63c7319622ccc5f589dd2d545c1d77c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
263
  'settings' => 'admin.php?page=linkedin.php',
264
  'pro_version' => 'bws-linkedin-pro/bws-linkedin-pro.php',
265
- 'purchase' => 'http://bestwebsoft.com/products/linkedin/buy/?k=41dcc36192994408d24b103a02134567&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
266
  'pro_settings' => 'admin.php?page=linkedin-pro.php'
267
  ),
268
  'multilanguage/multilanguage.php' => array(
269
  'category' => array( 'content-and-media', 'recommended' ),
270
  'name' => 'Multilanguage',
271
  'description' => 'Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.',
272
- 'link' => 'http://bestwebsoft.com/products/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
273
  'settings' => 'admin.php?page=mltlngg_settings',
274
  'pro_version' => 'multilanguage-pro/multilanguage-pro.php',
275
- 'purchase' => 'http://bestwebsoft.com/products/multilanguage/buy/?k=2d1121cd9a5ced583fc29eefd51bdf57&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
  'pro_settings' => 'admin.php?page=mltlnggpr_settings'
277
- ),
278
  'pagination/pagination.php' => array(
279
  'category' => array( 'content-and-media' ),
280
  'name' => 'Pagination',
281
  'description' => 'Add customizable pagination to WordPress website. Split long content to multiple pages for better navigation.',
282
- 'link' => 'http://bestwebsoft.com/products/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
283
- 'settings' => 'admin.php?page=pagination.php'
 
 
 
284
  ),
285
  'pdf-print/pdf-print.php' => array(
286
  'category' => array( 'other' ),
287
  'name' => 'PDF & Print',
288
  'description' => 'Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.',
289
- 'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
290
  'settings' => 'admin.php?page=pdf-print.php',
291
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
292
- 'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
293
  'pro_settings' => 'admin.php?page=pdf-print-pro.php'
294
  ),
295
  'bws-pinterest/bws-pinterest.php' => array(
296
  'category' => array( 'social' ),
297
  'name' => 'Pinterest',
298
  'description' => 'Add Pinterest Follow, Pin It buttons and profile widgets (Pin, Board, Profile) to WordPress posts, pages and widgets.',
299
- 'link' => 'http://bestwebsoft.com/products/pinterest/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
300
  'settings' => 'admin.php?page=pinterest.php',
301
  'pro_version' => 'bws-pinterest-pro/bws-pinterest-pro.php',
302
- 'purchase' => 'http://bestwebsoft.com/products/pinterest/buy/?k=ab0069edd1914a3ca8f541bfd88bb0bb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
303
  'pro_settings' => 'admin.php?page=pinterest-pro.php'
304
  ),
305
  'bws-popular-posts/bws-popular-posts.php' => array(
306
  'category' => array( 'content-and-media', 'recommended' ),
307
  'name' => 'Popular Posts',
308
  'description' => 'Track views, comments and add most popular posts to Wordpress widgets.',
309
- 'link' => 'http://bestwebsoft.com/products/popular-posts/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
310
  'settings' => 'admin.php?page=popular-posts.php'
311
  ),
312
  'portfolio/portfolio.php' => array(
313
  'category' => array( 'content-and-media', 'recommended' ),
314
  'name' => 'Portfolio',
315
  'description' => 'Create your personal portfolio WordPress website. Manage and showcase past projects to get more clients.',
316
- 'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
317
  'settings' => 'admin.php?page=portfolio.php',
318
  'pro_version' => 'portfolio-pro/portfolio-pro.php',
319
- 'purchase' => 'http://bestwebsoft.com/products/portfolio/buy/?k=2cc716026197d36538a414b728e49fdd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
320
  'pro_settings' => 'admin.php?page=portfolio-pro.php'
321
  ),
322
  'post-to-csv/post-to-csv.php' => array(
323
  'category' => array( 'utilities' ),
324
  'name' => 'Post to CSV',
325
  'description' => 'Export WordPress posts to CSV file format easily. Configure data order.',
326
- 'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
327
  'settings' => 'admin.php?page=post-to-csv.php'
328
  ),
329
  'profile-extra-fields/profile-extra-fields.php' => array(
330
  'category' => array( 'management' ),
331
  'name' => 'Profile Extra Fields',
332
  'description' => 'Add extra fields to default WordPress user profile. The easiest way to create and manage additional custom values.',
333
- 'link' => 'http://bestwebsoft.com/products/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
334
  'settings' => 'admin.php?page=profile-extra-fields.php'
335
  ),
336
  'promobar/promobar.php' => array(
337
  'category' => array( 'advertisement' ),
338
  'name' => 'PromoBar',
339
  'description' => 'Add and display HTML advertisement on WordPress website. Customize bar styles and appearance.',
340
- 'link' => 'http://bestwebsoft.com/products/promobar/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
341
  'settings' => 'admin.php?page=promobar.php',
342
  'pro_version' => 'promobar-pro/promobar-pro.php',
343
- 'purchase' => 'http://bestwebsoft.com/products/promobar/buy/?k=a9b09708502f12a1483532ba12fe2103&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
344
  'pro_settings' => 'admin.php?page=promobar-pro.php'
345
  ),
346
  'quotes-and-tips/quotes-and-tips.php' => array(
347
  'category' => array( 'content-and-media' ),
348
  'name' => 'Quotes and Tips',
349
  'description' => 'Add customizable quotes and tips blocks to WordPress posts, pages and widgets.',
350
- 'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
351
  'settings' => 'admin.php?page=quotes-and-tips.php'
352
  ),
353
  'realty/realty.php' => array(
354
  'category' => array( 'content-and-media' ),
355
  'name' => 'Realty',
356
  'description' => 'Create your personal real estate WordPress website. Sell, rent and buy properties. Add, search and browse listings easily.',
357
- 'link' => 'http://bestwebsoft.com/products/realty/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
358
  'settings' => 'admin.php?page=realty_settings',
359
  'pro_version' => 'realty-pro/realty-pro.php',
360
- 'purchase' => 'http://bestwebsoft.com/products/realty/buy/?k=c7791f0a72acfb36f564a614dbccb474&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
361
  'pro_settings' => 'admin.php?page=realty_pro_settings'
362
- ),
363
  're-attacher/re-attacher.php' => array(
364
  'category' => array( 'utilities' ),
365
  'name' => 'Re-attacher',
366
  'description' => 'Attach, unattach and re-attach media files quickly to WordPress posts and pages.',
367
- 'link' => 'http://bestwebsoft.com/products/re-attacher/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
368
  'settings' => 'admin.php?page=re-attacher.php'
369
  ),
370
  'relevant/related-posts-plugin.php' => array(
371
  'category' => array( 'content-and-media', 'recommended' ),
372
  'name' => 'Relevant - Related Posts',
373
  'description' => 'Add related posts to WordPress posts or widgets. Link your readers to relevant content.',
374
- 'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
375
  'settings' => 'admin.php?page=related-posts-plugin.php'
376
  ),
377
  'sender/sender.php' => array(
378
  'category' => array( 'social', 'recommended' ),
379
  'name' => 'Sender',
380
  'description' => 'Send bulk email messages to WordPress users. Custom templates, advanced settings and detailed reports.',
381
- 'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
382
  'settings' => 'admin.php?page=sndr_settings',
383
  'pro_version' => 'sender-pro/sender-pro.php',
384
- 'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
385
  'pro_settings' => 'admin.php?page=sndrpr_settings'
386
  ),
387
  'bws-smtp/bws-smtp.php' => array(
388
  'category' => array( 'utilities' ),
389
  'name' => 'SMTP',
390
  'description' => 'Configure SMTP server to receive email messages from WordPress to Gmail, Yahoo, Hotmail and other services.',
391
- 'link' => 'http://bestwebsoft.com/products/smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
392
  'settings' => 'admin.php?page=bwssmtp_settings'
393
  ),
394
  'social-buttons-pack/social-buttons-pack.php' => array(
395
  'category' => array( 'social', 'recommended' ),
396
  'name' => 'Social Buttons Pack',
397
  'description' => 'Add social media buttons and widgets to WordPress posts, pages and widgets. FB, Twitter, G+1, Pinterest, LinkedIn.',
398
- 'link' => 'http://bestwebsoft.com/products/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
399
- 'settings' => 'admin.php?page=social-buttons.php'
 
 
 
400
  ),
401
  'subscriber/subscriber.php' => array(
402
  'category' => array( 'social', 'recommended' ),
403
  'name' => 'Subscriber',
404
  'description' => 'Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.',
405
- 'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
406
  'settings' => 'admin.php?page=sbscrbr_settings_page',
407
  'pro_version' => 'subscriber-pro/subscriber-pro.php',
408
- 'purchase' => 'http://bestwebsoft.com/products/subscriber/buy/?k=02dbb8b549925d9b74e70adc2a7282e4&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
409
  'pro_settings' => 'admin.php?page=sbscrbrpr_settings_page'
410
  ),
411
  'bws-testimonials/bws-testimonials.php' => array(
412
  'category' => array( 'content-and-media', 'recommended' ),
413
  'name' => 'Testimonials',
414
  'description' => 'Add testimonials and feedbacks from your customers to WordPress posts, pages and widgets.',
415
- 'link' => 'http://bestwebsoft.com/products/testimonials/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
416
  'settings' => 'admin.php?page=testimonials.php'
417
  ),
418
  'timesheet/timesheet.php' => array(
419
  'category' => array( 'management' ),
420
  'name' => 'Timesheet',
421
  'description' => 'Best timesheet plugin for WordPress. Track employee time, streamline attendance and generate reports.',
422
- 'link' => 'http://bestwebsoft.com/products/timesheet/?k=06a58bb78c17a43df01825925f05a5c1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
423
- 'settings' => 'admin.php?page=timesheet_settings'
424
- ),
 
 
 
425
  'twitter-plugin/twitter.php' => array(
426
  'category' => array( 'social' ),
427
  'name' => 'Twitter',
428
  'description' => 'Add Twitter Follow, Tweet, Hashtag, and Mention buttons to WordPress posts, pages and widgets.',
429
- 'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
430
  'settings' => 'admin.php?page=twitter.php',
431
  'pro_version' => 'twitter-pro/twitter-pro.php',
432
- 'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
433
  'pro_settings' => 'admin.php?page=twitter-pro.php'
434
  ),
435
  'updater/updater.php' => array(
436
  'category' => array( 'utilities', 'recommended' ),
437
  'name' => 'Updater',
438
  'description' => 'Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.',
439
- 'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
440
  'settings' => 'admin.php?page=updater-options',
441
  'pro_version' => 'updater-pro/updater_pro.php',
442
- 'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
443
  'pro_settings' => 'admin.php?page=updater-pro-options'
444
  ),
445
  'user-role/user-role.php' => array(
446
  'category' => array( 'utilities' ),
447
  'name' => 'User Role',
448
  'description' => 'Powerful user role management plugin for WordPress website. Create, edit, copy, and delete user roles.',
449
- 'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
450
  'settings' => 'admin.php?page=user-role.php',
451
  'pro_version' => 'user-role-pro/user-role-pro.php',
452
- 'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
453
  'pro_settings' => 'admin.php?page=user-role-pro.php'
454
- ),
455
  'visitors-online/visitors-online.php' => array(
456
  'category' => array( 'site-stats' ),
457
  'name' => 'Visitors Online',
458
  'description' => 'Display live count of online visitors who are currently browsing your WordPress website.',
459
- 'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
460
  'settings' => 'admin.php?page=visitors-online.php',
461
  'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
462
- 'purchase' => 'http://bestwebsoft.com/products/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
463
  'pro_settings' => 'admin.php?page=visitors-online-pro.php'
464
- ),
465
  'zendesk-help-center/zendesk-help-center.php' => array(
466
  'category' => array( 'utilities' ),
467
  'name' => 'Zendesk Help Center',
468
  'description' => 'Backup and export Zendesk Help Center content automatically to your WordPress website database.',
469
- 'link' => 'http://bestwebsoft.com/products/zendesk-help-center/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
470
  'settings' => 'admin.php?page=zendesk_hc.php&action=settings',
471
  'pro_version' => 'zendesk-help-center-pro/zendesk-help-center-pro.php',
472
- 'purchase' => 'http://bestwebsoft.com/products/zendesk-help-center/buy/?k=45199e4538b5befe4d9566868a61a3aa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
473
  'pro_settings' => 'admin.php?page=zendesk_hc_pro.php&tab=settings'
474
  )
475
- );
476
 
477
- $themes = array(
478
- (object) array(
479
  'name' => 'Opening',
480
  'slug' => 'opening',
481
- 'href' => 'http://bestwebsoft.com/products/opening-job-board-wordpress-theme/'
482
  ),
483
- (object) array(
484
  'name' => 'Real Estate',
485
  'slug' => 'realestate',
486
- 'href' => 'http://bestwebsoft.com/products/real-estate-creative-wordpress-theme/'
487
  ),
488
- (object) array(
489
  'name' => 'Renty',
490
  'slug' => 'renty',
491
- 'href' => 'http://bestwebsoft.com/products/renty-car-rental-booking-wordpress-theme/'
492
  ),
493
- (object) array(
494
  'name' => 'Unity',
495
  'slug' => 'unity',
496
- 'href' => 'http://bestwebsoft.com/products/unity-multipurpose-wordpress-theme/'
497
  )
498
  );
12
  'site-stats' => array( 'name' => __( 'Site Stats', 'bestwebsoft' ) ),
13
  'social' => array( 'name' => __( 'Social', 'bestwebsoft' ) ),
14
  'utilities' => array( 'name' => __( 'Utilities', 'bestwebsoft' ) ),
15
+ 'other' => array( 'name' => __( 'Other', 'bestwebsoft' ) ),
16
  );
17
 
18
  $bws_plugins = array(
20
  'category' => array( 'security', 'recommended' ),
21
  'name' => 'Captcha',
22
  'description' => 'Protect WordPress website forms from spam entries by means of math logic.',
23
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
24
  'settings' => 'admin.php?page=captcha.php',
25
  'pro_version' => 'captcha-pro/captcha_pro.php',
26
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
27
  'pro_settings' => 'admin.php?page=captcha_pro.php'
28
  ),
29
  'car-rental/car-rental.php' => array(
30
  'category' => array( 'content-and-media' ),
31
  'name' => 'Car Rental',
32
  'description' => 'Create your personal car rental/booking and reservation website.',
33
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/car-rental/?k=444cac6df9a0d3a9763ab4753d24941b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
34
  'settings' => 'admin.php?page=car-rental-settings',
35
  'pro_version' => 'car-rental-pro/car-rental-pro.php',
36
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/car-rental/buy/?k=7643d4f0698252fa1159de078d22269c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37
  'pro_settings' => 'admin.php?page=car-rental-pro-settings'
38
  ),
39
  'contact-form-plugin/contact_form.php' => array(
40
  'category' => array( 'other', 'recommended' ),
41
  'name' => 'Contact Form',
42
  'description' => 'Allow customers to reach you using secure contact form plugin any website must have.',
43
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
44
  'settings' => 'admin.php?page=contact_form.php',
45
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
46
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
47
  'pro_settings' => 'admin.php?page=contact_form_pro.php'
48
  ),
49
  'contact-form-multi/contact-form-multi.php' => array(
50
  'category' => array( 'other', 'recommended' ),
51
  'name' => 'Contact Form Multi',
52
  'description' => 'Add unlimited number of contact forms to WordPress website.',
53
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54
  'settings' => '',
55
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
56
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57
  'pro_settings' => ''
58
  ),
59
  'contact-form-to-db/contact_form_to_db.php' => array(
60
  'category' => array( 'other', 'recommended' ),
61
  'name' => 'Contact Form to DB',
62
  'description' => 'Save and manage contact form messages. Never lose important data.',
63
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
64
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
65
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
66
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
67
  'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
68
  ),
69
  'custom-admin-page/custom-admin-page.php' => array(
70
  'category' => array( 'utilities' ),
71
  'name' => 'Custom Admin Page',
72
  'description' => 'Add unlimited custom pages to WordPress admin dashboard.',
73
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-admin-page/?k=9ac03f16c25e845e8e055a221c3e1467&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74
  'settings' => 'admin.php?page=custom-admin-page.php'
75
  ),
76
  'custom-fields-search/custom-fields-search.php' => array(
77
  'category' => array( 'content-and-media' ),
78
  'name' => 'Custom Fields Search',
79
  'description' => 'Add custom fields to WordPress website search results.',
80
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
81
  'settings' => 'admin.php?page=custom_fields_search.php'
82
  ),
83
  'custom-search-plugin/custom-search-plugin.php' => array(
84
  'category' => array( 'content-and-media' ),
85
  'name' => 'Custom Search',
86
  'description' => 'Add custom post types to WordPress website search results.',
87
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
88
  'settings' => 'admin.php?page=custom_search.php',
89
  'pro_version' => 'custom-search-pro/custom-search-pro.php',
90
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-search/buy/?k=062b652ac6ac8ba863c9f30fc21d62c6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
91
  'pro_settings' => 'admin.php?page=custom_search_pro.php'
92
+ ),
93
  'db-manager/db-manager.php' => array(
94
  'category' => array( 'utilities' ),
95
  'name' => 'DB Manager',
96
  'description' => 'Manage database and file system right from your WordPress admin dashboard.',
97
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98
+ 'install_url' => 'http://bestwebsoft.com/products/wordpress/plugins/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
99
  'settings' => 'admin.php?page=db-manager.php',
100
  'icon' => plugins_url( 'icons/plugins/', __FILE__ ) . 'db-manager.png'
101
  ),
103
  'category' => array( 'other' ),
104
  'name' => 'Donate',
105
  'description' => 'Add PayPal and 2CO donate buttons to receive charity payments.',
106
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107
  'settings' => 'admin.php?page=donate.php'
108
  ),
109
  'email-queue/email-queue.php' => array(
110
  'category' => array( 'other' ),
111
  'name' => 'Email Queue',
112
  'description' => 'Automatically add outgoing email messages to queue instead of sending them immediately.',
113
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
114
  'settings' => 'admin.php?page=mlq_settings'
115
  ),
116
  'error-log-viewer/error-log-viewer.php' => array(
117
  'category' => array( 'utilities' ),
118
  'name' => 'Error Log Viewer',
119
  'description' => 'Get latest error log messages to diagnose website problems. Define and fix issues faster.',
120
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/error-log-viewer/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
121
  'settings' => 'admin.php?page=rrrlgvwr.php&tab=settings'
122
  ),
123
  'facebook-button-plugin/facebook-button-plugin.php' => array(
124
  'category' => array( 'social' ),
125
  'name' => 'Facebook Button',
126
  'description' => 'Add Facebook Like, Share and Profile buttons to WordPress posts, pages and widgets.',
127
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
128
  'settings' => 'admin.php?page=facebook-button-plugin.php',
129
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
130
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
131
  'pro_settings' => 'admin.php?page=facebook-button-pro.php'
132
  ),
133
  'bws-featured-posts/bws-featured-posts.php' => array(
134
  'category' => array( 'content-and-media' ),
135
  'name' => 'Featured Posts',
136
  'description' => 'Add featured posts to WordPress posts or widgets. Highlight important information.',
137
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/featured-posts/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138
  'settings' => 'admin.php?page=featured-posts.php'
139
+ ),
140
  'gallery-plugin/gallery-plugin.php' => array(
141
  'category' => array( 'content-and-media', 'recommended' ),
142
  'name' => 'Gallery',
143
  'description' => 'Add beautiful galleries, albums & images to your Wordpress website in few clicks.',
144
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
145
  'settings' => 'admin.php?page=gallery-plugin.php',
146
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
147
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
148
  'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
149
  ),
150
  'gallery-categories/gallery-categories.php' => array(
151
  'category' => array( 'content-and-media' ),
152
  'name' => 'Gallery Categories',
153
  'description' => 'Add unlimited gallery categories. Organize images to make the navigation through content easier.',
154
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155
  'settings' => ''
156
  ),
157
  'google-one/google-plus-one.php' => array(
158
  'category' => array( 'social' ),
159
  'name' => 'Google +1',
160
  'description' => 'Add Google +1 Share, Follow, Hangout buttons and profile badge to WordPress posts, pages and widgets.',
161
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
162
  'settings' => 'admin.php?page=google-plus-one.php',
163
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
164
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
165
  'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
166
  ),
167
  'adsense-plugin/adsense-plugin.php' => array(
168
  'category' => array( 'advertisement' ),
169
  'name' => 'Google AdSense',
170
  'description' => 'Add Adsense ads to pages, posts, custom posts, search results, categories, tags, pages, and widgets.',
171
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
172
  'settings' => 'admin.php?page=adsense-plugin.php',
173
  'pro_version' => 'adsense-pro/adsense-pro.php',
174
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-adsense/buy/?k=c23889b293d62aa1ad2c96513405f0e1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175
  'pro_settings' => 'admin.php?page=adsense-pro.php'
176
  ),
177
  'bws-google-analytics/bws-google-analytics.php' => array(
178
  'category' => array( 'site-stats' ),
179
  'name' => 'Google Analytics',
180
  'description' => 'Add Google Analytics code to WordPress website and track basic stats.',
181
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
182
  'settings' => 'admin.php?page=bws-google-analytics.php',
183
  'pro_version' => 'bws-google-analytics-pro/bws-google-analytics-pro.php',
184
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-analytics/buy/?k=83796e84fec3f70ecfcc8894a73a6c4a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185
  'pro_settings' => 'admin.php?page=bws-google-analytics-pro.php'
186
  ),
187
  'google-captcha/google-captcha.php' => array(
188
  'category' => array( 'security', 'recommended' ),
189
  'name' => 'Google Captcha (reCAPTCHA)',
190
  'description' => 'Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).',
191
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
192
  'settings' => 'admin.php?page=google-captcha.php',
193
  'pro_version' => 'google-captcha-pro/google-captcha-pro.php',
194
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-captcha/buy/?k=773d30149acf1edc32e5c0766b96c134&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195
  'pro_settings' => 'admin.php?page=google-captcha-pro.php'
196
  ),
197
  'bws-google-maps/bws-google-maps.php' => array(
198
  'category' => array( 'content-and-media' ),
199
  'name' => 'Google Maps',
200
  'description' => 'Add customized Google maps to WordPress posts, pages and widgets.',
201
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
202
  'settings' => 'admin.php?page=bws-google-maps.php',
203
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
204
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
205
  'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
206
  ),
207
  'google-sitemap-plugin/google-sitemap-plugin.php' => array(
208
  'category' => array( 'other', 'recommended' ),
209
  'name' => 'Google Sitemap',
210
  'description' => 'Generate and add XML sitemap to WordPress website. Help search engines index your blog.',
211
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
213
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
214
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
215
  'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
216
+ ),
217
  'google-shortlink/google-shortlink.php' => array(
218
  'category' => array( 'other' ),
219
  'name' => 'Google Shortlink',
220
  'description' => 'Replace external WordPress website links with Google shortlinks and track click stats.',
221
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
222
  'settings' => 'admin.php?page=gglshrtlnk_options'
223
+ ),
224
  'htaccess/htaccess.php' => array(
225
  'category' => array( 'security' ),
226
  'name' => 'Htaccess',
227
  'description' => 'Protect WordPress website – allow and deny access for certain IP addresses, hostnames, etc.',
228
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
229
  'settings' => 'admin.php?page=htaccess.php',
230
  'pro_version' => 'htaccess-pro/htaccess-pro.php',
231
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/htaccess/buy/?k=59e9209a32864be534fda77d5e591c15&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
232
  'pro_settings' => 'admin.php?page=htaccess-pro.php'
233
  ),
234
  'job-board/job-board.php' => array(
235
  'category' => array( 'content-and-media' ),
236
  'name' => 'Job Board',
237
  'description' => 'Create your personal job board and listing WordPress website. Search jobs, submit CV/resumes, choose candidates.',
238
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
239
  'settings' => 'admin.php?page=job-board.php'
240
  ),
241
  'bws-latest-posts/bws-latest-posts.php' => array(
242
  'category' => array( 'content-and-media' ),
243
  'name' => 'Latest Posts',
244
  'description' => 'Add latest posts or latest posts for selected categories widgets to WordPress website.',
245
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/latest-posts/?k=ef4e125aadadd8d219140daa184a9399&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
246
  'settings' => 'admin.php?page=latest-posts.php'
247
  ),
248
  'limit-attempts/limit-attempts.php' => array(
249
  'category' => array( 'security', 'recommended' ),
250
  'name' => 'Limit Attempts',
251
  'description' => 'Protect WordPress website against brute force attacks. Limit rate of login attempts.',
252
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
253
  'settings' => 'admin.php?page=limit-attempts.php',
254
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
255
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
256
  'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
257
  ),
258
  'bws-linkedin/bws-linkedin.php' => array(
259
  'category' => array( 'social' ),
260
  'name' => 'LinkedIn',
261
  'description' => 'Add LinkedIn Share and Follow buttons to WordPress posts, pages and widgets. 5 plugins included – profile, insider, etc.',
262
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/linkedin/?k=d63c7319622ccc5f589dd2d545c1d77c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
263
  'settings' => 'admin.php?page=linkedin.php',
264
  'pro_version' => 'bws-linkedin-pro/bws-linkedin-pro.php',
265
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/linkedin/buy/?k=41dcc36192994408d24b103a02134567&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
266
  'pro_settings' => 'admin.php?page=linkedin-pro.php'
267
  ),
268
  'multilanguage/multilanguage.php' => array(
269
  'category' => array( 'content-and-media', 'recommended' ),
270
  'name' => 'Multilanguage',
271
  'description' => 'Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.',
272
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
273
  'settings' => 'admin.php?page=mltlngg_settings',
274
  'pro_version' => 'multilanguage-pro/multilanguage-pro.php',
275
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/multilanguage/buy/?k=2d1121cd9a5ced583fc29eefd51bdf57&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
  'pro_settings' => 'admin.php?page=mltlnggpr_settings'
277
+ ),
278
  'pagination/pagination.php' => array(
279
  'category' => array( 'content-and-media' ),
280
  'name' => 'Pagination',
281
  'description' => 'Add customizable pagination to WordPress website. Split long content to multiple pages for better navigation.',
282
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
283
+ 'settings' => 'admin.php?page=pagination.php',
284
+ 'pro_version' => 'pagination-pro/pagination-pro.php',
285
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pagination/buy/?k=b87201d5a0505c621d0b14f4e8d4ccd6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
286
+ 'pro_settings' => 'admin.php?page=pagination-pro.php'
287
  ),
288
  'pdf-print/pdf-print.php' => array(
289
  'category' => array( 'other' ),
290
  'name' => 'PDF & Print',
291
  'description' => 'Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.',
292
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
293
  'settings' => 'admin.php?page=pdf-print.php',
294
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
295
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
296
  'pro_settings' => 'admin.php?page=pdf-print-pro.php'
297
  ),
298
  'bws-pinterest/bws-pinterest.php' => array(
299
  'category' => array( 'social' ),
300
  'name' => 'Pinterest',
301
  'description' => 'Add Pinterest Follow, Pin It buttons and profile widgets (Pin, Board, Profile) to WordPress posts, pages and widgets.',
302
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pinterest/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
303
  'settings' => 'admin.php?page=pinterest.php',
304
  'pro_version' => 'bws-pinterest-pro/bws-pinterest-pro.php',
305
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pinterest/buy/?k=ab0069edd1914a3ca8f541bfd88bb0bb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
306
  'pro_settings' => 'admin.php?page=pinterest-pro.php'
307
  ),
308
  'bws-popular-posts/bws-popular-posts.php' => array(
309
  'category' => array( 'content-and-media', 'recommended' ),
310
  'name' => 'Popular Posts',
311
  'description' => 'Track views, comments and add most popular posts to Wordpress widgets.',
312
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/popular-posts/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
313
  'settings' => 'admin.php?page=popular-posts.php'
314
  ),
315
  'portfolio/portfolio.php' => array(
316
  'category' => array( 'content-and-media', 'recommended' ),
317
  'name' => 'Portfolio',
318
  'description' => 'Create your personal portfolio WordPress website. Manage and showcase past projects to get more clients.',
319
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
320
  'settings' => 'admin.php?page=portfolio.php',
321
  'pro_version' => 'portfolio-pro/portfolio-pro.php',
322
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/portfolio/buy/?k=2cc716026197d36538a414b728e49fdd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
323
  'pro_settings' => 'admin.php?page=portfolio-pro.php'
324
  ),
325
  'post-to-csv/post-to-csv.php' => array(
326
  'category' => array( 'utilities' ),
327
  'name' => 'Post to CSV',
328
  'description' => 'Export WordPress posts to CSV file format easily. Configure data order.',
329
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
330
  'settings' => 'admin.php?page=post-to-csv.php'
331
  ),
332
  'profile-extra-fields/profile-extra-fields.php' => array(
333
  'category' => array( 'management' ),
334
  'name' => 'Profile Extra Fields',
335
  'description' => 'Add extra fields to default WordPress user profile. The easiest way to create and manage additional custom values.',
336
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
337
  'settings' => 'admin.php?page=profile-extra-fields.php'
338
  ),
339
  'promobar/promobar.php' => array(
340
  'category' => array( 'advertisement' ),
341
  'name' => 'PromoBar',
342
  'description' => 'Add and display HTML advertisement on WordPress website. Customize bar styles and appearance.',
343
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/promobar/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
344
  'settings' => 'admin.php?page=promobar.php',
345
  'pro_version' => 'promobar-pro/promobar-pro.php',
346
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/promobar/buy/?k=a9b09708502f12a1483532ba12fe2103&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
347
  'pro_settings' => 'admin.php?page=promobar-pro.php'
348
  ),
349
  'quotes-and-tips/quotes-and-tips.php' => array(
350
  'category' => array( 'content-and-media' ),
351
  'name' => 'Quotes and Tips',
352
  'description' => 'Add customizable quotes and tips blocks to WordPress posts, pages and widgets.',
353
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
354
  'settings' => 'admin.php?page=quotes-and-tips.php'
355
  ),
356
  'realty/realty.php' => array(
357
  'category' => array( 'content-and-media' ),
358
  'name' => 'Realty',
359
  'description' => 'Create your personal real estate WordPress website. Sell, rent and buy properties. Add, search and browse listings easily.',
360
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/realty/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
361
  'settings' => 'admin.php?page=realty_settings',
362
  'pro_version' => 'realty-pro/realty-pro.php',
363
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/realty/buy/?k=c7791f0a72acfb36f564a614dbccb474&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
364
  'pro_settings' => 'admin.php?page=realty_pro_settings'
365
+ ),
366
  're-attacher/re-attacher.php' => array(
367
  'category' => array( 'utilities' ),
368
  'name' => 'Re-attacher',
369
  'description' => 'Attach, unattach and re-attach media files quickly to WordPress posts and pages.',
370
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/re-attacher/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
371
  'settings' => 'admin.php?page=re-attacher.php'
372
  ),
373
  'relevant/related-posts-plugin.php' => array(
374
  'category' => array( 'content-and-media', 'recommended' ),
375
  'name' => 'Relevant - Related Posts',
376
  'description' => 'Add related posts to WordPress posts or widgets. Link your readers to relevant content.',
377
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
378
  'settings' => 'admin.php?page=related-posts-plugin.php'
379
  ),
380
  'sender/sender.php' => array(
381
  'category' => array( 'social', 'recommended' ),
382
  'name' => 'Sender',
383
  'description' => 'Send bulk email messages to WordPress users. Custom templates, advanced settings and detailed reports.',
384
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
385
  'settings' => 'admin.php?page=sndr_settings',
386
  'pro_version' => 'sender-pro/sender-pro.php',
387
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
388
  'pro_settings' => 'admin.php?page=sndrpr_settings'
389
  ),
390
  'bws-smtp/bws-smtp.php' => array(
391
  'category' => array( 'utilities' ),
392
  'name' => 'SMTP',
393
  'description' => 'Configure SMTP server to receive email messages from WordPress to Gmail, Yahoo, Hotmail and other services.',
394
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
395
  'settings' => 'admin.php?page=bwssmtp_settings'
396
  ),
397
  'social-buttons-pack/social-buttons-pack.php' => array(
398
  'category' => array( 'social', 'recommended' ),
399
  'name' => 'Social Buttons Pack',
400
  'description' => 'Add social media buttons and widgets to WordPress posts, pages and widgets. FB, Twitter, G+1, Pinterest, LinkedIn.',
401
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
402
+ 'settings' => 'admin.php?page=social-buttons.php',
403
+ 'pro_version' => 'social-buttons-pack-pro/social-buttons-pack-pro.php',
404
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/social-buttons-pack/buy/?k=e7059cacde0d275b224a5d995c9160fd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
405
+ 'pro_settings' => 'admin.php?page=social-buttons.php'
406
  ),
407
  'subscriber/subscriber.php' => array(
408
  'category' => array( 'social', 'recommended' ),
409
  'name' => 'Subscriber',
410
  'description' => 'Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.',
411
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
412
  'settings' => 'admin.php?page=sbscrbr_settings_page',
413
  'pro_version' => 'subscriber-pro/subscriber-pro.php',
414
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/subscriber/buy/?k=02dbb8b549925d9b74e70adc2a7282e4&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
415
  'pro_settings' => 'admin.php?page=sbscrbrpr_settings_page'
416
  ),
417
  'bws-testimonials/bws-testimonials.php' => array(
418
  'category' => array( 'content-and-media', 'recommended' ),
419
  'name' => 'Testimonials',
420
  'description' => 'Add testimonials and feedbacks from your customers to WordPress posts, pages and widgets.',
421
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/testimonials/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
422
  'settings' => 'admin.php?page=testimonials.php'
423
  ),
424
  'timesheet/timesheet.php' => array(
425
  'category' => array( 'management' ),
426
  'name' => 'Timesheet',
427
  'description' => 'Best timesheet plugin for WordPress. Track employee time, streamline attendance and generate reports.',
428
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/timesheet/?k=06a58bb78c17a43df01825925f05a5c1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
429
+ 'settings' => 'admin.php?page=timesheet_settings',
430
+ 'pro_version' => 'timesheet-pro/timesheet-pro.php',
431
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/timesheet/buy/?k=a448ce4cab0d365b7774c9bc3903b851&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
432
+ 'pro_settings' => 'admin.php?page=timesheet_pro_settings'
433
+ ),
434
  'twitter-plugin/twitter.php' => array(
435
  'category' => array( 'social' ),
436
  'name' => 'Twitter',
437
  'description' => 'Add Twitter Follow, Tweet, Hashtag, and Mention buttons to WordPress posts, pages and widgets.',
438
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
439
  'settings' => 'admin.php?page=twitter.php',
440
  'pro_version' => 'twitter-pro/twitter-pro.php',
441
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
442
  'pro_settings' => 'admin.php?page=twitter-pro.php'
443
  ),
444
  'updater/updater.php' => array(
445
  'category' => array( 'utilities', 'recommended' ),
446
  'name' => 'Updater',
447
  'description' => 'Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.',
448
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
449
  'settings' => 'admin.php?page=updater-options',
450
  'pro_version' => 'updater-pro/updater_pro.php',
451
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
452
  'pro_settings' => 'admin.php?page=updater-pro-options'
453
  ),
454
  'user-role/user-role.php' => array(
455
  'category' => array( 'utilities' ),
456
  'name' => 'User Role',
457
  'description' => 'Powerful user role management plugin for WordPress website. Create, edit, copy, and delete user roles.',
458
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
459
  'settings' => 'admin.php?page=user-role.php',
460
  'pro_version' => 'user-role-pro/user-role-pro.php',
461
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
462
  'pro_settings' => 'admin.php?page=user-role-pro.php'
463
+ ),
464
  'visitors-online/visitors-online.php' => array(
465
  'category' => array( 'site-stats' ),
466
  'name' => 'Visitors Online',
467
  'description' => 'Display live count of online visitors who are currently browsing your WordPress website.',
468
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
469
  'settings' => 'admin.php?page=visitors-online.php',
470
  'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
471
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
472
  'pro_settings' => 'admin.php?page=visitors-online-pro.php'
473
+ ),
474
  'zendesk-help-center/zendesk-help-center.php' => array(
475
  'category' => array( 'utilities' ),
476
  'name' => 'Zendesk Help Center',
477
  'description' => 'Backup and export Zendesk Help Center content automatically to your WordPress website database.',
478
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/zendesk-help-center/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
479
  'settings' => 'admin.php?page=zendesk_hc.php&action=settings',
480
  'pro_version' => 'zendesk-help-center-pro/zendesk-help-center-pro.php',
481
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/zendesk-help-center/buy/?k=45199e4538b5befe4d9566868a61a3aa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
482
  'pro_settings' => 'admin.php?page=zendesk_hc_pro.php&tab=settings'
483
  )
484
+ );
485
 
486
+ $themes = array(
487
+ (object) array(
488
  'name' => 'Opening',
489
  'slug' => 'opening',
490
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/opening-job-board-wordpress-theme/'
491
  ),
492
+ (object) array(
493
  'name' => 'Real Estate',
494
  'slug' => 'realestate',
495
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/real-estate-creative-wordpress-theme/'
496
  ),
497
+ (object) array(
498
  'name' => 'Renty',
499
  'slug' => 'renty',
500
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/renty-car-rental-booking-wordpress-theme/'
501
  ),
502
+ (object) array(
503
  'name' => 'Unity',
504
  'slug' => 'unity',
505
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/unity-multipurpose-wordpress-theme/'
506
  )
507
  );
facebook-button-plugin.php CHANGED
@@ -6,7 +6,7 @@ Description: Add Facebook Like, Share and Profile buttons to WordPress posts, pa
6
  Author: BestWebSoft
7
  Text Domain: facebook-button-plugin
8
  Domain Path: /languages
9
- Version: 2.51
10
  Author URI: http://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
@@ -488,10 +488,10 @@ if ( ! function_exists( 'fcbkbttn_settings_page' ) ) {
488
  <th><?php _e( 'Button layout', 'facebook-button-plugin' ); ?></th>
489
  <td>
490
  <select name="fcbkbttn_layout_option">
491
- <option class="fcbkbttn_like_layout" <?php if ( 1 != $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'standard' == $fcbkbttn_options['layout_option'] || 1 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="standard">standard</option>
492
- <option <?php if ( 'box_count' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="box_count">box_count</option>
493
- <option <?php if ( 'button_count' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="button_count">button_count</option>
494
- <option <?php if ( 'button' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="button">button</option>
495
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'icon_link' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="icon_link">Icon link</option>
496
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'icon' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="icon">Icon</option>
497
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'link' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="link">Link</option>
@@ -791,10 +791,20 @@ if ( ! function_exists( 'fcbkbttn_get_locale' ) ) {
791
  $fcbkbttn_locale = $_SESSION['language'];
792
  } else {
793
  $locale_from_multilanguage = explode( '_', $_SESSION['language'] );
794
- if ( is_array( $locale_from_multilanguage ) && array_key_exists( $locale_from_multilanguage[0], $fcbkbttn_lang_codes ) )
795
  $fcbkbttn_locale = $locale_from_multilanguage[0];
 
 
 
 
 
 
 
 
 
796
  }
797
  }
 
798
  if ( empty( $fcbkbttn_locale ) )
799
  $fcbkbttn_locale = $fcbkbttn_options['locale'];
800
 
@@ -806,14 +816,14 @@ if ( ! function_exists( 'fcbkbttn_footer_script' ) ) {
806
  function fcbkbttn_footer_script() {
807
  global $fcbkbttn_options, $fcbkbttn_shortcode_add_script;
808
  if ( isset( $fcbkbttn_shortcode_add_script ) ||
809
- ( ( 1 == $fcbkbttn_options['like'] || 1 == $fcbkbttn_options['share'] ) && 'shortcode' != $fcbkbttn_options['where'] ) ) {
810
- $fcbkbttn_locale = fcbkbttn_get_locale(); ?>
811
  <div id="fb-root"></div>
812
  <script>(function(d, s, id) {
813
  var js, fjs = d.getElementsByTagName(s)[0];
814
  if (d.getElementById(id)) return;
815
  js = d.createElement(s); js.id = id;
816
- js.src = "//connect.facebook.net/<?php echo $fcbkbttn_locale; ?>/sdk.js#xfbml=1&appId=1443946719181573&version=v2.6";
817
  fjs.parentNode.insertBefore(js, fjs);
818
  }(document, 'script', 'facebook-jssdk'));
819
  </script>
@@ -821,6 +831,13 @@ if ( ! function_exists( 'fcbkbttn_footer_script' ) ) {
821
  }
822
  }
823
 
 
 
 
 
 
 
 
824
  if ( ! function_exists( 'fcbkbttn_admin_head' ) ) {
825
  function fcbkbttn_admin_head() {
826
  if ( isset( $_GET['page'] ) && ( "facebook-button-plugin.php" == $_GET['page'] || "social-buttons.php" == $_GET['page'] ) ) {
@@ -907,7 +924,10 @@ if ( ! function_exists( 'fcbkbttn_delete_options' ) ) {
907
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
908
  $all_plugins = get_plugins();
909
 
910
- if ( ! array_key_exists( 'bws-social-buttons/bws-social-buttons.php', $all_plugins ) && ! array_key_exists( 'facebook-button-pro/facebook-button-pro.php', $all_plugins ) && ! array_key_exists( 'facebook-button-plus/facebook-button-plus.php', $all_plugins ) ) {
 
 
 
911
  /* delete custom images if no PRO version */
912
  $upload_dir = wp_upload_dir();
913
  $fcbkbttn_cstm_mg_folder = $upload_dir['basedir'] . '/facebook-image/';
@@ -954,6 +974,7 @@ add_action( 'admin_enqueue_scripts', 'fcbkbttn_admin_head' );
954
  /* Adding front-end stylesheets */
955
  add_action( 'wp_head', 'fcbkbttn_meta' );
956
  add_action( 'wp_footer', 'fcbkbttn_footer_script' );
 
957
  /* Add shortcode and plugin buttons */
958
  add_shortcode( 'fb_button', 'fcbkbttn_shortcode' );
959
  add_filter( 'the_content', 'fcbkbttn_display_button' );
6
  Author: BestWebSoft
7
  Text Domain: facebook-button-plugin
8
  Domain Path: /languages
9
+ Version: 2.52
10
  Author URI: http://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
488
  <th><?php _e( 'Button layout', 'facebook-button-plugin' ); ?></th>
489
  <td>
490
  <select name="fcbkbttn_layout_option">
491
+ <option class="fcbkbttn_like_layout" <?php if ( 1 != $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'standard' == $fcbkbttn_options['layout_option'] || 1 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="standard">Standard</option>
492
+ <option <?php if ( 'box_count' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="box_count">Box count</option>
493
+ <option <?php if ( 'button_count' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="button_count">Button count</option>
494
+ <option <?php if ( 'button' == $fcbkbttn_options['layout_option'] ) echo 'selected="selected"'; ?> value="button">Button</option>
495
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'icon_link' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="icon_link">Icon link</option>
496
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'icon' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="icon">Icon</option>
497
  <option class="fcbkbttn_share_layout" <?php if ( 1 == $fcbkbttn_options['like'] ) echo 'style="display: none"'; ?><?php if ( 'link' == $fcbkbttn_options['layout_option'] && 0 == $fcbkbttn_options['like'] ) echo 'selected="selected"'; ?> value="link">Link</option>
791
  $fcbkbttn_locale = $_SESSION['language'];
792
  } else {
793
  $locale_from_multilanguage = explode( '_', $_SESSION['language'] );
794
+ if ( is_array( $locale_from_multilanguage ) && array_key_exists( $locale_from_multilanguage[0], $fcbkbttn_lang_codes ) ) {
795
  $fcbkbttn_locale = $locale_from_multilanguage[0];
796
+ } else {
797
+ foreach ( $fcbkbttn_lang_codes as $language_key => $language ) {
798
+ $locale = explode( '_', $language_key );
799
+ if ( $locale_from_multilanguage[0] == $locale[0] ) {
800
+ $fcbkbttn_locale = $language_key;
801
+ break;
802
+ }
803
+ }
804
+ }
805
  }
806
  }
807
+
808
  if ( empty( $fcbkbttn_locale ) )
809
  $fcbkbttn_locale = $fcbkbttn_options['locale'];
810
 
816
  function fcbkbttn_footer_script() {
817
  global $fcbkbttn_options, $fcbkbttn_shortcode_add_script;
818
  if ( isset( $fcbkbttn_shortcode_add_script ) ||
819
+ ( ( 1 == $fcbkbttn_options['like'] || 1 == $fcbkbttn_options['share'] ) && 'shortcode' != $fcbkbttn_options['where'] )
820
+ || defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) ) { ?>
821
  <div id="fb-root"></div>
822
  <script>(function(d, s, id) {
823
  var js, fjs = d.getElementsByTagName(s)[0];
824
  if (d.getElementById(id)) return;
825
  js = d.createElement(s); js.id = id;
826
+ js.src = "//connect.facebook.net/<?php echo fcbkbttn_get_locale(); ?>/sdk.js#xfbml=1&appId=1443946719181573&version=v2.6";
827
  fjs.parentNode.insertBefore(js, fjs);
828
  }(document, 'script', 'facebook-jssdk'));
829
  </script>
831
  }
832
  }
833
 
834
+ if ( ! function_exists( 'fcbkbttn_pagination_callback' ) ) {
835
+ function fcbkbttn_pagination_callback( $content ) {
836
+ $content .= "if (typeof( FB ) != 'undefined' && FB != null ) { FB.XFBML.parse(); }";
837
+ return $content;
838
+ }
839
+ }
840
+
841
  if ( ! function_exists( 'fcbkbttn_admin_head' ) ) {
842
  function fcbkbttn_admin_head() {
843
  if ( isset( $_GET['page'] ) && ( "facebook-button-plugin.php" == $_GET['page'] || "social-buttons.php" == $_GET['page'] ) ) {
924
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
925
  $all_plugins = get_plugins();
926
 
927
+ if ( ! array_key_exists( 'bws-social-buttons/bws-social-buttons.php', $all_plugins ) &&
928
+ ! array_key_exists( 'bws-social-buttons-pro/bws-social-buttons-pro.php', $all_plugins ) &&
929
+ ! array_key_exists( 'facebook-button-pro/facebook-button-pro.php', $all_plugins ) &&
930
+ ! array_key_exists( 'facebook-button-plus/facebook-button-plus.php', $all_plugins ) ) {
931
  /* delete custom images if no PRO version */
932
  $upload_dir = wp_upload_dir();
933
  $fcbkbttn_cstm_mg_folder = $upload_dir['basedir'] . '/facebook-image/';
974
  /* Adding front-end stylesheets */
975
  add_action( 'wp_head', 'fcbkbttn_meta' );
976
  add_action( 'wp_footer', 'fcbkbttn_footer_script' );
977
+ add_filter( 'pgntn_callback', 'fcbkbttn_pagination_callback' );
978
  /* Add shortcode and plugin buttons */
979
  add_shortcode( 'fb_button', 'fcbkbttn_shortcode' );
980
  add_filter( 'the_content', 'fcbkbttn_display_button' );
languages/facebook-button-plugin-ru_RU.mo CHANGED
Binary file
languages/facebook-button-plugin-ru_RU.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: facebook-button-plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-05 17:23+0300\n"
6
- "PO-Revision-Date: 2016-05-05 17:25+0300\n"
7
  "Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
9
  "Language: ru_RU\n"
@@ -285,11 +285,11 @@ msgstr "Тёмная"
285
 
286
  #: facebook-button-plugin.php:534
287
  msgid "Html tag for \"Like\" button"
288
- msgstr "Html тэг для кнопки \"Нравиться\""
289
 
290
  #: facebook-button-plugin.php:539
291
  msgid "Use this tag to improve validation of your site"
292
- msgstr "Используйте этот тэг для лучшей валидации вашего сайта"
293
 
294
  #: facebook-button-plugin.php:552
295
  msgid "\"Like\" for an entire site on every page:"
3
  "Project-Id-Version: facebook-button-plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-05 17:23+0300\n"
6
+ "PO-Revision-Date: 2016-11-14 11:18+0300\n"
7
  "Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
9
  "Language: ru_RU\n"
285
 
286
  #: facebook-button-plugin.php:534
287
  msgid "Html tag for \"Like\" button"
288
+ msgstr "Html тег для кнопки \"Нравиться\""
289
 
290
  #: facebook-button-plugin.php:539
291
  msgid "Use this tag to improve validation of your site"
292
+ msgstr "Используйте этот тег для лучшей валидации вашего сайта"
293
 
294
  #: facebook-button-plugin.php:552
295
  msgid "\"Like\" for an entire site on every page:"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
3
  Donate link: http://bestwebsoft.com/donate/
4
  Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
5
  Requires at least: 3.8
6
- Tested up to: 4.6.1
7
- Stable tag: 2.51
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -81,7 +81,7 @@ Visit our Help Center if you have any questions, our friendly Support Team is ha
81
  * Indonesian (id_ID) (thanks to Nasrulhaq, www.al-badar.net)
82
  * Hungarian (hu_HU) (thanks to [Peter Aprily](mailto:solarside09@gmail.com) www.aprily.com)
83
  * Russian (ru_RU)
84
- * Spain (es_ES) (thanks to [Africa Boleko](mailto:info@markekimika.es) www.markekimika.es)
85
  * Turkish (tr_TR) (thanks to [Can Atasever](mailto:webmaster@canatasever.com))
86
  * Ukrainian (uk)
87
 
@@ -154,6 +154,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<http:
154
 
155
  == Changelog ==
156
 
 
 
 
 
157
  = V2.51 - 03.10.2016 =
158
  * NEW : Spain language file is added.
159
 
@@ -361,6 +365,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<http:
361
 
362
  == Upgrade Notice ==
363
 
 
 
 
364
  = V2.51 =
365
  * New languages added
366
 
3
  Donate link: http://bestwebsoft.com/donate/
4
  Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
5
  Requires at least: 3.8
6
+ Tested up to: 4.7
7
+ Stable tag: 2.52
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
81
  * Indonesian (id_ID) (thanks to Nasrulhaq, www.al-badar.net)
82
  * Hungarian (hu_HU) (thanks to [Peter Aprily](mailto:solarside09@gmail.com) www.aprily.com)
83
  * Russian (ru_RU)
84
+ * Spanish (es_ES) (thanks to [Africa Boleko](mailto:info@markekimika.es) www.markekimika.es)
85
  * Turkish (tr_TR) (thanks to [Can Atasever](mailto:webmaster@canatasever.com))
86
  * Ukrainian (uk)
87
 
154
 
155
  == Changelog ==
156
 
157
+ = V2.52 - 14.11.2016 =
158
+ * Update : Compatibility with Pagination plugin was added.
159
+ * Pro : Tree of site pages was updated.
160
+
161
  = V2.51 - 03.10.2016 =
162
  * NEW : Spain language file is added.
163
 
365
 
366
  == Upgrade Notice ==
367
 
368
+ = V2.52 =
369
+ * Functionality improved.
370
+
371
  = V2.51 =
372
  * New languages added
373