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 +344 -267 1.7.6 → 1.7.3 View file →
@@ -1,8 +1,8 @@
1 1 <?php
2 2 /*
3 3 * Function for displaying BestWebSoft menu
4 -* Version: 1.3.8
4 +* Version: 1.3.2
5 5 */
6 6
7 7 if ( ! function_exists( 'bws_add_menu_render' ) ) {
8 8 function bws_add_menu_render() {
@@ -16,54 +16,46 @@
16 16 $bws_plugins = array(
17 17 'captcha/captcha.php' => array(
18 18 'name' => 'Captcha',
19 19 'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
20 - 'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
21 - 'download' => 'http://bestwebsoft.com/products/captcha/download/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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 22 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
23 23 'settings' => 'admin.php?page=captcha.php',
24 - 'pro_version' => 'captcha-pro/captcha_pro.php',
25 - 'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
26 - 'pro_settings' => 'admin.php?page=captcha_pro.php'
24 + 'pro_version' => 'captcha-pro/captcha_pro.php'
27 25 ),
28 26 'contact-form-plugin/contact_form.php' => array(
29 - 'name' => 'Contact Form',
27 + 'name' => 'Contact form',
30 28 'description' => 'Add Contact Form to your WordPress website.',
31 - 'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
32 - 'download' => 'http://bestwebsoft.com/products/contact-form/download/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
33 31 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
34 32 'settings' => 'admin.php?page=contact_form.php',
35 - 'pro_version' => 'contact-form-pro/contact_form_pro.php',
36 - 'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37 - 'pro_settings' => 'admin.php?page=contact_form_pro.php'
33 + 'pro_version' => 'contact-form-pro/contact_form_pro.php'
38 34 ),
39 35 'facebook-button-plugin/facebook-button-plugin.php' => array(
40 36 'name' => 'Facebook Like Button',
41 37 'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
42 - 'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
43 - '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,
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',
44 40 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
45 41 'settings' => 'admin.php?page=facebook-button-plugin.php',
46 - 'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
47 - '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,
48 - 'pro_settings' => 'admin.php?page=facebook-button-pro.php'
42 + 'pro_version' => 'facebook-button-pro/facebook-button-pro.php'
49 43 ),
50 44 'twitter-plugin/twitter.php' => array(
51 45 'name' => 'Twitter',
52 46 'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
53 - 'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54 - 'download' => 'http://bestwebsoft.com/products/twitter/download/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
55 49 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
56 50 'settings' => 'admin.php?page=twitter.php',
57 - 'pro_version' => 'twitter-pro/twitter-pro.php',
58 - 'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
59 - 'pro_settings' => 'admin.php?page=twitter-pro.php'
51 + 'pro_version' => 'twitter-pro/twitter-pro.php'
60 52 ),
61 53 'portfolio/portfolio.php' => array(
62 54 'name' => 'Portfolio',
63 55 'description' => 'Allows you to create a page with the information about your past projects.',
64 - 'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
65 - 'download' => 'http://bestwebsoft.com/products/portfolio/download/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
66 58 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
67 59 'settings' => 'admin.php?page=portfolio.php'
68 60 ),
69 61 'gallery-plugin/gallery-plugin.php' => array(
@@ -68,21 +60,19 @@
68 60 ),
69 61 'gallery-plugin/gallery-plugin.php' => array(
70 62 'name' => 'Gallery',
71 63 'description' => 'Allows you to implement a Gallery page into your website.',
72 - 'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
73 - 'download' => 'http://bestwebsoft.com/products/gallery/download/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
74 66 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
75 67 'settings' => 'admin.php?page=gallery-plugin.php',
76 - 'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
77 - 'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
78 - 'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
68 + 'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php'
79 69 ),
80 70 'adsense-plugin/adsense-plugin.php'=> array(
81 71 'name' => 'Google AdSense',
82 72 'description' => 'Allows Google AdSense implementation to your website.',
83 - 'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
84 - 'download' => 'http://bestwebsoft.com/products/google-adsense/download/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
85 75 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
86 76 'settings' => 'admin.php?page=adsense-plugin.php'
87 77 ),
88 78 'custom-search-plugin/custom-search-plugin.php'=> array(
@@ -87,10 +77,10 @@
87 77 ),
88 78 'custom-search-plugin/custom-search-plugin.php'=> array(
89 79 'name' => 'Custom Search',
90 80 'description' => 'Allows to extend your website search functionality by adding a custom post type.',
91 - 'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
92 - 'download' => 'http://bestwebsoft.com/products/custom-search/download/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
93 83 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
94 84 'settings' => 'admin.php?page=custom_search.php'
95 85 ),
96 86 'quotes-and-tips/quotes-and-tips.php'=> array(
@@ -95,10 +85,10 @@
95 85 ),
96 86 'quotes-and-tips/quotes-and-tips.php'=> array(
97 87 'name' => 'Quotes and Tips',
98 88 'description' => 'Allows you to implement quotes & tips block into your web site.',
99 - 'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
100 - '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,
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',
101 91 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
102 92 'settings' => 'admin.php?page=quotes-and-tips.php'
103 93 ),
104 94 'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
@@ -103,51 +93,45 @@
103 93 ),
104 94 'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
105 95 'name' => 'Google Sitemap',
106 96 'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
107 - 'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
108 - 'download' => 'http://bestwebsoft.com/products/google-sitemap/download/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
109 99 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
110 100 'settings' => 'admin.php?page=google-sitemap-plugin.php',
111 - 'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
112 - 'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
113 - 'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
101 + 'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php'
114 102 ),
115 103 'updater/updater.php'=> array(
116 104 'name' => 'Updater',
117 105 'description' => 'Allows you to update plugins and WP core.',
118 - 'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
119 - 'download' => 'http://bestwebsoft.com/products/updater/download/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
120 108 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
121 109 'settings' => 'admin.php?page=updater-options',
122 - 'pro_version' => 'updater-pro/updater_pro.php',
123 - 'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
124 - 'pro_settings' => 'admin.php?page=updater-pro-options'
110 + 'pro_version' => 'updater-pro/updater_pro.php'
125 111 ),
126 112 'custom-fields-search/custom-fields-search.php'=> array(
127 113 'name' => 'Custom Fields Search',
128 114 'description' => 'Allows you to add website search any existing custom fields.',
129 - 'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
130 - '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,
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',
131 117 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
132 118 'settings' => 'admin.php?page=custom_fields_search.php'
133 119 ),
134 120 'google-one/google-plus-one.php' => array(
135 121 'name' => 'Google +1',
136 - '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.',
137 - 'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138 - '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,
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',
139 125 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
140 126 'settings' => 'admin.php?page=google-plus-one.php',
141 - 'pro_version' => 'google-one-pro/google-plus-one-pro.php',
142 - '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,
143 - 'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
127 + 'pro_version' => 'google-one-pro/google-plus-one-pro.php'
144 128 ),
145 129 'relevant/related-posts-plugin.php' => array(
146 130 'name' => 'Relevant - Related Posts',
147 131 'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
148 - 'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
149 - 'download' => 'http://bestwebsoft.com/products/related-posts/download/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
150 134 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
151 135 'settings' => 'admin.php?page=related-posts-plugin.php'
152 136 ),
153 137 'contact-form-to-db/contact_form_to_db.php' => array(
@@ -152,32 +136,28 @@
152 136 ),
153 137 'contact-form-to-db/contact_form_to_db.php' => array(
154 138 'name' => 'Contact Form To DB',
155 139 'description' => 'Allows you to manage the messages that have been sent from your site.',
156 - '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,
157 - '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,
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',
158 142 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
159 143 'settings' => 'admin.php?page=cntctfrmtdb_settings',
160 - 'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
161 - '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,
162 - 'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
144 + 'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php'
163 145 ),
164 146 'pdf-print/pdf-print.php' => array(
165 147 'name' => 'PDF & Print',
166 148 'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
167 - 'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
168 - 'download' => 'http://bestwebsoft.com/products/pdf-print/download/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
169 151 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
170 152 'settings' => 'admin.php?page=pdf-print.php',
171 - 'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
172 - 'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
173 - 'pro_settings' => 'admin.php?page=pdf-print-pro.php'
153 + 'pro_version' => 'pdf-print-pro/pdf-print-pro.php'
174 154 ),
175 155 'donate-button/donate.php' => array(
176 156 'name' => 'Donate',
177 157 'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
178 - 'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
179 - 'download' => 'http://bestwebsoft.com/products/donate/download/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
180 160 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
181 161 'settings' => 'admin.php?page=donate.php'
182 162 ),
183 163 'post-to-csv/post-to-csv.php' => array(
@@ -182,10 +162,10 @@
182 162 ),
183 163 'post-to-csv/post-to-csv.php' => array(
184 164 'name' => 'Post To CSV',
185 165 'description' => 'The plugin allows to export posts of any types to a csv file.',
186 - 'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
187 - '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,
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',
188 168 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
189 169 'settings' => 'admin.php?page=post-to-csv.php'
190 170 ),
191 171 'google-shortlink/google-shortlink.php' => array(
@@ -190,10 +170,10 @@
190 170 ),
191 171 'google-shortlink/google-shortlink.php' => array(
192 172 'name' => 'Google Shortlink',
193 173 'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
194 - 'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195 - 'download' => 'http://bestwebsoft.com/products/google-shortlink/download/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
196 176 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
197 177 'settings' => 'admin.php?page=gglshrtlnk_options'
198 178 ),
199 179 'htaccess/htaccess.php' => array(
@@ -198,10 +178,10 @@
198 178 ),
199 179 'htaccess/htaccess.php' => array(
200 180 'name' => 'Htaccess',
201 181 'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
202 - 'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
203 - 'download' => 'http://bestwebsoft.com/products/htaccess/download/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
204 184 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
205 185 'settings' => 'admin.php?page=htaccess.php'
206 186 ),
207 187 'google-captcha/google-captcha.php' => array(
@@ -206,10 +186,10 @@
206 186 ),
207 187 'google-captcha/google-captcha.php' => array(
208 188 'name' => 'Google Captcha (reCAPTCHA)',
209 189 'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
210 - 'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
211 - 'download' => 'http://bestwebsoft.com/products/google-captcha/download/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
212 192 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
213 193 'settings' => 'admin.php?page=google-captcha.php'
214 194 ),
215 195 'sender/sender.php' => array(
@@ -214,21 +194,19 @@
214 194 ),
215 195 'sender/sender.php' => array(
216 196 'name' => 'Sender',
217 197 'description' => 'You can send mails to all users or to certain categories of users.',
218 - 'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
219 - 'download' => 'http://bestwebsoft.com/products/sender/download/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
220 200 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
221 201 'settings' => 'admin.php?page=sndr_settings',
222 - 'pro_version' => 'sender-pro/sender-pro.php',
223 - 'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
224 - 'pro_settings' => 'admin.php?page=sndrpr_settings'
202 + 'pro_version' => 'sender-pro/sender-pro.php'
225 203 ),
226 204 'subscriber/subscriber.php' => array(
227 205 'name' => 'Subscriber',
228 206 'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
229 - 'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
230 - 'download' => 'http://bestwebsoft.com/products/subscriber/download/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
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',
231 209 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
232 210 'settings' => 'admin.php?page=sbscrbr_settings_page'
233 211 ),
234 212 'contact-form-multi/contact-form-multi.php' => array(
@@ -233,32 +211,28 @@
233 211 ),
234 212 'contact-form-multi/contact-form-multi.php' => array(
235 213 'name' => 'Contact Form Multi',
236 214 'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
237 - 'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
238 - '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,
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',
239 217 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
240 218 'settings' => '',
241 - 'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
242 - '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,
243 - 'pro_settings' => ''
219 + 'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php'
244 220 ),
245 221 'bws-google-maps/bws-google-maps.php' => array(
246 222 'name' => 'BestWebSoft Google Maps',
247 223 'description' => 'Easy to set up and insert Google Maps to your website.',
248 - 'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
249 - '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,
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',
250 226 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
251 227 'settings' => 'admin.php?page=bws-google-maps.php',
252 - 'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
253 - '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,
254 - 'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
228 + 'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php'
255 229 ),
256 230 'bws-google-analytics/bws-google-analytics.php' => array(
257 231 'name' => 'BestWebSoft Google Analytics',
258 232 'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
259 - 'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
260 - '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,
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',
261 235 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
262 236 'settings' => 'admin.php?page=bws-google-analytics.php'
263 237 ),
264 238 'db-manager/db-manager.php' => array(
@@ -263,57 +237,128 @@
263 237 ),
264 238 'db-manager/db-manager.php' => array(
265 239 'name' => 'DB manager',
266 240 'description' => 'Allows you to download the latest version of PhpMyadmin and Dumper and manage your site.',
267 - 'link' => 'http://bestwebsoft.com/products/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
268 - 'download' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
269 - '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',
270 244 'settings' => 'admin.php?page=db-manager.php'
271 245 ),
272 246 'user-role/user-role.php' => array(
273 247 'name' => 'User Role',
274 248 'description' => 'Allows to change wordpress user role capabilities.',
275 - 'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276 - 'download' => 'http://bestwebsoft.com/products/user-role/download/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
277 - 'wp_install' => '/wp-admin/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',
278 252 'settings' => 'admin.php?page=user-role.php',
279 - 'pro_version' => 'user-role-pro/user-role-pro.php',
280 - 'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
281 - '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'
282 263 ),
283 - 'email-queue/email-queue.php' => array(
284 - 'name' => 'Email Queue',
285 - 'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
286 - 'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
287 - 'download' => 'http://bestwebsoft.com/products/email-queue/download/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
288 - 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
289 - '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'
290 270 ),
291 - 'limit-attempts/limit-attempts.php' => array(
292 - 'name' => 'Limit Attempts',
293 - 'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
294 - 'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
295 - 'download' => 'http://bestwebsoft.com/products/limit-attempts/download/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
296 - 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
297 - 'settings' => 'admin.php?page=limit-attempts.php',
298 - 'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
299 - 'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
300 - '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'
301 277 ),
302 - 'job-board/job-board.php' => array(
303 - 'name' => 'Job board',
304 - 'description' => 'Allows to create a job-board page on your site.',
305 - 'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
306 - 'download' => 'http://bestwebsoft.com/products/job-board/download/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
307 - 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
308 - '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'
284 + ),
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'
291 + ),
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'
298 + ),
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'
305 + ),
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'
312 + ),
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'
319 + ),
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'
326 + ),
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'
333 + ),
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' => ''
340 + ),
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'
347 + ),
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'
309 354 )
310 355 );
311 356
312 357 $all_plugins = get_plugins();
313 358 $active_plugins = get_option( 'active_plugins' );
359 +
314 360 $recommend_plugins = array_diff_key( $bws_plugins, $all_plugins );
315 - $bws_plugins_pro = array();
316 361
317 362 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
318 363 if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
319 364 unset( $recommend_plugins[ $key_plugin ] );
@@ -320,17 +365,13 @@
320 365 }
321 366 }
322 367
323 368 foreach ( $all_plugins as $key_plugin => $value_plugin ) {
324 - if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
369 + if ( ! isset( $bws_plugins[ $key_plugin ] ) && ! isset( $bws_plugins_pro[ $key_plugin ] ) )
325 370 unset( $all_plugins[ $key_plugin ] );
326 - else {
327 - foreach ( $bws_plugins as $key => $value ) {
328 - if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
329 - $bws_plugins_pro[ $key_plugin ] = $key;
330 - unset( $all_plugins[ $key ] );
331 - }
332 - }
371 +
372 + if ( isset( $bws_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
373 + unset( $all_plugins[ $key_plugin ] );
333 374 }
334 375 }
335 376
336 377 if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
@@ -335,34 +376,72 @@
335 376
336 377 if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
337 378 $all_plugins = get_plugins();
338 379 $active_plugins = get_option( 'active_plugins' );
380 + $sql_version = $wpdb->get_var( "SELECT VERSION() AS version" );
339 381 $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
340 - if ( is_array( $mysql_info ) )
382 + if ( is_array( $mysql_info) )
341 383 $sql_mode = $mysql_info[0]->Value;
342 384 if ( empty( $sql_mode ) )
343 385 $sql_mode = __( 'Not set', 'bestwebsoft' );
344 -
345 - $safe_mode = ( ini_get( 'safe_mode' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
346 - $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
347 - $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' );
348 - $post_max_size = ( ini_get( 'post_max_size' ) ) ? ini_get( 'post_max_size' ) : __( 'N/A', 'bestwebsoft' );
349 - $max_execution_time = ( ini_get( 'max_execution_time' ) ) ? ini_get( 'max_execution_time' ) : __( 'N/A', 'bestwebsoft' );
350 - $memory_limit = ( ini_get( 'memory_limit' ) ) ? ini_get( 'memory_limit' ) : __( 'N/A', 'bestwebsoft' );
351 - $memory_usage = ( function_exists( 'memory_get_usage' ) ) ? round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' ) : __( 'N/A', 'bestwebsoft' );
352 - $exif_read_data = ( is_callable( 'exif_read_data' ) ) ? __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" : __( 'No', 'bestwebsoft' );
353 - $iptcparse = ( is_callable( 'iptcparse' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
354 - $xml_parser_create = ( is_callable( 'xml_parser_create' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
355 - $theme = ( function_exists( 'wp_get_theme' ) ) ? wp_get_theme() : get_theme( get_current_theme() );
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' );
356 426
427 + if ( function_exists( 'wp_get_theme' ) )
428 + $theme = wp_get_theme();
429 + else
430 + $theme = get_theme( get_current_theme() );
431 +
357 432 if ( function_exists( 'is_multisite' ) ) {
358 - if ( is_multisite() )
433 + if ( is_multisite() ) {
359 434 $multisite = __( 'Yes', 'bestwebsoft' );
360 - else
435 + } else {
361 436 $multisite = __( 'No', 'bestwebsoft' );
437 + }
362 438 } else
363 439 $multisite = __( 'N/A', 'bestwebsoft' );
364 440
441 + $site_url = get_option( 'siteurl' );
442 + $home_url = get_option( 'home' );
443 + $db_version = get_option( 'db_version' );
365 444 $system_info = array(
366 445 'system_info' => '',
367 446 'active_plugins' => '',
368 447 'inactive_plugins' => ''
@@ -370,9 +449,9 @@
370 449 $system_info['system_info'] = array(
371 450 __( 'Operating System', 'bestwebsoft' ) => PHP_OS,
372 451 __( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
373 452 __( 'Memory usage', 'bestwebsoft' ) => $memory_usage,
374 - __( 'MYSQL Version', 'bestwebsoft' ) => $wpdb->get_var( "SELECT VERSION() AS version" ),
453 + __( 'MYSQL Version', 'bestwebsoft' ) => $sql_version,
375 454 __( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
376 455 __( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
377 456 __( 'PHP Safe Mode', 'bestwebsoft' ) => $safe_mode,
378 457 __( 'PHP Allow URL fopen', 'bestwebsoft' ) => $allow_url_fopen,
@@ -382,22 +461,23 @@
382 461 __( 'PHP Max Script Execute Time', 'bestwebsoft' ) => $max_execution_time,
383 462 __( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
384 463 __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
385 464 __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
386 - __( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
387 - __( 'Home URL', 'bestwebsoft' ) => get_option( 'home' ),
465 + __( 'Site URL', 'bestwebsoft' ) => $site_url,
466 + __( 'Home URL', 'bestwebsoft' ) => $home_url,
388 467 '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
389 468 '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
390 469 __( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
391 - __( 'WordPress DB Version', 'bestwebsoft' ) => get_option( 'db_version' ),
470 + __( 'WordPress DB Version', 'bestwebsoft' ) => $db_version,
392 471 __( 'Multisite', 'bestwebsoft' ) => $multisite,
393 472 __( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version']
394 473 );
395 474 foreach ( $all_plugins as $path => $plugin ) {
396 - if ( is_plugin_active( $path ) )
475 + if ( is_plugin_active( $path ) ) {
397 476 $system_info['active_plugins'][ $plugin['Name'] ] = $plugin['Version'];
398 - else
477 + } else {
399 478 $system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
479 + }
400 480 }
401 481 }
402 482
403 483 if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
@@ -402,10 +482,10 @@
402 482
403 483 if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
404 484 ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
405 485 if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
406 - $bwsmn_form_email = esc_html( trim( $_REQUEST['bwsmn_form_email'] ) );
407 - 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 ) ) {
408 488 $error = __( "Please enter a valid email address.", 'bestwebsoft' );
409 489 } else {
410 490 $email = $bwsmn_form_email;
411 491 $bwsmn_form_email = '';
@@ -425,26 +505,21 @@
425 505 <table>';
426 506 foreach ( $system_info['system_info'] as $key => $value ) {
427 507 $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
428 508 }
429 - $message_text .= '</table>';
430 - if ( ! empty( $system_info['active_plugins'] ) ) {
431 - $message_text .= '<h4>Active Plugins</h4>
432 - <table>';
433 - foreach ( $system_info['active_plugins'] as $key => $value ) {
434 - $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
435 - }
436 - $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>';
437 514 }
438 - if ( ! empty( $system_info['inactive_plugins'] ) ) {
439 - $message_text .= '<h4>Inactive Plugins</h4>
440 - <table>';
441 - foreach ( $system_info['inactive_plugins'] as $key => $value ) {
442 - $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
443 - }
444 - $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>';
445 520 }
446 - $message_text .= '</body></html>';
521 + $message_text .= '</table></body></html>';
447 522 $result = wp_mail( $email, 'System Info From ' . $home_url, $message_text, $headers );
448 523 if ( $result != true )
449 524 $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
450 525 }
@@ -450,24 +525,17 @@
450 525 }
451 526 } ?>
452 527 <div class="wrap">
453 528 <div class="icon32 icon32-bws" id="icon-options-general"></div>
454 - <h2>
455 - <span class="bws_main title">BestWebSoft</span>
456 - <ul class="subsubsub bws_title_menu">
457 - <li><a href="http://support.bestwebsoft.com/home" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
458 - <li><a href="http://bestwebsoft.com/wp-login.php" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
459 - <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>
460 - </ul>
461 - <div class="clear"></div>
462 - </h2>
529 + <h2>BestWebSoft</h2>
463 530 <h2 class="nav-tab-wrapper">
464 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>
465 532 <?php if ( $wp_version >= '3.4' ) { ?>
466 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>
467 534 <?php } ?>
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>
468 536 </h2>
469 - <?php if ( ! isset( $_GET['action'] ) ) { ?>
537 + <?php if ( !isset( $_GET['action'] ) ) { ?>
470 538 <ul class="subsubsub">
471 539 <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
472 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> |
473 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>
@@ -475,12 +543,17 @@
475 543 <div class="clear"></div>
476 544 <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
477 545 <h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
478 546 <?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
479 - if ( isset( $bws_plugins_pro[ $key_plugin ] ) )
480 - $key_plugin = $bws_plugins_pro[ $key_plugin ];
481 -
482 - 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 ] ) ) {
483 556 $key_plugin_explode = explode( '-plugin/', $key_plugin );
484 557 if ( isset( $key_plugin_explode[1] ) )
485 558 $icon = $key_plugin_explode[0];
486 559 else {
@@ -486,63 +559,90 @@
486 559 else {
487 560 $key_plugin_explode = explode( '/', $key_plugin );
488 561 $icon = $key_plugin_explode[0];
489 562 }
490 - }
563 + }
491 564
492 - 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'] ) ) ) { ?>
493 - <div class="bws_product_box bws_exist_overlay">
494 - <div class="bws_product">
495 - <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
496 - <div class="bws_product_content">
497 - <div class="bws_product_icon">
498 - <div class="bws_product_icon_pro">PRO</div>
499 - <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
500 - </div>
501 - <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
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>
576 + </div>
577 + <div class="clear"></div>
502 578 </div>
503 - <div class="clear"></div>
504 - </div>
505 - <div class="bws_product_links">
506 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
507 - <?php if ( '' != $bws_plugins[ $key_plugin ]["pro_settings"] ) { ?>
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>
508 581 <span> | </span>
509 - <a href="<?php echo $bws_plugins[ $key_plugin ]["pro_settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
510 - <?php } ?>
582 + <a href="<?php echo $bws_plugins_pro[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
583 + </div>
511 584 </div>
512 - </div>
513 - <?php } elseif ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) {
514 - if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
515 - <div class="bws_product_box bws_product_deactivated">
585 + <?php } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
586 + <div class="bws_product_box bws_product_free">
516 587 <div class="bws_product">
517 588 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
518 589 <div class="bws_product_content">
519 590 <div class="bws_product_icon">
520 - <div class="bws_product_icon_pro">PRO</div>
521 591 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
522 592 </div>
523 593 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
524 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 } ?>
525 604 <div class="clear"></div>
526 605 </div>
527 606 <div class="bws_product_links">
528 607 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
529 608 <span> | </span>
609 + <a href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
610 + </div>
611 + </div>
612 + <?php }
613 + } else {
614 + if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) { ?>
615 + <div class="bws_product_box bws_product_deactivated">
616 + <div class="bws_product">
617 + <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
618 + <div class="bws_product_content">
619 + <div class="bws_product_icon">
620 + <div class="bws_product_icon_pro">PRO</div>
621 + <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
622 + </div>
623 + <div class="bws_product_description"><?php echo $bws_plugins_pro[ $key_plugin ]["description"]; ?></div>
624 + </div>
625 + <div class="clear"></div>
626 + </div>
627 + <div class="bws_product_links">
628 + <a href="<?php echo $bws_plugins_pro[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
629 + <span> | </span>
530 630 <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
531 631 </div>
532 632 </div>
533 - <?php } else { ?>
534 - <div class="bws_product_box bws_product_free">
535 - <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">
536 636 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
537 - <div class="bws_product_content">
637 + <div class="bws_product_content">
538 638 <div class="bws_product_icon">
539 639 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
540 640 </div>
541 641 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
542 642 </div>
543 - <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
544 - <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">
545 645 <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
546 646 </a>
547 647 <?php } else { ?>
548 648 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
@@ -549,46 +649,17 @@
549 649 <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
550 650 </a>
551 651 <?php } ?>
552 652 <div class="clear"></div>
553 - </div>
653 + </div>
554 654 <div class="bws_product_links">
555 655 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
556 - <?php if ( '' != $bws_plugins[ $key_plugin ]["settings"] ) { ?>
557 - <span> | </span>
558 - <a href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
559 - <?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>
560 658 </div>
561 659 </div>
562 660 <?php }
563 - } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
564 - <div class="bws_product_box bws_product_deactivated bws_product_free">
565 - <div class="bws_product">
566 - <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
567 - <div class="bws_product_content">
568 - <div class="bws_product_icon">
569 - <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
570 - </div>
571 - <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
572 - </div>
573 - <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
574 - <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
575 - <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
576 - </a>
577 - <?php } else { ?>
578 - <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
579 - <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
580 - </a>
581 - <?php } ?>
582 - <div class="clear"></div>
583 - </div>
584 - <div class="bws_product_links">
585 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
586 - <span> | </span>
587 - <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
588 - </div>
589 - </div>
590 - <?php }
661 + }
591 662 }
592 663 } ?>
593 664 <div class="clear"></div>
594 665 <?php if ( ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
@@ -594,9 +665,17 @@
594 665 <?php if ( ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
595 666 <h4 class="bws_recommended"><?php _e( 'Recommended plugins', 'bestwebsoft' ); ?></h4>
596 667 <?php foreach ( $recommend_plugins as $key_plugin => $value_plugin ) {
597 668
598 - 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 ] ) ) {
599 678 $key_plugin_explode = explode( '-plugin/', $key_plugin );
600 679 if ( isset( $key_plugin_explode[1] ) )
601 680 $icon = $key_plugin_explode[0];
602 681 else {
@@ -608,9 +687,9 @@
608 687 <div class="bws_product">
609 688 <div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
610 689 <div class="bws_product_content">
611 690 <div class="bws_product_icon">
612 - <?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'] ] ) ) { ?>
613 692 <div class="bws_product_icon_pro">PRO</div>
614 693 <?php } ?>
615 694 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
616 695 </div>
@@ -615,23 +694,23 @@
615 694 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
616 695 </div>
617 696 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
618 697 </div>
619 - <?php if ( isset( $bws_plugins[ $key_plugin ]["pro_version"] ) ) { ?>
620 - <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
621 - <?php _e( 'Go', 'bestwebsoft' ); ?> <strong>PRO</strong>
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>
622 701 </a>
623 702 <?php } else { ?>
624 703 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
625 - <strong><?php _e( 'DONATE', 'bestwebsoft' ); ?></strong>
704 + <strong><?php echo _e( 'DONATE', 'bestwebsoft' );?></strong>
626 705 </a>
627 706 <?php } ?>
628 707 </div>
629 708 <div class="clear"></div>
630 709 <div class="bws_product_links">
631 - <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
710 + <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php echo __( "Learn more", 'bestwebsoft' ); ?></a>
632 711 <span> | </span>
633 - <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>
634 713 </div>
635 714 </div>
636 715 <?php }
637 716 } ?>
@@ -782,16 +861,14 @@
782 861 </table>
783 862 <table class="bws_system_info">
784 863 <thead><tr><th><?php _e( 'Active Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
785 864 <tbody>
786 - <?php if ( ! empty( $system_info['active_plugins'] ) ) {
787 - foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
788 - <tr>
789 - <td scope="row"><?php echo $key; ?></td>
790 - <td scope="row"><?php echo $value; ?></td>
791 - </tr>
792 - <?php }
793 - } ?>
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 } ?>
794 871 </tbody>
795 872 </table>
796 873 <table class="bws_system_info">
797 874 <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>