PluginProbe
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin / 1.7.3
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin v1.7.3
trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 All 71 releases
← All changes | bws_menu/bws_menu.php +458 -527 1.8.4 → 1.7.3 View file →
@@ -1,491 +1,377 @@
1 1 <?php
2 2 /*
3 3 * Function for displaying BestWebSoft menu
4 -* Version: 1.7.0
4 +* Version: 1.3.2
5 5 */
6 6
7 -if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
8 - require_once( dirname( __FILE__ ) . '/bws_functions.php' );
9 -
10 7 if ( ! function_exists( 'bws_add_menu_render' ) ) {
11 8 function bws_add_menu_render() {
12 - global $wpdb, $wp_version, $bws_plugin_info;
9 + global $wpdb, $wpmu, $wp_version, $bws_plugin_info;
13 10 $error = $message = $bwsmn_form_email = '';
14 - $bws_donate_link = 'http://bestwebsoft.com/donate/';
11 + $bws_donate_link = 'https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94';
15 12
16 13 if ( ! function_exists( 'is_plugin_active_for_network' ) )
17 14 require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
18 15
19 - if ( function_exists( 'is_multisite' ) )
20 - $admin_url = ( ! is_multisite() ) ? admin_url( '/' ) : network_admin_url( '/' );
21 - else
22 - $admin_url = admin_url( '/' );
23 -
24 16 $bws_plugins = array(
25 17 'captcha/captcha.php' => array(
26 18 'name' => 'Captcha',
27 19 'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
28 - 'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
29 - 'download' => 'http://bestwebsoft.com/products/captcha/download/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
30 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
20 + 'link' => 'http://bestwebsoft.com/plugin/captcha-plugin/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
21 + 'download' => 'http://bestwebsoft.com/plugin/captcha-plugin/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
22 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
31 23 'settings' => 'admin.php?page=captcha.php',
32 - 'pro_version' => 'captcha-pro/captcha_pro.php',
33 - 'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
34 - 'pro_settings' => 'admin.php?page=captcha_pro.php'
24 + 'pro_version' => 'captcha-pro/captcha_pro.php'
35 25 ),
36 26 'contact-form-plugin/contact_form.php' => array(
37 - 'name' => 'Contact Form',
27 + 'name' => 'Contact form',
38 28 'description' => 'Add Contact Form to your WordPress website.',
39 - 'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
40 - 'download' => 'http://bestwebsoft.com/products/contact-form/download/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
41 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
29 + 'link' => 'http://bestwebsoft.com/plugin/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
30 + 'download' => 'http://bestwebsoft.com/plugin/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
31 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
42 32 'settings' => 'admin.php?page=contact_form.php',
43 - 'pro_version' => 'contact-form-pro/contact_form_pro.php',
44 - 'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
45 - 'pro_settings' => 'admin.php?page=contact_form_pro.php'
46 - ),
33 + 'pro_version' => 'contact-form-pro/contact_form_pro.php'
34 + ),
47 35 'facebook-button-plugin/facebook-button-plugin.php' => array(
48 36 'name' => 'Facebook Like Button',
49 37 'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
50 - 'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
51 - 'download' => 'http://bestwebsoft.com/products/facebook-like-button/download/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
52 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
38 + 'link' => 'http://bestwebsoft.com/plugin/facebook-like-button-plugin/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
39 + 'download' => 'http://bestwebsoft.com/plugin/facebook-like-button-plugin/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
40 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
53 41 'settings' => 'admin.php?page=facebook-button-plugin.php',
54 - 'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
55 - '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,
56 - 'pro_settings' => 'admin.php?page=facebook-button-pro.php'
42 + 'pro_version' => 'facebook-button-pro/facebook-button-pro.php'
57 43 ),
58 44 'twitter-plugin/twitter.php' => array(
59 45 'name' => 'Twitter',
60 46 'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
61 - 'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
62 - 'download' => 'http://bestwebsoft.com/products/twitter/download/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
63 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
47 + 'link' => 'http://bestwebsoft.com/plugin/twitter-plugin/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
48 + 'download' => 'http://bestwebsoft.com/plugin/twitter-plugin/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
49 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
64 50 'settings' => 'admin.php?page=twitter.php',
65 - 'pro_version' => 'twitter-pro/twitter-pro.php',
66 - 'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
67 - 'pro_settings' => 'admin.php?page=twitter-pro.php'
68 - ),
51 + 'pro_version' => 'twitter-pro/twitter-pro.php'
52 + ),
69 53 'portfolio/portfolio.php' => array(
70 54 'name' => 'Portfolio',
71 55 'description' => 'Allows you to create a page with the information about your past projects.',
72 - 'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
73 - 'download' => 'http://bestwebsoft.com/products/portfolio/download/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
75 - 'settings' => 'admin.php?page=portfolio.php',
76 - 'pro_version' => 'portfolio-pro/portfolio-pro.php',
77 - 'purchase' => 'http://bestwebsoft.com/products/portfolio/buy/?k=2cc716026197d36538a414b728e49fdd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
78 - 'pro_settings' => 'admin.php?page=portfolio-pro.php'
56 + 'link' => 'http://bestwebsoft.com/plugin/portfolio-plugin/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57 + 'download' => 'http://bestwebsoft.com/plugin/portfolio-plugin/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
58 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
59 + 'settings' => 'admin.php?page=portfolio.php'
79 60 ),
80 61 'gallery-plugin/gallery-plugin.php' => array(
81 62 'name' => 'Gallery',
82 63 'description' => 'Allows you to implement a Gallery page into your website.',
83 - 'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
84 - 'download' => 'http://bestwebsoft.com/products/gallery/download/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
85 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
64 + 'link' => 'http://bestwebsoft.com/plugin/gallery-plugin/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
65 + 'download' => 'http://bestwebsoft.com/plugin/gallery-plugin/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
66 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
86 67 'settings' => 'admin.php?page=gallery-plugin.php',
87 - 'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
88 - 'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
89 - 'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
68 + 'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php'
90 69 ),
91 70 'adsense-plugin/adsense-plugin.php'=> array(
92 71 'name' => 'Google AdSense',
93 72 'description' => 'Allows Google AdSense implementation to your website.',
94 - 'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
95 - 'download' => 'http://bestwebsoft.com/products/google-adsense/download/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
96 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
97 - 'settings' => 'admin.php?page=adsense-plugin.php',
98 - 'pro_version' => 'adsense-pro/adsense-pro.php',
99 - 'purchase' => 'http://bestwebsoft.com/products/google-adsense/buy/?k=c23889b293d62aa1ad2c96513405f0e1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
100 - 'pro_settings' => 'admin.php?page=adsense-pro.php'
73 + 'link' => 'http://bestwebsoft.com/plugin/google-adsense-plugin/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74 + 'download' => 'http://bestwebsoft.com/plugin/google-adsense-plugin/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
75 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
76 + 'settings' => 'admin.php?page=adsense-plugin.php'
101 77 ),
102 78 'custom-search-plugin/custom-search-plugin.php'=> array(
103 79 'name' => 'Custom Search',
104 80 'description' => 'Allows to extend your website search functionality by adding a custom post type.',
105 - 'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
106 - 'download' => 'http://bestwebsoft.com/products/custom-search/download/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
108 - 'settings' => 'admin.php?page=custom_search.php',
109 - 'pro_version' => 'custom-search-pro/custom-search-pro.php',
110 - 'purchase' => 'http://bestwebsoft.com/products/custom-search/buy/?k=062b652ac6ac8ba863c9f30fc21d62c6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
111 - 'pro_settings' => 'admin.php?page=custom_search_pro.php'
81 + 'link' => 'http://bestwebsoft.com/plugin/custom-search-plugin/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
82 + 'download' => 'http://bestwebsoft.com/plugin/custom-search-plugin/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
83 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
84 + 'settings' => 'admin.php?page=custom_search.php'
112 85 ),
113 86 'quotes-and-tips/quotes-and-tips.php'=> array(
114 87 'name' => 'Quotes and Tips',
115 88 'description' => 'Allows you to implement quotes & tips block into your web site.',
116 - 'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
117 - 'download' => 'http://bestwebsoft.com/products/quotes-and-tips/download/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
118 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
89 + 'link' => 'http://bestwebsoft.com/plugin/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
90 + 'download' => 'http://bestwebsoft.com/plugin/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
91 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
119 92 'settings' => 'admin.php?page=quotes-and-tips.php'
120 93 ),
121 94 'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
122 95 'name' => 'Google Sitemap',
123 96 'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
124 - 'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
125 - 'download' => 'http://bestwebsoft.com/products/google-sitemap/download/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
126 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
97 + 'link' => 'http://bestwebsoft.com/plugin/google-sitemap-plugin/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98 + 'download' => 'http://bestwebsoft.com/plugin/google-sitemap-plugin/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
99 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
127 100 'settings' => 'admin.php?page=google-sitemap-plugin.php',
128 - 'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
129 - 'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
130 - 'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
101 + 'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php'
131 102 ),
132 103 'updater/updater.php'=> array(
133 104 'name' => 'Updater',
134 105 'description' => 'Allows you to update plugins and WP core.',
135 - 'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
136 - 'download' => 'http://bestwebsoft.com/products/updater/download/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
137 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
106 + 'link' => 'http://bestwebsoft.com/plugin/updater-plugin/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107 + 'download' => 'http://bestwebsoft.com/plugin/updater-plugin/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
108 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
138 109 'settings' => 'admin.php?page=updater-options',
139 - 'pro_version' => 'updater-pro/updater_pro.php',
140 - 'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
141 - 'pro_settings' => 'admin.php?page=updater-pro-options'
110 + 'pro_version' => 'updater-pro/updater_pro.php'
142 111 ),
143 112 'custom-fields-search/custom-fields-search.php'=> array(
144 113 'name' => 'Custom Fields Search',
145 114 'description' => 'Allows you to add website search any existing custom fields.',
146 - 'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
147 - 'download' => 'http://bestwebsoft.com/products/custom-fields-search/download/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
148 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
115 + 'link' => 'http://bestwebsoft.com/plugin/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
116 + 'download' => 'http://bestwebsoft.com/plugin/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
117 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
149 118 'settings' => 'admin.php?page=custom_fields_search.php'
150 119 ),
151 120 'google-one/google-plus-one.php' => array(
152 121 'name' => 'Google +1',
153 - 'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
154 - 'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155 - 'download' => 'http://bestwebsoft.com/products/google-plus-one/download/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
156 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
122 + 'description' => 'Allows you to celebrate liked the article.',
123 + 'link' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
124 + 'download' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
125 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
157 126 'settings' => 'admin.php?page=google-plus-one.php',
158 - 'pro_version' => 'google-one-pro/google-plus-one-pro.php',
159 - '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,
160 - 'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
127 + 'pro_version' => 'google-one-pro/google-plus-one-pro.php'
161 128 ),
162 129 'relevant/related-posts-plugin.php' => array(
163 130 'name' => 'Relevant - Related Posts',
164 131 'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
165 - 'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
166 - 'download' => 'http://bestwebsoft.com/products/related-posts/download/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
167 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
132 + 'link' => 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
133 + 'download' => 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
134 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
168 135 'settings' => 'admin.php?page=related-posts-plugin.php'
169 136 ),
170 137 'contact-form-to-db/contact_form_to_db.php' => array(
171 - 'name' => 'Contact Form to DB',
138 + 'name' => 'Contact Form To DB',
172 139 'description' => 'Allows you to manage the messages that have been sent from your site.',
173 - '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,
174 - 'download' => 'http://bestwebsoft.com/products/contact-form-to-db/download/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
140 + 'link' => 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
141 + 'download' => 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
142 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
176 143 'settings' => 'admin.php?page=cntctfrmtdb_settings',
177 - 'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
178 - '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,
179 - 'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
144 + 'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php'
180 145 ),
181 146 'pdf-print/pdf-print.php' => array(
182 147 'name' => 'PDF & Print',
183 148 'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
184 - 'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185 - 'download' => 'http://bestwebsoft.com/products/pdf-print/download/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
186 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
149 + 'link' => 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
150 + 'download' => 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
151 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
187 152 'settings' => 'admin.php?page=pdf-print.php',
188 - 'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
189 - 'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
190 - 'pro_settings' => 'admin.php?page=pdf-print-pro.php'
153 + 'pro_version' => 'pdf-print-pro/pdf-print-pro.php'
191 154 ),
192 155 'donate-button/donate.php' => array(
193 156 'name' => 'Donate',
194 157 'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
195 - 'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
196 - 'download' => 'http://bestwebsoft.com/products/donate/download/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
197 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
158 + 'link' => 'http://bestwebsoft.com/plugin/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
159 + 'download' => 'http://bestwebsoft.com/plugin/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
160 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
198 161 'settings' => 'admin.php?page=donate.php'
199 162 ),
200 163 'post-to-csv/post-to-csv.php' => array(
201 - 'name' => 'Post to CSV',
164 + 'name' => 'Post To CSV',
202 165 'description' => 'The plugin allows to export posts of any types to a csv file.',
203 - 'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
204 - 'download' => 'http://bestwebsoft.com/products/post-to-csv/download/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
205 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
166 + 'link' => 'http://bestwebsoft.com/plugin/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
167 + 'download' => 'http://bestwebsoft.com/plugin/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
168 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
206 169 'settings' => 'admin.php?page=post-to-csv.php'
207 170 ),
208 171 'google-shortlink/google-shortlink.php' => array(
209 172 'name' => 'Google Shortlink',
210 173 'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
211 - 'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212 - 'download' => 'http://bestwebsoft.com/products/google-shortlink/download/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
213 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
174 + 'link' => 'http://bestwebsoft.com/plugin/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175 + 'download' => 'http://bestwebsoft.com/plugin/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
176 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
214 177 'settings' => 'admin.php?page=gglshrtlnk_options'
215 178 ),
216 179 'htaccess/htaccess.php' => array(
217 180 'name' => 'Htaccess',
218 181 'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
219 - 'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
220 - 'download' => 'http://bestwebsoft.com/products/htaccess/download/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
221 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
222 - 'settings' => 'admin.php?page=htaccess.php',
223 - 'pro_version' => 'htaccess-pro/htaccess-pro.php',
224 - 'purchase' => 'http://bestwebsoft.com/products/htaccess/buy/?k=59e9209a32864be534fda77d5e591c15&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
225 - 'pro_settings' => 'admin.php?page=htaccess-pro.php'
182 + 'link' => 'http://bestwebsoft.com/plugin/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
183 + 'download' => 'http://bestwebsoft.com/plugin/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
184 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
185 + 'settings' => 'admin.php?page=htaccess.php'
226 186 ),
227 187 'google-captcha/google-captcha.php' => array(
228 188 'name' => 'Google Captcha (reCAPTCHA)',
229 189 'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
230 - 'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
231 - 'download' => 'http://bestwebsoft.com/products/google-captcha/download/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
232 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
233 - 'settings' => 'admin.php?page=google-captcha.php',
234 - 'pro_version' => 'google-captcha-pro/google-captcha-pro.php',
235 - 'purchase' => 'http://bestwebsoft.com/products/google-captcha/buy/?k=773d30149acf1edc32e5c0766b96c134&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
236 - 'pro_settings' => 'admin.php?page=google-captcha-pro.php'
190 + 'link' => 'http://bestwebsoft.com/plugin/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
191 + 'download' => 'http://bestwebsoft.com/plugin/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
192 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
193 + 'settings' => 'admin.php?page=google-captcha.php'
237 194 ),
238 195 'sender/sender.php' => array(
239 196 'name' => 'Sender',
240 197 'description' => 'You can send mails to all users or to certain categories of users.',
241 - 'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
242 - 'download' => 'http://bestwebsoft.com/products/sender/download/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
243 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
198 + 'link' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
199 + 'download' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
200 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
244 201 'settings' => 'admin.php?page=sndr_settings',
245 - 'pro_version' => 'sender-pro/sender-pro.php',
246 - 'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
247 - 'pro_settings' => 'admin.php?page=sndrpr_settings'
202 + 'pro_version' => 'sender-pro/sender-pro.php'
248 203 ),
249 204 'subscriber/subscriber.php' => array(
250 205 'name' => 'Subscriber',
251 206 'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
252 - 'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
253 - 'download' => 'http://bestwebsoft.com/products/subscriber/download/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
254 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
255 - 'settings' => 'admin.php?page=sbscrbr_settings_page',
256 - 'pro_version' => 'subscriber-pro/subscriber-pro.php',
257 - 'purchase' => 'http://bestwebsoft.com/products/subscriber/buy/?k=02dbb8b549925d9b74e70adc2a7282e4&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
258 - 'pro_settings' => 'admin.php?page=sbscrbrpr_settings_page'
207 + 'link' => 'http://bestwebsoft.com/plugin/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
208 + 'download' => 'http://bestwebsoft.com/plugin/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
209 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
210 + 'settings' => 'admin.php?page=sbscrbr_settings_page'
259 211 ),
260 212 'contact-form-multi/contact-form-multi.php' => array(
261 213 'name' => 'Contact Form Multi',
262 - 'description' => 'Add-on to the Contact Form plugin that allows to create and implement multiple contact forms.',
263 - 'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
264 - 'download' => 'http://bestwebsoft.com/products/contact-form-multi/download/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
265 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
214 + 'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
215 + 'link' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
216 + 'download' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
217 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
266 218 'settings' => '',
267 - 'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
268 - '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,
269 - 'pro_settings' => ''
219 + 'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php'
270 220 ),
271 221 'bws-google-maps/bws-google-maps.php' => array(
272 - 'name' => 'Google Maps',
222 + 'name' => 'BestWebSoft Google Maps',
273 223 'description' => 'Easy to set up and insert Google Maps to your website.',
274 - 'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
275 - 'download' => 'http://bestwebsoft.com/products/bws-google-maps/download/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Maps+Bestwebsoft&plugin-search-input=Search+Plugins',
224 + 'link' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
225 + 'download' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
226 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
277 227 'settings' => 'admin.php?page=bws-google-maps.php',
278 - 'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
279 - '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,
280 - 'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
228 + 'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php'
281 229 ),
282 230 'bws-google-analytics/bws-google-analytics.php' => array(
283 - 'name' => 'Google Analytics',
231 + 'name' => 'BestWebSoft Google Analytics',
284 232 'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
285 - 'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
286 - 'download' => 'http://bestwebsoft.com/products/bws-google-analytics/download/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
287 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Analytics+Bestwebsoft&plugin-search-input=Search+Plugins',
288 - 'settings' => 'admin.php?page=bws-google-analytics.php',
289 - 'pro_version' => 'bws-google-analytics-pro/bws-google-analytics-pro.php',
290 - '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,
291 - 'pro_settings' => 'admin.php?page=bws-google-analytics-pro.php'
233 + 'link' => 'http://bestwebsoft.com/plugin/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
234 + 'download' => 'http://bestwebsoft.com/plugin/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
235 + 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
236 + 'settings' => 'admin.php?page=bws-google-analytics.php'
292 237 ),
293 238 'db-manager/db-manager.php' => array(
294 - 'name' => 'DB Manager',
239 + 'name' => 'DB manager',
295 240 'description' => 'Allows you to download the latest version of PhpMyadmin and Dumper and manage your site.',
296 - 'link' => 'http://bestwebsoft.com/products/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
297 - 'download' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
298 - 'wp_install' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
241 + 'link' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
242 + 'download' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
243 + 'wp_install' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
299 244 'settings' => 'admin.php?page=db-manager.php'
300 245 ),
301 246 'user-role/user-role.php' => array(
302 247 'name' => 'User Role',
303 248 'description' => 'Allows to change wordpress user role capabilities.',
304 - 'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
305 - 'download' => 'http://bestwebsoft.com/products/user-role/download/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
306 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
249 + 'link' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
250 + 'download' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
251 + 'wp_install' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
307 252 'settings' => 'admin.php?page=user-role.php',
308 - 'pro_version' => 'user-role-pro/user-role-pro.php',
309 - 'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
310 - 'pro_settings' => 'admin.php?page=user-role-pro.php'
253 + 'pro_version' => 'user-role-pro/user-role-pro.php'
254 + )
255 + );
256 + $bws_plugins_pro = array(
257 + 'gallery-plugin-pro/gallery-plugin-pro.php' => array(
258 + 'name' => 'Gallery Pro',
259 + 'description' => 'Allows you to implement as many galleries as you want into your website.',
260 + 'link' => 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
261 + 'purchase' => 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
262 + 'settings' => 'admin.php?page=gallery-plugin-pro.php'
311 263 ),
312 - 'email-queue/email-queue.php' => array(
313 - 'name' => 'Email Queue',
314 - 'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
315 - 'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
316 - 'download' => 'http://bestwebsoft.com/products/email-queue/download/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
317 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
318 - 'settings' => 'admin.php?page=mlq_settings'
264 + 'contact-form-pro/contact_form_pro.php' => array(
265 + 'name' => 'Contact form Pro',
266 + 'description' => 'Allows you to implement a feedback form to a web-page or a post in no time.',
267 + 'link' => 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
268 + 'purchase' => 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
269 + 'settings' => 'admin.php?page=contact_form_pro.php'
319 270 ),
320 - 'limit-attempts/limit-attempts.php' => array(
321 - 'name' => 'Limit Attempts',
322 - 'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
323 - 'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
324 - 'download' => 'http://bestwebsoft.com/products/limit-attempts/download/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
325 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
326 - 'settings' => 'admin.php?page=limit-attempts.php',
327 - 'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
328 - 'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
329 - 'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
271 + 'captcha-pro/captcha_pro.php' => array(
272 + 'name' => 'Captcha Pro',
273 + 'description' => 'Allows you to implement a super security captcha form into web forms.',
274 + 'link' => 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
275 + 'purchase' => 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
276 + 'settings' => 'admin.php?page=captcha_pro.php'
330 277 ),
331 - 'job-board/job-board.php' => array(
332 - 'name' => 'Job Board',
333 - 'description' => 'Allows to create a job-board page on your site.',
334 - 'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
335 - 'download' => 'http://bestwebsoft.com/products/job-board/download/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
336 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
337 - 'settings' => 'admin.php?page=job-board.php'
278 + 'updater-pro/updater_pro.php' => array(
279 + 'name' => 'Updater Pro',
280 + 'description' => 'Allows you to update plugins and WordPress core on your website.',
281 + 'link' => 'http://bestwebsoft.com/plugin/updater-pro/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
282 + 'purchase' => 'http://bestwebsoft.com/plugin/updater-pro?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
283 + 'settings' => 'admin.php?page=updater-pro-options'
338 284 ),
339 - 'multilanguage/multilanguage.php' => array(
340 - 'name' => 'Multilanguage',
341 - 'description' => 'Allows to create content on a Wordpress site in different languages.',
342 - 'link' => 'http://bestwebsoft.com/products/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
343 - 'download' => 'http://bestwebsoft.com/products/multilanguage/download/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
344 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Multilanguage+BestWebSoft&plugin-search-input=Search+Plugins',
345 - 'settings' => 'admin.php?page=mltlngg_settings',
346 - 'pro_version' => 'multilanguage-pro/multilanguage-pro.php',
347 - 'purchase' => 'http://bestwebsoft.com/products/multilanguage/buy/?k=2d1121cd9a5ced583fc29eefd51bdf57&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
348 - 'pro_settings' => 'admin.php?page=mltlnggpr_settings'
285 + 'contact-form-to-db-pro/contact_form_to_db_pro.php' => array(
286 + 'name' => 'Contact form to DB Pro',
287 + 'description' => 'The plugin provides a unique opportunity to manage messages sent from your site via the contact form.',
288 + 'link' => 'http://bestwebsoft.com/plugin/contact-form-to-db-pro/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
289 + 'purchase' => 'http://bestwebsoft.com/plugin/contact-form-to-db-pro/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
290 + 'settings' => 'admin.php?page=cntctfrmtdbpr_settings'
349 291 ),
350 - 'bws-popular-posts/bws-popular-posts.php' => array(
351 - 'name' => 'Popular Posts',
352 - 'description' => 'This plugin will help you can display the most popular posts on your blog in the widget.',
353 - 'link' => 'http://bestwebsoft.com/products/popular-posts/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
354 - 'download' => 'http://bestwebsoft.com/products/popular-posts/download/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
355 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Popular+Posts+BestWebSoft&plugin-search-input=Search+Plugins',
356 - 'settings' => 'admin.php?page=popular-posts.php'
292 + 'google-sitemap-pro/google-sitemap-pro.php'=> array(
293 + 'name' => 'Google Sitemap Pro',
294 + 'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
295 + 'link' => 'http://bestwebsoft.com/plugin/google-sitemap-pro/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
296 + 'purchase' => 'http://bestwebsoft.com/plugin/google-sitemap-pro/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
297 + 'settings' => 'admin.php?page=google-sitemap-pro.php'
357 298 ),
358 - 'bws-testimonials/bws-testimonials.php' => array(
359 - 'name' => 'Testimonials',
360 - 'description' => 'Allows creating and displaying a Testimonial on your website.',
361 - 'link' => 'http://bestwebsoft.com/products/testimonials/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
362 - 'download' => 'http://bestwebsoft.com/products/testimonials/download/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
363 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Testimonials+BestWebSoft&plugin-search-input=Search+Plugins',
364 - 'settings' => 'admin.php?page=testimonials.php'
299 + 'twitter-pro/twitter-pro.php' => array(
300 + 'name' => 'Twitter Pro',
301 + 'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
302 + 'link' => 'http://bestwebsoft.com/plugin/twitter-pro/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
303 + 'purchase' => 'http://bestwebsoft.com/plugin/twitter-pro?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
304 + 'settings' => 'admin.php?page=twitter-pro.php'
365 305 ),
366 - 'bws-featured-posts/bws-featured-posts.php' => array(
367 - 'name' => 'Featured Posts',
368 - 'description' => 'Displays featured posts randomly on any website page.',
369 - 'link' => 'http://bestwebsoft.com/products/featured-posts/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
370 - 'download' => 'http://bestwebsoft.com/products/featured-posts/download/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
371 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Featured+Posts+BestWebSoft&plugin-search-input=Search+Plugins',
372 - 'settings' => 'admin.php?page=featured-posts.php'
306 + 'google-one-pro/google-plus-one-pro.php' => array(
307 + 'name' => 'Google +1 Pro',
308 + 'description' => 'Allows you to celebrate liked the article.',
309 + 'link' => 'http://bestwebsoft.com/plugin/google-plus-one-pro/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
310 + 'purchase' => 'http://bestwebsoft.com/plugin/google-plus-one-pro?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
311 + 'settings' => 'admin.php?page=google-plus-one-pro.php'
373 312 ),
374 - 'gallery-categories/gallery-categories.php' => array(
375 - 'name' => 'Gallery Categories',
376 - 'description' => 'Add-on for Gallery Plugin by BestWebSoft',
377 - 'link' => 'http://bestwebsoft.com/products/gallery-categories/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
378 - 'download' => 'http://bestwebsoft.com/products/gallery-categories/download/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
379 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Gallery+Categories+BestWebSoft&plugin-search-input=Search+Plugins',
380 - 'settings' => ''
313 + 'facebook-button-pro/facebook-button-pro.php' => array(
314 + 'name' => 'Facebook Like Button Pro',
315 + 'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
316 + 'link' => 'http://bestwebsoft.com/plugin/facebook-like-button-pro/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
317 + 'purchase' => 'http://bestwebsoft.com/plugin/facebook-like-button-pro?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
318 + 'settings' => 'admin.php?page=facebook-button-pro.php'
381 319 ),
382 - 're-attacher/re-attacher.php' => array(
383 - 'name' => 'Re-attacher',
384 - 'description' => 'This plugin allows to attach, unattach or reattach media item in different post.',
385 - 'link' => 'http://bestwebsoft.com/products/re-attacher/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
386 - 'download' => 'http://bestwebsoft.com/products/re-attacher/download/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
387 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Re-attacher+BestWebSoft&plugin-search-input=Search+Plugins',
388 - 'settings' => 'admin.php?page=re-attacher.php'
320 + 'pdf-print-pro/pdf-print-pro.php' => array(
321 + 'name' => 'PDF & Print Pro',
322 + 'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
323 + 'link' => 'http://bestwebsoft.com/plugin/pdf-print-pro/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
324 + 'purchase' => 'http://bestwebsoft.com/plugin/pdf-print-pro?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
325 + 'settings' => 'admin.php?page=pdf-print-pro.php'
389 326 ),
390 - 'bws-smtp/bws-smtp.php' => array(
391 - 'name' => 'SMTP',
392 - 'description' => 'This plugin introduces an easy way to configure sending email messages via SMTP.',
393 - 'link' => 'http://bestwebsoft.com/products/bws-smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
394 - 'download' => 'http://bestwebsoft.com/products/bws-smtp/download/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
395 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=SMTP+BestWebSoft&plugin-search-input=Search+Plugins',
396 - 'settings' => 'admin.php?page=bwssmtp_settings'
327 + 'bws-google-maps-pro/bws-google-maps-pro.php' => array(
328 + 'name' => 'BestWebSoft Google Maps Pro',
329 + 'description' => 'Easy to set up and insert Google Maps to your website.',
330 + 'link' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
331 + 'purchase' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
332 + 'settings' => 'admin.php?page=bws-google-maps-pro.php'
397 333 ),
398 - 'promobar/promobar.php' => array(
399 - 'name' => 'PromoBar',
400 - 'description' => 'This plugin allows placing banners with any data on your website.',
401 - 'link' => 'http://bestwebsoft.com/products/promobar/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
402 - 'download' => 'http://bestwebsoft.com/products/promobar/download/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
403 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=PromoBar+BestWebSoft&plugin-search-input=Search+Plugins',
404 - 'settings' => 'admin.php?page=promobar.php',
405 - 'pro_version' => 'promobar-pro/promobar-pro.php',
406 - 'purchase' => 'http://bestwebsoft.com/products/promobar/buy/?k=a9b09708502f12a1483532ba12fe2103&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
407 - 'pro_settings' => 'admin.php?page=promobar-pro.php'
334 + 'contact-form-multi-pro/contact-form-multi-pro.php' => array(
335 + 'name' => 'Contact Form Multi Pro',
336 + 'description' => 'This plugin is an exclusive add-on to the Contact Form Pro. Allows to create multiple contact forms.',
337 + 'link' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
338 + 'purchase' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
339 + 'settings' => ''
408 340 ),
409 - 'realty/realty.php' => array(
410 - 'name' => 'Realty',
411 - 'description' => 'A convenient plugin that adds Real Estate functionality.',
412 - 'link' => 'http://bestwebsoft.com/products/realty/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
413 - 'download' => 'http://bestwebsoft.com/products/realty/download/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
414 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Realty+BestWebSoft&plugin-search-input=Search+Plugins',
415 - 'settings' => 'admin.php?page=realty_settings',
416 - 'pro_version' => 'realty-pro/realty-pro.php',
417 - 'purchase' => 'http://bestwebsoft.com/products/realty/buy/?k=c7791f0a72acfb36f564a614dbccb474&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
418 - 'pro_settings' => 'admin.php?page=realty_pro_settings'
341 + 'user-role-pro/user-role-pro.php' => array(
342 + 'name' => 'User Role Pro',
343 + 'description' => 'Allows to change wordpress user role capabilities.',
344 + 'link' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
345 + 'purchase' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
346 + 'settings' => 'admin.php?page=user-role-pro.php'
419 347 ),
420 - 'zendesk-help-center/zendesk-help-center.php' => array(
421 - 'name' => 'Zendesk Help Center Backup',
422 - 'description' => 'This plugin allows to backup Zendesk Help Center.',
423 - 'link' => 'http://bestwebsoft.com/products/zendesk-help-center/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
424 - 'download' => 'http://bestwebsoft.com/products/zendesk-help-center/download/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
425 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Zendesk+Help+Center+Backup+BestWebSoft&plugin-search-input=Search+Plugins',
426 - 'settings' => 'admin.php?page=zendesk_hc.php&tab=settings'
427 - ),
428 - 'social-buttons-pack/social-buttons-pack.php' => array(
429 - 'name' => 'Social Buttons Pack',
430 - 'description' => 'Add Social buttons to your WordPress website.',
431 - 'link' => 'http://bestwebsoft.com/products/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
432 - 'download' => 'http://bestwebsoft.com/products/social-buttons-pack/download/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
433 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Social+Buttons+Pack+BestWebSoft&plugin-search-input=Search+Plugins',
434 - 'settings' => 'admin.php?page=social-buttons.php'
435 - ),
436 - 'pagination/pagination.php' => array(
437 - 'name' => 'Pagination',
438 - 'description' => 'Add pagination block to your WordPress website.',
439 - 'link' => 'http://bestwebsoft.com/products/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
440 - 'download' => 'http://bestwebsoft.com/products/pagination/download/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
441 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Pagination+BestWebSoft&plugin-search-input=Search+Plugins',
442 - 'settings' => 'admin.php?page=pagination.php'
443 - ),
444 - 'visitors-online/visitors-online.php' => array(
445 - 'name' => 'Visitors Online',
446 - 'description' => 'See how many users, guests and bots are online at the website.',
447 - 'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
448 - 'download' => 'http://bestwebsoft.com/products/visitors-online/download/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
449 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Visitors+online+BestWebSoft&plugin-search-input=Search+Plugins',
450 - 'settings' => 'admin.php?page=visitors-online.php',
451 - 'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
452 - 'purchase' => 'http://bestwebsoft.com/products/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
453 - 'pro_settings' => 'admin.php?page=visitors-online-pro.php'
454 - ),
455 - 'profile-extra-fields/profile-extra-fields.php' => array(
456 - 'name' => 'Profile Extra Fields',
457 - 'description' => "Add additional fields on the user's profile page",
458 - 'link' => 'http://bestwebsoft.com/products/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
459 - 'download' => 'http://bestwebsoft.com/products/profile-extra-fields/download/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
460 - 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Profile+Extra+Fields+BestWebSoft&plugin-search-input=Search+Plugins',
461 - 'settings' => 'admin.php?page=profile-extra-fields.php'
462 - )
348 + 'sender-pro/sender-pro.php' => array(
349 + 'name' => 'Sender Pro',
350 + 'description' => 'You can send mails to all users or to certain categories of users.',
351 + 'link' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
352 + 'purchase' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
353 + 'settings' => 'admin.php?page=sndrpr_settings'
354 + )
463 355 );
464 -
356 +
465 357 $all_plugins = get_plugins();
466 358 $active_plugins = get_option( 'active_plugins' );
359 +
467 360 $recommend_plugins = array_diff_key( $bws_plugins, $all_plugins );
468 - $bws_plugins_pro = array();
469 361
470 362 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
471 - if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
363 + if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
472 364 unset( $recommend_plugins[ $key_plugin ] );
473 365 }
474 366 }
475 367
476 368 foreach ( $all_plugins as $key_plugin => $value_plugin ) {
477 - if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
369 + if ( ! isset( $bws_plugins[ $key_plugin ] ) && ! isset( $bws_plugins_pro[ $key_plugin ] ) )
478 370 unset( $all_plugins[ $key_plugin ] );
479 - elseif ( '-plus.php' == substr( $key_plugin, -9, 9 ) )
371 +
372 + if ( isset( $bws_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
480 373 unset( $all_plugins[ $key_plugin ] );
481 - else {
482 - foreach ( $bws_plugins as $key => $value ) {
483 - if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
484 - $bws_plugins_pro[ $key_plugin ] = $key;
485 - unset( $all_plugins[ $key ] );
486 - }
487 - }
488 374 }
489 375 }
490 376
491 377 if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
@@ -490,34 +376,72 @@
490 376
491 377 if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
492 378 $all_plugins = get_plugins();
493 379 $active_plugins = get_option( 'active_plugins' );
380 + $sql_version = $wpdb->get_var( "SELECT VERSION() AS version" );
494 381 $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
495 - if ( is_array( $mysql_info ) )
382 + if ( is_array( $mysql_info) )
496 383 $sql_mode = $mysql_info[0]->Value;
497 384 if ( empty( $sql_mode ) )
498 385 $sql_mode = __( 'Not set', 'bestwebsoft' );
386 + if ( ini_get( 'safe_mode' ) )
387 + $safe_mode = __( 'On', 'bestwebsoft' );
388 + else
389 + $safe_mode = __( 'Off', 'bestwebsoft' );
390 + if ( ini_get( 'allow_url_fopen' ) )
391 + $allow_url_fopen = __( 'On', 'bestwebsoft' );
392 + else
393 + $allow_url_fopen = __( 'Off', 'bestwebsoft' );
394 + if ( ini_get( 'upload_max_filesize' ) )
395 + $upload_max_filesize = ini_get( 'upload_max_filesize' );
396 + else
397 + $upload_max_filesize = __( 'N/A', 'bestwebsoft' );
398 + if ( ini_get('post_max_size') )
399 + $post_max_size = ini_get('post_max_size');
400 + else
401 + $post_max_size = __( 'N/A', 'bestwebsoft' );
402 + if ( ini_get( 'max_execution_time' ) )
403 + $max_execution_time = ini_get( 'max_execution_time' );
404 + else
405 + $max_execution_time = __( 'N/A', 'bestwebsoft' );
406 + if ( ini_get( 'memory_limit' ) )
407 + $memory_limit = ini_get( 'memory_limit' );
408 + else
409 + $memory_limit = __( 'N/A', 'bestwebsoft' );
410 + if ( function_exists( 'memory_get_usage' ) )
411 + $memory_usage = round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' );
412 + else
413 + $memory_usage = __( 'N/A', 'bestwebsoft' );
414 + if ( is_callable( 'exif_read_data' ) )
415 + $exif_read_data = __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" ;
416 + else
417 + $exif_read_data = __( 'No', 'bestwebsoft' );
418 + if ( is_callable( 'iptcparse' ) )
419 + $iptcparse = __( 'Yes', 'bestwebsoft' );
420 + else
421 + $iptcparse = __( 'No', 'bestwebsoft' );
422 + if ( is_callable( 'xml_parser_create' ) )
423 + $xml_parser_create = __( 'Yes', 'bestwebsoft' );
424 + else
425 + $xml_parser_create = __( 'No', 'bestwebsoft' );
499 426
500 - $safe_mode = ( ini_get( 'safe_mode' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
501 - $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
502 - $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' );
503 - $post_max_size = ( ini_get( 'post_max_size' ) ) ? ini_get( 'post_max_size' ) : __( 'N/A', 'bestwebsoft' );
504 - $max_execution_time = ( ini_get( 'max_execution_time' ) ) ? ini_get( 'max_execution_time' ) : __( 'N/A', 'bestwebsoft' );
505 - $memory_limit = ( ini_get( 'memory_limit' ) ) ? ini_get( 'memory_limit' ) : __( 'N/A', 'bestwebsoft' );
506 - $memory_usage = ( function_exists( 'memory_get_usage' ) ) ? round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' ) : __( 'N/A', 'bestwebsoft' );
507 - $exif_read_data = ( is_callable( 'exif_read_data' ) ) ? __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" : __( 'No', 'bestwebsoft' );
508 - $iptcparse = ( is_callable( 'iptcparse' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
509 - $xml_parser_create = ( is_callable( 'xml_parser_create' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
510 - $theme = ( function_exists( 'wp_get_theme' ) ) ? wp_get_theme() : get_theme( get_current_theme() );
427 + if ( function_exists( 'wp_get_theme' ) )
428 + $theme = wp_get_theme();
429 + else
430 + $theme = get_theme( get_current_theme() );
511 431
512 432 if ( function_exists( 'is_multisite' ) ) {
513 - if ( is_multisite() )
433 + if ( is_multisite() ) {
514 434 $multisite = __( 'Yes', 'bestwebsoft' );
515 - else
435 + } else {
516 436 $multisite = __( 'No', 'bestwebsoft' );
437 + }
517 438 } else
518 439 $multisite = __( 'N/A', 'bestwebsoft' );
519 440
441 + $site_url = get_option( 'siteurl' );
442 + $home_url = get_option( 'home' );
443 + $db_version = get_option( 'db_version' );
520 444 $system_info = array(
521 445 'system_info' => '',
522 446 'active_plugins' => '',
523 447 'inactive_plugins' => ''
@@ -525,9 +449,9 @@
525 449 $system_info['system_info'] = array(
526 450 __( 'Operating System', 'bestwebsoft' ) => PHP_OS,
527 451 __( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
528 452 __( 'Memory usage', 'bestwebsoft' ) => $memory_usage,
529 - __( 'MYSQL Version', 'bestwebsoft' ) => $wpdb->get_var( "SELECT VERSION() AS version" ),
453 + __( 'MYSQL Version', 'bestwebsoft' ) => $sql_version,
530 454 __( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
531 455 __( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
532 456 __( 'PHP Safe Mode', 'bestwebsoft' ) => $safe_mode,
533 457 __( 'PHP Allow URL fopen', 'bestwebsoft' ) => $allow_url_fopen,
@@ -537,35 +461,36 @@
537 461 __( 'PHP Max Script Execute Time', 'bestwebsoft' ) => $max_execution_time,
538 462 __( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
539 463 __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
540 464 __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
541 - __( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
542 - __( 'Home URL', 'bestwebsoft' ) => home_url(),
465 + __( 'Site URL', 'bestwebsoft' ) => $site_url,
466 + __( 'Home URL', 'bestwebsoft' ) => $home_url,
543 467 '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
544 468 '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
545 469 __( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
546 - __( 'WordPress DB Version', 'bestwebsoft' ) => get_option( 'db_version' ),
470 + __( 'WordPress DB Version', 'bestwebsoft' ) => $db_version,
547 471 __( 'Multisite', 'bestwebsoft' ) => $multisite,
548 472 __( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version']
549 473 );
550 474 foreach ( $all_plugins as $path => $plugin ) {
551 - if ( is_plugin_active( $path ) )
475 + if ( is_plugin_active( $path ) ) {
552 476 $system_info['active_plugins'][ $plugin['Name'] ] = $plugin['Version'];
553 - else
477 + } else {
554 478 $system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
555 - }
479 + }
480 + }
556 481 }
557 482
558 483 if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
559 484 ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
560 485 if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
561 - $bwsmn_form_email = esc_html( trim( $_REQUEST['bwsmn_form_email'] ) );
562 - if ( $bwsmn_form_email == "" || ! is_email( $bwsmn_form_email ) ) {
486 + $bwsmn_form_email = trim( $_REQUEST['bwsmn_form_email'] );
487 + if ( $bwsmn_form_email == "" || !preg_match( "/^((?:[a-z0-9']+(?:[a-z0-9\-_\.']+)?@[a-z0-9]+(?:[a-z0-9\-\.]+)?\.[a-z]{2,5})[, ]*)+$/i", $bwsmn_form_email ) ) {
563 488 $error = __( "Please enter a valid email address.", 'bestwebsoft' );
564 489 } else {
565 490 $email = $bwsmn_form_email;
566 491 $bwsmn_form_email = '';
567 - $message = __( 'Email with system info is sent to ', 'bestwebsoft' ) . $email;
492 + $message = __( 'Email with system info is sent to ', 'bestwebsoft' ) . $email;
568 493 }
569 494 } else {
570 495 $email = '[email protected]';
571 496 $message = __( 'Thank you for contacting us.', 'bestwebsoft' );
@@ -574,33 +499,28 @@
574 499 if ( $error == '' ) {
575 500 $headers = 'MIME-Version: 1.0' . "\n";
576 501 $headers .= 'Content-type: text/html; charset=utf-8' . "\n";
577 502 $headers .= 'From: ' . get_option( 'admin_email' );
578 - $message_text = '<html><head><title>System Info From ' . home_url() . '</title></head><body>
503 + $message_text = '<html><head><title>System Info From ' . $home_url . '</title></head><body>
579 504 <h4>Environment</h4>
580 505 <table>';
581 506 foreach ( $system_info['system_info'] as $key => $value ) {
582 - $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
507 + $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
583 508 }
584 - $message_text .= '</table>';
585 - if ( ! empty( $system_info['active_plugins'] ) ) {
586 - $message_text .= '<h4>Active Plugins</h4>
587 - <table>';
588 - foreach ( $system_info['active_plugins'] as $key => $value ) {
589 - $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
590 - }
591 - $message_text .= '</table>';
509 + $message_text .= '</table>
510 + <h4>Active Plugins</h4>
511 + <table>';
512 + foreach ( $system_info['active_plugins'] as $key => $value ) {
513 + $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
592 514 }
593 - if ( ! empty( $system_info['inactive_plugins'] ) ) {
594 - $message_text .= '<h4>Inactive Plugins</h4>
595 - <table>';
596 - foreach ( $system_info['inactive_plugins'] as $key => $value ) {
597 - $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
598 - }
599 - $message_text .= '</table>';
515 + $message_text .= '</table>
516 + <h4>Inactive Plugins</h4>
517 + <table>';
518 + foreach ( $system_info['inactive_plugins'] as $key => $value ) {
519 + $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
600 520 }
601 - $message_text .= '</body></html>';
602 - $result = wp_mail( $email, 'System Info From ' . home_url(), $message_text, $headers );
521 + $message_text .= '</table></body></html>';
522 + $result = wp_mail( $email, 'System Info From ' . $home_url, $message_text, $headers );
603 523 if ( $result != true )
604 524 $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
605 525 }
606 526 } ?>
@@ -605,24 +525,17 @@
605 525 }
606 526 } ?>
607 527 <div class="wrap">
608 528 <div class="icon32 icon32-bws" id="icon-options-general"></div>
609 - <h2>
610 - <span class="bws_main title">BestWebSoft</span>
611 - <ul class="subsubsub bws_title_menu">
612 - <li><a href="<?php echo esc_url( 'http://support.bestwebsoft.com/home' ); ?>" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
613 - <li><a href="<?php echo esc_url( 'http://bestwebsoft.com/wp-login.php' ); ?>" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
614 - <li><a class="bws_system_status <?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a></li>
615 - </ul>
616 - <div class="clear"></div>
617 - </h2>
529 + <h2>BestWebSoft</h2>
618 530 <h2 class="nav-tab-wrapper">
619 531 <a class="nav-tab<?php if ( !isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
620 532 <?php if ( $wp_version >= '3.4' ) { ?>
621 533 <a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'themes' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=themes"><?php _e( 'Themes', 'bestwebsoft' ); ?></a>
622 534 <?php } ?>
623 - </h2>
624 - <?php if ( ! isset( $_GET['action'] ) ) { ?>
535 + <a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
536 + </h2>
537 + <?php if ( !isset( $_GET['action'] ) ) { ?>
625 538 <ul class="subsubsub">
626 539 <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
627 540 <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
628 541 <li><a <?php if ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=recommended"><?php _e( 'Recommended', 'bestwebsoft' ); ?></a></li>
@@ -627,15 +540,20 @@
627 540 <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
628 541 <li><a <?php if ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=recommended"><?php _e( 'Recommended', 'bestwebsoft' ); ?></a></li>
629 542 </ul>
630 543 <div class="clear"></div>
631 - <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
544 + <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
632 545 <h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
633 546 <?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
634 - if ( isset( $bws_plugins_pro[ $key_plugin ] ) )
635 - $key_plugin = $bws_plugins_pro[ $key_plugin ];
636 -
637 - if ( isset( $bws_plugins[ $key_plugin ] ) ) {
547 + if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) {
548 + $key_plugin_explode = explode( '-plugin-pro/', $key_plugin );
549 + if ( isset( $key_plugin_explode[1] ) )
550 + $icon = $key_plugin_explode[0];
551 + else {
552 + $key_plugin_explode = explode( '-pro/', $key_plugin );
553 + $icon = $key_plugin_explode[0];
554 + }
555 + } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) {
638 556 $key_plugin_explode = explode( '-plugin/', $key_plugin );
639 557 if ( isset( $key_plugin_explode[1] ) )
640 558 $icon = $key_plugin_explode[0];
641 559 else {
@@ -643,33 +561,60 @@
643 561 $icon = $key_plugin_explode[0];
644 562 }
645 563 }
646 564
647 - if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && ( in_array( $bws_plugins[ $key_plugin ]['pro_version'], $active_plugins ) || is_plugin_active_for_network( $bws_plugins[ $key_plugin ]['pro_version'] ) ) ) { ?>
648 - <div class="bws_product_box bws_exist_overlay">
649 - <div class="bws_product">
650 - <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
651 - <div class="bws_product_content">
652 - <div class="bws_product_icon">
653 - <div class="bws_product_icon_pro">PRO</div>
654 - <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
565 + if ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) { ?>
566 + <?php if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) { ?>
567 + <div class="bws_product_box bws_exist_overlay">
568 + <div class="bws_product">
569 + <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
570 + <div class="bws_product_content">
571 + <div class="bws_product_icon">
572 + <div class="bws_product_icon_pro">PRO</div>
573 + <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
574 + </div>
575 + <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
655 576 </div>
656 - <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
577 + <div class="clear"></div>
657 578 </div>
658 - <div class="clear"></div>
579 + <div class="bws_product_links">
580 + <a href="<?php echo $bws_plugins_pro[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
581 + <span> | </span>
582 + <a href="<?php echo $bws_plugins_pro[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
583 + </div>
659 584 </div>
660 - <div class="bws_product_links">
661 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
662 - <?php if ( '' != $bws_plugins[ $key_plugin ]["pro_settings"] ) { ?>
585 + <?php } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
586 + <div class="bws_product_box bws_product_free">
587 + <div class="bws_product">
588 + <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
589 + <div class="bws_product_content">
590 + <div class="bws_product_icon">
591 + <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
592 + </div>
593 + <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
594 + </div>
595 + <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
596 + <a class="bws_product_button" href="<?php echo $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ]["purchase"]; ?>" target="_blank">
597 + <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
598 + </a>
599 + <?php } else { ?>
600 + <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
601 + <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
602 + </a>
603 + <?php } ?>
604 + <div class="clear"></div>
605 + </div>
606 + <div class="bws_product_links">
607 + <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
663 608 <span> | </span>
664 - <a href="<?php echo $bws_plugins[ $key_plugin ]["pro_settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
665 - <?php } ?>
609 + <a href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
610 + </div>
666 611 </div>
667 - </div>
668 - <?php } elseif ( isset( $bws_plugins[ $key_plugin ] ) && ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) ) {
669 - if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
612 + <?php }
613 + } else {
614 + if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) { ?>
670 615 <div class="bws_product_box bws_product_deactivated">
671 - <div class="bws_product">
616 + <div class="bws_product">
672 617 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
673 618 <div class="bws_product_content">
674 619 <div class="bws_product_icon">
675 620 <div class="bws_product_icon_pro">PRO</div>
@@ -674,30 +619,30 @@
674 619 <div class="bws_product_icon">
675 620 <div class="bws_product_icon_pro">PRO</div>
676 621 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
677 622 </div>
678 - <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
623 + <div class="bws_product_description"><?php echo $bws_plugins_pro[ $key_plugin ]["description"]; ?></div>
679 624 </div>
680 625 <div class="clear"></div>
681 626 </div>
682 627 <div class="bws_product_links">
683 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
628 + <a href="<?php echo $bws_plugins_pro[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
684 629 <span> | </span>
685 630 <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
686 631 </div>
687 632 </div>
688 - <?php } else { ?>
689 - <div class="bws_product_box bws_product_free">
690 - <div class="bws_product">
633 + <?php } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
634 + <div class="bws_product_box bws_product_deactivated bws_product_free">
635 + <div class="bws_product">
691 636 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
692 - <div class="bws_product_content">
637 + <div class="bws_product_content">
693 638 <div class="bws_product_icon">
694 639 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
695 640 </div>
696 641 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
697 642 </div>
698 - <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
699 - <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
643 + <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
644 + <a class="bws_product_button" href="<?php echo $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ]["purchase"]; ?>" target="_blank">
700 645 <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
701 646 </a>
702 647 <?php } else { ?>
703 648 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
@@ -707,43 +652,14 @@
707 652 <div class="clear"></div>
708 653 </div>
709 654 <div class="bws_product_links">
710 655 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
711 - <?php if ( '' != $bws_plugins[ $key_plugin ]["settings"] ) { ?>
712 - <span> | </span>
713 - <a href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
714 - <?php } ?>
656 + <span> | </span>
657 + <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
715 658 </div>
716 659 </div>
717 660 <?php }
718 - } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
719 - <div class="bws_product_box bws_product_deactivated bws_product_free">
720 - <div class="bws_product">
721 - <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
722 - <div class="bws_product_content">
723 - <div class="bws_product_icon">
724 - <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
725 - </div>
726 - <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
727 - </div>
728 - <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
729 - <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
730 - <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
731 - </a>
732 - <?php } else { ?>
733 - <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
734 - <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
735 - </a>
736 - <?php } ?>
737 - <div class="clear"></div>
738 - </div>
739 - <div class="bws_product_links">
740 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
741 - <span> | </span>
742 - <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
743 - </div>
744 - </div>
745 - <?php }
661 + }
746 662 }
747 663 } ?>
748 664 <div class="clear"></div>
749 665 <?php if ( ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
@@ -749,9 +665,17 @@
749 665 <?php if ( ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
750 666 <h4 class="bws_recommended"><?php _e( 'Recommended plugins', 'bestwebsoft' ); ?></h4>
751 667 <?php foreach ( $recommend_plugins as $key_plugin => $value_plugin ) {
752 668
753 - if ( isset( $bws_plugins[ $key_plugin ] ) ) {
669 + if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) {
670 + $key_plugin_explode = explode( '-plugin-pro/', $key_plugin );
671 + if ( isset( $key_plugin_explode[1] ) )
672 + $icon = $key_plugin_explode[0];
673 + else {
674 + $key_plugin_explode = explode( '-pro/', $key_plugin );
675 + $icon = $key_plugin_explode[0];
676 + }
677 + } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) {
754 678 $key_plugin_explode = explode( '-plugin/', $key_plugin );
755 679 if ( isset( $key_plugin_explode[1] ) )
756 680 $icon = $key_plugin_explode[0];
757 681 else {
@@ -759,13 +683,13 @@
759 683 $icon = $key_plugin_explode[0];
760 684 }
761 685 } ?>
762 686 <div class="bws_product_box">
763 - <div class="bws_product">
687 + <div class="bws_product">
764 688 <div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
765 689 <div class="bws_product_content">
766 690 <div class="bws_product_icon">
767 - <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) ) { ?>
691 + <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
768 692 <div class="bws_product_icon_pro">PRO</div>
769 693 <?php } ?>
770 694 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
771 695 </div>
@@ -770,28 +694,28 @@
770 694 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
771 695 </div>
772 696 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
773 697 </div>
774 - <?php if ( isset( $bws_plugins[ $key_plugin ]["pro_version"] ) ) { ?>
775 - <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
776 - <?php _e( 'Go', 'bestwebsoft' ); ?> <strong>PRO</strong>
777 - </a>
698 + <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
699 + <a class="bws_product_button" href="<?php echo $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ]["link"]; ?>" target="_blank">
700 + <?php echo _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
701 + </a>
778 702 <?php } else { ?>
779 703 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
780 - <strong><?php _e( 'DONATE', 'bestwebsoft' ); ?></strong>
704 + <strong><?php echo _e( 'DONATE', 'bestwebsoft' );?></strong>
781 705 </a>
782 706 <?php } ?>
783 707 </div>
784 708 <div class="clear"></div>
785 - <div class="bws_product_links">
786 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
709 + <div class="bws_product_links">
710 + <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php echo __( "Learn more", 'bestwebsoft' ); ?></a>
787 711 <span> | </span>
788 - <a href="<?php echo $bws_plugins[ $key_plugin ]["wp_install"]; ?>" target="_blank"><?php _e( "Install now", 'bestwebsoft' ); ?></a>
712 + <a href="<?php echo $bws_plugins[ $key_plugin ]["wp_install"]; ?>" target="_blank"><?php echo __( "Install now", 'bestwebsoft' ); ?></a>
789 713 </div>
790 714 </div>
791 - <?php }
792 - } ?>
793 - <?php } elseif ( 'themes' == $_GET['action'] ) { ?>
715 + <?php }
716 + } ?>
717 + <?php } elseif ( 'themes' == $_GET['action'] ) { ?>
794 718 <div id="availablethemes">
795 719 <?php global $tabs, $tab, $paged, $type, $theme_field_defaults;
796 720 include( ABSPATH . 'wp-admin/includes/theme-install.php' );
797 721 include( ABSPATH . 'wp-admin/includes/class-wp-themes-list-table.php' );
@@ -805,9 +729,9 @@
805 729 $args = apply_filters( 'install_themes_table_api_args_search', $args );
806 730 $api = themes_api( 'query_themes', $args );
807 731
808 732 if ( is_wp_error( $api ) )
809 - wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try again', 'bestwebsoft' ) . '</a>' );
733 + wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try again' ) . '</a>' );
810 734
811 735 $theme_class->items = $api->themes;
812 736 $theme_class->set_pagination_args( array(
813 737 'total_items' => $api->info['results'],
@@ -823,9 +747,9 @@
823 747 return;
824 748
825 749 $name = wp_kses( $theme->name, $themes_allowedtags );
826 750 $author = wp_kses( $theme->author, $themes_allowedtags );
827 - $preview_title = sprintf( __( 'Preview &#8220;%s&#8221;', 'bestwebsoft' ), $name );
751 + $preview_title = sprintf( __('Preview &#8220;%s&#8221;'), $name );
828 752 $preview_url = add_query_arg( array(
829 753 'tab' => 'theme-information',
830 754 'theme' => $theme->slug,
831 755 ), self_admin_url( 'theme-install.php' ) );
@@ -854,31 +778,31 @@
854 778 }
855 779 switch ( $status ) {
856 780 default:
857 781 case 'install':
858 - $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Install %s', 'bestwebsoft' ), $name ) ) . '">' . __( 'Install Now', 'bestwebsoft' ) . '</a>';
782 + $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __( 'Install Now' ) . '</a>';
859 783 break;
860 784 case 'update_available':
861 - $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s', 'bestwebsoft' ), $theme->version ) ) . '">' . __( 'Update', 'bestwebsoft' ) . '</a>';
785 + $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>';
862 786 break;
863 787 case 'newer_installed':
864 788 case 'latest_installed':
865 - $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme', 'bestwebsoft' ) . '</span>';
789 + $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme' ) . '</span>';
866 790 break;
867 791 }
868 - $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s', 'bestwebsoft' ), $name ) ) . '">' . __( 'Preview', 'bestwebsoft' ) . '</a>';
792 + $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';
869 793 $actions = apply_filters( 'theme_install_actions', $actions, $theme ); ?>
870 794 <a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
871 795 <img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
872 796 </a>
873 797 <h3><?php echo $name; ?></h3>
874 - <div class="theme-author"><?php printf( __( 'By %s', 'bestwebsoft' ), $author ); ?></div>
798 + <div class="theme-author"><?php printf( __( 'By %s' ), $author ); ?></div>
875 799 <div class="action-links">
876 800 <ul>
877 801 <?php foreach ( $actions as $action ): ?>
878 802 <li><?php echo $action; ?></li>
879 803 <?php endforeach; ?>
880 - <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e( 'Details', 'bestwebsoft' ) ?></a></li>
804 + <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
881 805 </ul>
882 806 </div>
883 807 <?php $theme_class->install_theme_info( $theme ); ?>
884 808 </div>
@@ -902,15 +826,15 @@
902 826 </div>
903 827 <?php } else { ?>
904 828 <div class="theme-screenshot blank"></div>
905 829 <?php } ?>
906 - <div class="theme-author"><?php printf( __( 'By %s', 'bestwebsoft' ), $theme->author ); ?></div>
830 + <div class="theme-author"><?php printf( __( 'By %s' ), $theme->author ); ?></div>
907 831 <h3 class="theme-name"><?php echo $theme->name; ?></h3>
908 832 <div class="theme-actions">
909 - <a class="button button-secondary preview install-theme-preview" href="theme-install.php?theme=<?php echo $theme->slug ?>"><?php esc_html_e( 'Learn More', 'bestwebsoft' ); ?></a>
833 + <a class="button button-secondary preview install-theme-preview" href="theme-install.php?theme=<?php echo $theme->slug ?>"><?php esc_html_e( 'Learn More' ); ?></a>
910 834 </div>
911 835 <?php if ( $theme->installed ) { ?>
912 - <div class="theme-installed"><?php _e( 'Already Installed', 'bestwebsoft' ); ?></div>
836 + <div class="theme-installed"><?php _e( 'Already Installed' ); ?></div>
913 837 <?php } ?>
914 838 </div>
915 839 <?php } ?>
916 840 <br class="clear" />
@@ -926,13 +850,13 @@
926 850 <div class="inside">
927 851 <table class="bws_system_info">
928 852 <thead><tr><th><?php _e( 'Environment', 'bestwebsoft' ); ?></th><td></td></tr></thead>
929 853 <tbody>
930 - <?php foreach ( $system_info['system_info'] as $key => $value ) { ?>
854 + <?php foreach ( $system_info['system_info'] as $key => $value ) { ?>
931 855 <tr>
932 856 <td scope="row"><?php echo $key; ?></td>
933 857 <td scope="row"><?php echo $value; ?></td>
934 - </tr>
858 + </tr>
935 859 <?php } ?>
936 860 </tbody>
937 861 </table>
938 862 <table class="bws_system_info">
@@ -937,16 +861,14 @@
937 861 </table>
938 862 <table class="bws_system_info">
939 863 <thead><tr><th><?php _e( 'Active Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
940 864 <tbody>
941 - <?php if ( ! empty( $system_info['active_plugins'] ) ) {
942 - foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
943 - <tr>
944 - <td scope="row"><?php echo $key; ?></td>
945 - <td scope="row"><?php echo $value; ?></td>
946 - </tr>
947 - <?php }
948 - } ?>
865 + <?php foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
866 + <tr>
867 + <td scope="row"><?php echo $key; ?></td>
868 + <td scope="row"><?php echo $value; ?></td>
869 + </tr>
870 + <?php } ?>
949 871 </tbody>
950 872 </table>
951 873 <table class="bws_system_info">
952 874 <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
@@ -951,33 +873,33 @@
951 873 <table class="bws_system_info">
952 874 <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
953 875 <tbody>
954 876 <?php if ( ! empty( $system_info['inactive_plugins'] ) ) {
955 - foreach ( $system_info['inactive_plugins'] as $key => $value ) { ?>
877 + foreach ( $system_info['inactive_plugins'] as $key => $value ) { ?>
956 878 <tr>
957 879 <td scope="row"><?php echo $key; ?></td>
958 880 <td scope="row"><?php echo $value; ?></td>
959 - </tr>
960 - <?php }
881 + </tr>
882 + <?php }
961 883 } ?>
962 884 </tbody>
963 885 </table>
964 - <div class="clear"></div>
886 + <div class="clear"></div>
965 887 <form method="post" action="admin.php?page=bws_plugins&amp;action=system_status">
966 - <p>
888 + <p>
967 889 <input type="hidden" name="bwsmn_form_submit" value="submit" />
968 890 <input type="submit" class="button-primary" value="<?php _e( 'Send to support', 'bestwebsoft' ) ?>" />
969 - <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ); ?>
970 - </p>
971 - </form>
972 - <form method="post" action="admin.php?page=bws_plugins&amp;action=system_status">
973 - <p>
974 - <input type="hidden" name="bwsmn_form_submit_custom_email" value="submit" />
891 + <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ); ?>
892 + </p>
893 + </form>
894 + <form method="post" action="admin.php?page=bws_plugins&amp;action=system_status">
895 + <p>
896 + <input type="hidden" name="bwsmn_form_submit_custom_email" value="submit" />
975 897 <input type="submit" class="button" value="<?php _e( 'Send to custom email &#187;', 'bestwebsoft' ) ?>" />
976 - <input type="text" maxlength="250" value="<?php echo $bwsmn_form_email; ?>" name="bwsmn_form_email" />
898 + <input type="text" value="<?php echo $bwsmn_form_email; ?>" name="bwsmn_form_email" />
977 899 <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ); ?>
978 - </p>
979 - </form>
900 + </p>
901 + </form>
980 902 </div>
981 903 <?php } ?>
982 904 </div>
983 905 <?php }
@@ -982,39 +904,48 @@
982 904 </div>
983 905 <?php }
984 906 }
985 907
986 -if ( ! function_exists( 'bws_get_banner_array' ) ) {
987 - function bws_get_banner_array() {
988 - global $bstwbsftwppdtplgns_banner_array;
989 - $bstwbsftwppdtplgns_banner_array = array(
990 - array( 'gglcptch_hide_banner_on_plugin_page', 'google-captcha/google-captcha.php', '1.18' ),
991 - array( 'mltlngg_hide_banner_on_plugin_page', 'multilanguage/multilanguage.php', '1.1.1' ),
992 - array( 'adsns_hide_banner_on_plugin_page', 'adsense-plugin/adsense-plugin.php', '1.36' ),
993 - array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
994 - array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
995 - array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
996 - array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
997 - array( 'prmbr_hide_banner_on_plugin_page', 'promobar/promobar.php', '1.0.0' ),
998 - array( 'gglnltcs_hide_banner_on_plugin_page', 'bws-google-analytics/bws-google-analytics.php', '1.6.2' ),
999 - array( 'htccss_hide_banner_on_plugin_page', 'htaccess/htaccess.php', '1.6.3' ),
1000 - array( 'sbscrbr_hide_banner_on_plugin_page', 'subscriber/subscriber.php', '1.1.8' ),
1001 - array( 'lmtttmpts_hide_banner_on_plugin_page', 'limit-attempts/limit-attempts.php', '1.0.2' ),
1002 - array( 'sndr_hide_banner_on_plugin_page', 'sender/sender.php', '0.5' ),
1003 - array( 'srrl_hide_banner_on_plugin_page', 'user-role/user-role.php', '1.4' ),
1004 - array( 'pdtr_hide_banner_on_plugin_page', 'updater/updater.php', '1.12' ),
1005 - array( 'cntctfrmtdb_hide_banner_on_plugin_page', 'contact-form-to-db/contact_form_to_db.php', '1.2' ),
1006 - array( 'cntctfrmmlt_hide_banner_on_plugin_page', 'contact-form-multi/contact-form-multi.php', '1.0.7' ),
1007 - array( 'gglmps_hide_banner_on_plugin_page', 'bws-google-maps/bws-google-maps.php', '1.2' ),
1008 - array( 'fcbkbttn_hide_banner_on_plugin_page', 'facebook-button-plugin/facebook-button-plugin.php', '2.29' ),
1009 - array( 'twttr_hide_banner_on_plugin_page', 'twitter-plugin/twitter.php', '2.34' ),
1010 - array( 'pdfprnt_hide_banner_on_plugin_page', 'pdf-print/pdf-print.php', '1.7.1' ),
1011 - array( 'gglplsn_hide_banner_on_plugin_page', 'google-one/google-plus-one.php', '1.1.4' ),
1012 - array( 'gglstmp_hide_banner_on_plugin_page', 'google-sitemap-plugin/google-sitemap-plugin.php', '2.8.4' ),
1013 - array( 'cntctfrmpr_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-pro/contact_form_pro.php', '1.14' ),
1014 - array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
1015 - array( 'cptch_hide_banner_on_plugin_page', 'captcha/captcha.php', '3.8.4' ),
1016 - array( 'gllr_hide_banner_on_plugin_page', 'gallery-plugin/gallery-plugin.php', '3.9.1' ),
1017 - array( 'cntctfrm_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.62' )
1018 - );
908 +if ( ! function_exists ( 'bws_plugin_init' ) ) {
909 + function bws_plugin_init() {
910 + // Internationalization, first(!)
911 + load_plugin_textdomain( 'bestwebsoft', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
1019 912 }
1020 -}
913 +}
914 +
915 +if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) ) {
916 + function bws_admin_enqueue_scripts() {
917 + global $wp_version;
918 + if ( $wp_version < 3.8 )
919 + wp_enqueue_style( 'bws-admin-stylesheet', plugins_url( 'css/general_style_wp_before_3.8.css', __FILE__ ) );
920 + else
921 + wp_enqueue_style( 'bws-admin-stylesheet', plugins_url( 'css/general_style.css', __FILE__ ) );
922 +
923 + if ( isset( $_GET['page'] ) && $_GET['page'] == "bws_plugins" ) {
924 + wp_enqueue_style( 'bws_menu_style', plugins_url( 'css/style.css', __FILE__ ) );
925 + wp_enqueue_script( 'bws_menu_script', plugins_url( 'js/bws_menu.js' , __FILE__ ) );
926 + if ( $wp_version >= '3.8' )
927 + wp_enqueue_script( 'theme-install' );
928 + elseif ( $wp_version >= '3.4' )
929 + wp_enqueue_script( 'theme' );
930 + }
931 + }
932 +}
933 +
934 +if ( ! function_exists ( 'bws_admin_head' ) ) {
935 + function bws_admin_head() {
936 + if ( isset( $_GET['page'] ) && $_GET['page'] == "bws_plugins" ) { ?>
937 + <noscript>
938 + <style type="text/css">
939 + .bws_product_button {
940 + display: inline-block;
941 + }
942 + </style>
943 + </noscript>
944 + <?php }
945 + }
946 +}
947 +
948 +add_action( 'admin_init', 'bws_plugin_init' );
949 +add_action( 'admin_enqueue_scripts', 'bws_admin_enqueue_scripts' );
950 +add_action( 'admin_head', 'bws_admin_head' );
951 +?>