PluginProbe
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin / 1.8.8
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin v1.8.8
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
pdf-print / bws_menu / bws_menu.php

bws_menu.php in PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin 1.8.8, at bws_menu/bws_menu.php

1,040 lines 73.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Function for displaying BestWebSoft menu
4 * Version: 1.8.4
5 */
6
7 if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
8 require_once( dirname( __FILE__ ) . '/bws_functions.php' );
9
10 if ( ! function_exists( 'bws_add_menu_render' ) ) {
11 function bws_add_menu_render() {
12 global $wpdb, $wp_version, $bws_plugin_info;
13 $error = $message = $bwsmn_form_email = '';
14 $bws_donate_link = 'http://bestwebsoft.com/donate/';
15
16 if ( ! function_exists( 'is_plugin_active_for_network' ) )
17 require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
18
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 $bws_plugins = array(
25 'captcha/captcha.php' => array(
26 'name' => 'Captcha',
27 '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',
31 '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'
35 ),
36 'contact-form-plugin/contact_form.php' => array(
37 'name' => 'Contact Form',
38 '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',
42 '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 ),
47 'facebook-button-plugin/facebook-button-plugin.php' => array(
48 'name' => 'Facebook Like Button',
49 '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',
53 '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'
57 ),
58 'twitter-plugin/twitter.php' => array(
59 'name' => 'Twitter',
60 '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',
64 '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 ),
69 'portfolio/portfolio.php' => array(
70 'name' => 'Portfolio',
71 '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'
79 ),
80 'gallery-plugin/gallery-plugin.php' => array(
81 'name' => 'Gallery',
82 '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',
86 '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'
90 ),
91 'adsense-plugin/adsense-plugin.php'=> array(
92 'name' => 'Google AdSense',
93 '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'
101 ),
102 'custom-search-plugin/custom-search-plugin.php'=> array(
103 'name' => 'Custom Search',
104 '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'
112 ),
113 'quotes-and-tips/quotes-and-tips.php'=> array(
114 'name' => 'Quotes and Tips',
115 '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',
119 'settings' => 'admin.php?page=quotes-and-tips.php'
120 ),
121 'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
122 'name' => 'Google Sitemap',
123 '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',
127 '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'
131 ),
132 'updater/updater.php'=> array(
133 'name' => 'Updater',
134 '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',
138 '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'
142 ),
143 'custom-fields-search/custom-fields-search.php'=> array(
144 'name' => 'Custom Fields Search',
145 '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',
149 'settings' => 'admin.php?page=custom_fields_search.php'
150 ),
151 'google-one/google-plus-one.php' => array(
152 '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',
157 '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'
161 ),
162 'relevant/related-posts-plugin.php' => array(
163 'name' => 'Relevant - Related Posts',
164 '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',
168 'settings' => 'admin.php?page=related-posts-plugin.php'
169 ),
170 'contact-form-to-db/contact_form_to_db.php' => array(
171 'name' => 'Contact Form to DB',
172 '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',
176 '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'
180 ),
181 'pdf-print/pdf-print.php' => array(
182 'name' => 'PDF & Print',
183 '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',
187 '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'
191 ),
192 'donate-button/donate.php' => array(
193 'name' => 'Donate',
194 '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',
198 'settings' => 'admin.php?page=donate.php'
199 ),
200 'post-to-csv/post-to-csv.php' => array(
201 'name' => 'Post to CSV',
202 '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',
206 'settings' => 'admin.php?page=post-to-csv.php'
207 ),
208 'google-shortlink/google-shortlink.php' => array(
209 'name' => 'Google Shortlink',
210 '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',
214 'settings' => 'admin.php?page=gglshrtlnk_options'
215 ),
216 'htaccess/htaccess.php' => array(
217 'name' => 'Htaccess',
218 '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'
226 ),
227 'google-captcha/google-captcha.php' => array(
228 'name' => 'Google Captcha (reCAPTCHA)',
229 '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'
237 ),
238 'sender/sender.php' => array(
239 'name' => 'Sender',
240 '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',
244 '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'
248 ),
249 'subscriber/subscriber.php' => array(
250 'name' => 'Subscriber',
251 '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'
259 ),
260 'contact-form-multi/contact-form-multi.php' => array(
261 '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',
266 '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' => ''
270 ),
271 'bws-google-maps/bws-google-maps.php' => array(
272 'name' => 'Google Maps',
273 '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',
277 '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'
281 ),
282 'bws-google-analytics/bws-google-analytics.php' => array(
283 'name' => 'Google Analytics',
284 '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'
292 ),
293 'db-manager/db-manager.php' => array(
294 'name' => 'DB Manager',
295 '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,
299 'settings' => 'admin.php?page=db-manager.php'
300 ),
301 'user-role/user-role.php' => array(
302 'name' => 'User Role',
303 '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',
307 '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'
311 ),
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'
319 ),
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'
330 ),
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'
338 ),
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'
349 ),
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'
357 ),
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'
365 ),
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'
373 ),
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' => ''
381 ),
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'
389 ),
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/smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
394 'download' => 'http://bestwebsoft.com/products/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'
397 ),
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'
408 ),
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'
419 ),
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 'pro_version' => 'zendesk-help-center-pro/zendesk-help-center-pro.php',
428 'purchase' => 'http://bestwebsoft.com/products/zendesk-help-center/buy/?k=45199e4538b5befe4d9566868a61a3aa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
429 'pro_settings' => 'admin.php?page=zendesk_hc.php&tab=settings'
430 ),
431 'social-buttons-pack/social-buttons-pack.php' => array(
432 'name' => 'Social Buttons Pack',
433 'description' => 'Add Social buttons to your WordPress website.',
434 'link' => 'http://bestwebsoft.com/products/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
435 '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,
436 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Social+Buttons+Pack+BestWebSoft&plugin-search-input=Search+Plugins',
437 'settings' => 'admin.php?page=social-buttons.php'
438 ),
439 'pagination/pagination.php' => array(
440 'name' => 'Pagination',
441 'description' => 'Add pagination block to your WordPress website.',
442 'link' => 'http://bestwebsoft.com/products/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
443 'download' => 'http://bestwebsoft.com/products/pagination/download/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
444 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Pagination+BestWebSoft&plugin-search-input=Search+Plugins',
445 'settings' => 'admin.php?page=pagination.php'
446 ),
447 'visitors-online/visitors-online.php' => array(
448 'name' => 'Visitors Online',
449 'description' => 'See how many users, guests and bots are online at the website.',
450 'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
451 'download' => 'http://bestwebsoft.com/products/visitors-online/download/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
452 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Visitors+online+BestWebSoft&plugin-search-input=Search+Plugins',
453 'settings' => 'admin.php?page=visitors-online.php',
454 'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
455 'purchase' => 'http://bestwebsoft.com/products/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
456 'pro_settings' => 'admin.php?page=visitors-online-pro.php'
457 ),
458 'profile-extra-fields/profile-extra-fields.php' => array(
459 'name' => 'Profile Extra Fields',
460 'description' => "Add additional fields on the user's profile page",
461 'link' => 'http://bestwebsoft.com/products/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
462 '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,
463 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Profile+Extra+Fields+BestWebSoft&plugin-search-input=Search+Plugins',
464 'settings' => 'admin.php?page=profile-extra-fields.php'
465 ),
466 'error-log-viewer/error-log-viewer.php' => array(
467 'name' => 'Error Log Viewer',
468 'description' => "Work with log files and folders on the WordPress server",
469 'link' => 'http://bestwebsoft.com/products/error-log-viewer/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
470 'download' => 'http://bestwebsoft.com/products/error-log-viewer/download/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
471 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Error+Log+Viewer+BestWebSoft&plugin-search-input=Search+Plugins',
472 'settings' => 'admin.php?page=rrrlgvwr.php&tab=settings'
473 ),
474 'bws-pinterest/bws-pinterest.php' => array(
475 'name' => 'Pinterest',
476 'description' => 'Add Pinterest buttons and widgets to your WordPress website',
477 'link' => 'http://bestwebsoft.com/products/pinterest/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
478 'download' => 'http://bestwebsoft.com/products/pinterest/download/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
479 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Pinterest+BestWebSoft&plugin-search-input=Search+Plugins',
480 'settings' => 'admin.php?page=pinterest.php'
481 )
482 );
483
484 $all_plugins = get_plugins();
485 $active_plugins = get_option( 'active_plugins' );
486 $recommend_plugins = array_diff_key( $bws_plugins, $all_plugins );
487 $bws_plugins_pro = array();
488
489 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
490 if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
491 unset( $recommend_plugins[ $key_plugin ] );
492 }
493 }
494
495 foreach ( $all_plugins as $key_plugin => $value_plugin ) {
496 if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
497 unset( $all_plugins[ $key_plugin ] );
498 elseif ( '-plus.php' == substr( $key_plugin, -9, 9 ) )
499 unset( $all_plugins[ $key_plugin ] );
500 else {
501 foreach ( $bws_plugins as $key => $value ) {
502 if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
503 $bws_plugins_pro[ $key_plugin ] = $key;
504 unset( $all_plugins[ $key ] );
505 }
506 }
507 }
508 }
509
510 if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
511 $all_plugins = get_plugins();
512 $active_plugins = get_option( 'active_plugins' );
513 $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
514 if ( is_array( $mysql_info ) )
515 $sql_mode = $mysql_info[0]->Value;
516 if ( empty( $sql_mode ) )
517 $sql_mode = __( 'Not set', 'bestwebsoft' );
518
519 $safe_mode = ( ini_get( 'safe_mode' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
520 $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
521 $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' );
522 $post_max_size = ( ini_get( 'post_max_size' ) ) ? ini_get( 'post_max_size' ) : __( 'N/A', 'bestwebsoft' );
523 $max_execution_time = ( ini_get( 'max_execution_time' ) ) ? ini_get( 'max_execution_time' ) : __( 'N/A', 'bestwebsoft' );
524 $memory_limit = ( ini_get( 'memory_limit' ) ) ? ini_get( 'memory_limit' ) : __( 'N/A', 'bestwebsoft' );
525 $memory_usage = ( function_exists( 'memory_get_usage' ) ) ? round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' ) : __( 'N/A', 'bestwebsoft' );
526 $exif_read_data = ( is_callable( 'exif_read_data' ) ) ? __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" : __( 'No', 'bestwebsoft' );
527 $iptcparse = ( is_callable( 'iptcparse' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
528 $xml_parser_create = ( is_callable( 'xml_parser_create' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
529 $theme = ( function_exists( 'wp_get_theme' ) ) ? wp_get_theme() : get_theme( get_current_theme() );
530
531 if ( function_exists( 'is_multisite' ) ) {
532 if ( is_multisite() )
533 $multisite = __( 'Yes', 'bestwebsoft' );
534 else
535 $multisite = __( 'No', 'bestwebsoft' );
536 } else
537 $multisite = __( 'N/A', 'bestwebsoft' );
538
539 $system_info = array(
540 'system_info' => '',
541 'active_plugins' => '',
542 'inactive_plugins' => ''
543 );
544 $system_info['system_info'] = array(
545 __( 'Operating System', 'bestwebsoft' ) => PHP_OS,
546 __( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
547 __( 'Memory usage', 'bestwebsoft' ) => $memory_usage,
548 __( 'MYSQL Version', 'bestwebsoft' ) => $wpdb->get_var( "SELECT VERSION() AS version" ),
549 __( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
550 __( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
551 __( 'PHP Safe Mode', 'bestwebsoft' ) => $safe_mode,
552 __( 'PHP Allow URL fopen', 'bestwebsoft' ) => $allow_url_fopen,
553 __( 'PHP Memory Limit', 'bestwebsoft' ) => $memory_limit,
554 __( 'PHP Max Upload Size', 'bestwebsoft' ) => $upload_max_filesize,
555 __( 'PHP Max Post Size', 'bestwebsoft' ) => $post_max_size,
556 __( 'PHP Max Script Execute Time', 'bestwebsoft' ) => $max_execution_time,
557 __( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
558 __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
559 __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
560 __( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
561 __( 'Home URL', 'bestwebsoft' ) => home_url(),
562 '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
563 '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
564 __( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
565 __( 'WordPress DB Version', 'bestwebsoft' ) => get_option( 'db_version' ),
566 __( 'Multisite', 'bestwebsoft' ) => $multisite,
567 __( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version']
568 );
569 foreach ( $all_plugins as $path => $plugin ) {
570 if ( is_plugin_active( $path ) )
571 $system_info['active_plugins'][ $plugin['Name'] ] = $plugin['Version'];
572 else
573 $system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
574 }
575 }
576
577 if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
578 ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
579 if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
580 $bwsmn_form_email = esc_html( trim( $_REQUEST['bwsmn_form_email'] ) );
581 if ( $bwsmn_form_email == "" || ! is_email( $bwsmn_form_email ) ) {
582 $error = __( "Please enter a valid email address.", 'bestwebsoft' );
583 } else {
584 $email = $bwsmn_form_email;
585 $bwsmn_form_email = '';
586 $message = __( 'Email with system info is sent to ', 'bestwebsoft' ) . $email;
587 }
588 } else {
589 $email = '[email protected]';
590 $message = __( 'Thank you for contacting us.', 'bestwebsoft' );
591 }
592
593 if ( $error == '' ) {
594 $headers = 'MIME-Version: 1.0' . "\n";
595 $headers .= 'Content-type: text/html; charset=utf-8' . "\n";
596 $headers .= 'From: ' . get_option( 'admin_email' );
597 $message_text = '<html><head><title>System Info From ' . home_url() . '</title></head><body>
598 <h4>Environment</h4>
599 <table>';
600 foreach ( $system_info['system_info'] as $key => $value ) {
601 $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
602 }
603 $message_text .= '</table>';
604 if ( ! empty( $system_info['active_plugins'] ) ) {
605 $message_text .= '<h4>Active Plugins</h4>
606 <table>';
607 foreach ( $system_info['active_plugins'] as $key => $value ) {
608 $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
609 }
610 $message_text .= '</table>';
611 }
612 if ( ! empty( $system_info['inactive_plugins'] ) ) {
613 $message_text .= '<h4>Inactive Plugins</h4>
614 <table>';
615 foreach ( $system_info['inactive_plugins'] as $key => $value ) {
616 $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
617 }
618 $message_text .= '</table>';
619 }
620 $message_text .= '</body></html>';
621 $result = wp_mail( $email, 'System Info From ' . home_url(), $message_text, $headers );
622 if ( $result != true )
623 $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
624 }
625 } ?>
626 <div class="wrap">
627 <h1>
628 <span class="bws_main title">BestWebSoft</span>
629 <ul class="subsubsub bws_title_menu">
630 <li><a href="<?php echo esc_url( 'http://support.bestwebsoft.com/home' ); ?>" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
631 <li><a href="<?php echo esc_url( 'http://bestwebsoft.com/wp-login.php' ); ?>" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
632 <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>
633 </ul>
634 <div class="clear"></div>
635 </h1>
636 <h2 class="nav-tab-wrapper">
637 <a class="nav-tab<?php if ( !isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
638 <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>
639 </h2>
640 <?php if ( ! isset( $_GET['action'] ) ) { ?>
641 <ul class="subsubsub">
642 <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
643 <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> |
644 <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>
645 </ul>
646 <div class="clear"></div>
647 <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
648 <h3 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h3>
649 <?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
650 if ( isset( $bws_plugins_pro[ $key_plugin ] ) )
651 $key_plugin = $bws_plugins_pro[ $key_plugin ];
652
653 if ( isset( $bws_plugins[ $key_plugin ] ) ) {
654 $key_plugin_explode = explode( '-plugin/', $key_plugin );
655 if ( isset( $key_plugin_explode[1] ) )
656 $icon = $key_plugin_explode[0];
657 else {
658 $key_plugin_explode = explode( '/', $key_plugin );
659 $icon = $key_plugin_explode[0];
660 }
661 }
662
663 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'] ) ) ) { ?>
664 <div class="bws_product_box bws_exist_overlay">
665 <div class="bws_product">
666 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
667 <div class="bws_product_content">
668 <div class="bws_product_icon">
669 <div class="bws_product_icon_pro">PRO</div>
670 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
671 </div>
672 <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
673 </div>
674 <div class="clear"></div>
675 </div>
676 <div class="bws_product_links">
677 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
678 <?php if ( '' != $bws_plugins[ $key_plugin ]["pro_settings"] ) { ?>
679 <span> | </span>
680 <a href="<?php echo $bws_plugins[ $key_plugin ]["pro_settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
681 <?php } ?>
682 </div>
683 </div>
684 <?php } elseif ( isset( $bws_plugins[ $key_plugin ] ) && ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) ) {
685 if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
686 <div class="bws_product_box bws_product_deactivated">
687 <div class="bws_product">
688 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
689 <div class="bws_product_content">
690 <div class="bws_product_icon">
691 <div class="bws_product_icon_pro">PRO</div>
692 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
693 </div>
694 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
695 </div>
696 <div class="clear"></div>
697 </div>
698 <div class="bws_product_links">
699 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
700 <span> | </span>
701 <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
702 </div>
703 </div>
704 <?php } else { ?>
705 <div class="bws_product_box bws_product_free">
706 <div class="bws_product">
707 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
708 <div class="bws_product_content">
709 <div class="bws_product_icon">
710 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
711 </div>
712 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
713 </div>
714 <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
715 <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
716 <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
717 </a>
718 <?php } else { ?>
719 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
720 <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
721 </a>
722 <?php } ?>
723 <div class="clear"></div>
724 </div>
725 <div class="bws_product_links">
726 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
727 <?php if ( '' != $bws_plugins[ $key_plugin ]["settings"] ) { ?>
728 <span> | </span>
729 <a href="<?php echo $bws_plugins[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
730 <?php } ?>
731 </div>
732 </div>
733 <?php }
734 } elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
735 <div class="bws_product_box bws_product_deactivated bws_product_free">
736 <div class="bws_product">
737 <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
738 <div class="bws_product_content">
739 <div class="bws_product_icon">
740 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
741 </div>
742 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
743 </div>
744 <?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
745 <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
746 <?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
747 </a>
748 <?php } else { ?>
749 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
750 <strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
751 </a>
752 <?php } ?>
753 <div class="clear"></div>
754 </div>
755 <div class="bws_product_links">
756 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
757 <span> | </span>
758 <a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
759 </div>
760 </div>
761 <?php }
762 }
763 } ?>
764 <div class="clear"></div>
765 <?php if ( ( isset( $_GET['sub'] ) && 'recommended' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
766 <h3 class="bws_recommended"><?php _e( 'Recommended plugins', 'bestwebsoft' ); ?></h3>
767 <?php foreach ( $recommend_plugins as $key_plugin => $value_plugin ) {
768
769 if ( isset( $bws_plugins[ $key_plugin ] ) ) {
770 $key_plugin_explode = explode( '-plugin/', $key_plugin );
771 if ( isset( $key_plugin_explode[1] ) )
772 $icon = $key_plugin_explode[0];
773 else {
774 $key_plugin_explode = explode( '/', $key_plugin );
775 $icon = $key_plugin_explode[0];
776 }
777 } ?>
778 <div class="bws_product_box">
779 <div class="bws_product">
780 <div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
781 <div class="bws_product_content">
782 <div class="bws_product_icon">
783 <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) ) { ?>
784 <div class="bws_product_icon_pro">PRO</div>
785 <?php } ?>
786 <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
787 </div>
788 <div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
789 </div>
790 <?php if ( isset( $bws_plugins[ $key_plugin ]["pro_version"] ) ) { ?>
791 <a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
792 <?php _e( 'Go', 'bestwebsoft' ); ?> <strong>PRO</strong>
793 </a>
794 <?php } else { ?>
795 <a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
796 <strong><?php _e( 'DONATE', 'bestwebsoft' ); ?></strong>
797 </a>
798 <?php } ?>
799 </div>
800 <div class="clear"></div>
801 <div class="bws_product_links">
802 <a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
803 <span> | </span>
804 <a href="<?php echo $bws_plugins[ $key_plugin ]["wp_install"]; ?>" target="_blank"><?php _e( "Install now", 'bestwebsoft' ); ?></a>
805 </div>
806 </div>
807 <?php }
808 } ?>
809 <?php } elseif ( 'themes' == $_GET['action'] ) { ?>
810 <div id="availablethemes">
811 <?php global $tabs, $tab, $paged, $type, $theme_field_defaults;
812 include( ABSPATH . 'wp-admin/includes/theme-install.php' );
813 include( ABSPATH . 'wp-admin/includes/class-wp-themes-list-table.php' );
814 include( ABSPATH . 'wp-admin/includes/class-wp-theme-install-list-table.php' );
815
816 $theme_class = new WP_Theme_Install_List_Table();
817 $paged = $theme_class->get_pagenum();
818 $per_page = 36;
819 $args = array( 'page' => $paged, 'per_page' => $per_page, 'fields' => $theme_field_defaults );
820 $args['author'] = 'bestwebsoft';
821 $args = apply_filters( 'install_themes_table_api_args_search', $args );
822 $api = themes_api( 'query_themes', $args );
823
824 if ( is_wp_error( $api ) )
825 wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try again', 'bestwebsoft' ) . '</a>' );
826
827 $theme_class->items = $api->themes;
828 $theme_class->set_pagination_args( array(
829 'total_items' => $api->info['results'],
830 'per_page' => $per_page,
831 'infinite_scroll' => true,
832 ) );
833 $themes = $theme_class->items;
834 if ( empty( $themes ) ) {
835 echo '<p>' . __( 'Having trouble viewing this page?', 'bestwebsoft' ) . ' <a href="http://bestwebsoft.com/categories/themes/" target="_blank">' . __( 'Click here', 'bestwebsoft' ) . '</a></p>';
836 } else {
837 if ( $wp_version < '3.9' ) {
838 foreach ( $themes as $theme ) { ?>
839 <div class="available-theme installable-theme"><?php
840 global $themes_allowedtags;
841 if ( empty( $theme ) )
842 return;
843
844 $name = wp_kses( $theme->name, $themes_allowedtags );
845 $author = wp_kses( $theme->author, $themes_allowedtags );
846 $preview_title = sprintf( __( 'Preview &#8220;%s&#8221;', 'bestwebsoft' ), $name );
847 $preview_url = add_query_arg( array(
848 'tab' => 'theme-information',
849 'theme' => $theme->slug,
850 ), self_admin_url( 'theme-install.php' ) );
851
852 $actions = array();
853
854 $install_url = add_query_arg( array(
855 'action' => 'install-theme',
856 'theme' => $theme->slug,
857 ), self_admin_url( 'update.php' ) );
858
859 $update_url = add_query_arg( array(
860 'action' => 'upgrade-theme',
861 'theme' => $theme->slug,
862 ), self_admin_url( 'update.php' ) );
863
864 $status = 'install';
865 $installed_theme = wp_get_theme( $theme->slug );
866 if ( $installed_theme->exists() ) {
867 if ( version_compare( $installed_theme->get('Version'), $theme->version, '=' ) )
868 $status = 'latest_installed';
869 elseif ( version_compare( $installed_theme->get('Version'), $theme->version, '>' ) )
870 $status = 'newer_installed';
871 else
872 $status = 'update_available';
873 }
874 switch ( $status ) {
875 default:
876 case 'install':
877 $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>';
878 break;
879 case 'update_available':
880 $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>';
881 break;
882 case 'newer_installed':
883 case 'latest_installed':
884 $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme', 'bestwebsoft' ) . '</span>';
885 break;
886 }
887 $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s', 'bestwebsoft' ), $name ) ) . '">' . __( 'Preview', 'bestwebsoft' ) . '</a>';
888 $actions = apply_filters( 'theme_install_actions', $actions, $theme ); ?>
889 <a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
890 <img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
891 </a>
892 <h3><?php echo $name; ?></h3>
893 <div class="theme-author"><?php printf( __( 'By %s', 'bestwebsoft' ), $author ); ?></div>
894 <div class="action-links">
895 <ul>
896 <?php foreach ( $actions as $action ): ?>
897 <li><?php echo $action; ?></li>
898 <?php endforeach; ?>
899 <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e( 'Details', 'bestwebsoft' ) ?></a></li>
900 </ul>
901 </div>
902 <?php $theme_class->install_theme_info( $theme ); ?>
903 </div>
904 <?php }
905 $theme_class->theme_installer();
906 } else { ?>
907 <div class="theme-browser">
908 <div class="themes">
909 <?php foreach ( $themes as $key => $theme ) {
910 $installed_theme = wp_get_theme( $theme->slug );
911 if ( $installed_theme->exists() )
912 $theme->installed = true;
913 else
914 $theme->installed = false;
915 ?>
916 <div class="theme" tabindex="0">
917 <?php if ( $theme->screenshot_url ) { ?>
918 <div class="theme-screenshot">
919 <img src="<?php echo $theme->screenshot_url; ?>" alt="" />
920 </div>
921 <?php } else { ?>
922 <div class="theme-screenshot blank"></div>
923 <?php } ?>
924 <div class="theme-author"><?php printf( __( 'By %s', 'bestwebsoft' ), $theme->author ); ?></div>
925 <h3 class="theme-name"><?php echo $theme->name; ?></h3>
926 <div class="theme-actions">
927 <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>
928 </div>
929 <?php if ( $theme->installed ) { ?>
930 <div class="theme-installed"><?php _e( 'Already Installed', 'bestwebsoft' ); ?></div>
931 <?php } ?>
932 </div>
933 <?php } ?>
934 <br class="clear" />
935 </div>
936 </div>
937 <div class="theme-overlay"></div>
938 <?php }
939 } ?>
940 </div>
941 <?php } elseif ( 'system_status' == $_GET['action'] ) { ?>
942 <div class="updated fade" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
943 <div class="error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
944 <h3><?php _e( 'System status', 'bestwebsoft' ); ?></h3>
945 <div class="inside">
946 <table class="bws_system_info">
947 <thead><tr><th><?php _e( 'Environment', 'bestwebsoft' ); ?></th><td></td></tr></thead>
948 <tbody>
949 <?php foreach ( $system_info['system_info'] as $key => $value ) { ?>
950 <tr>
951 <td scope="row"><?php echo $key; ?></td>
952 <td scope="row"><?php echo $value; ?></td>
953 </tr>
954 <?php } ?>
955 </tbody>
956 </table>
957 <table class="bws_system_info">
958 <thead><tr><th><?php _e( 'Active Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
959 <tbody>
960 <?php if ( ! empty( $system_info['active_plugins'] ) ) {
961 foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
962 <tr>
963 <td scope="row"><?php echo $key; ?></td>
964 <td scope="row"><?php echo $value; ?></td>
965 </tr>
966 <?php }
967 } ?>
968 </tbody>
969 </table>
970 <table class="bws_system_info">
971 <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
972 <tbody>
973 <?php if ( ! empty( $system_info['inactive_plugins'] ) ) {
974 foreach ( $system_info['inactive_plugins'] as $key => $value ) { ?>
975 <tr>
976 <td scope="row"><?php echo $key; ?></td>
977 <td scope="row"><?php echo $value; ?></td>
978 </tr>
979 <?php }
980 } ?>
981 </tbody>
982 </table>
983 <div class="clear"></div>
984 <form method="post" action="admin.php?page=bws_plugins&amp;action=system_status">
985 <p>
986 <input type="hidden" name="bwsmn_form_submit" value="submit" />
987 <input type="submit" class="button-primary" value="<?php _e( 'Send to support', 'bestwebsoft' ) ?>" />
988 <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ); ?>
989 </p>
990 </form>
991 <form method="post" action="admin.php?page=bws_plugins&amp;action=system_status">
992 <p>
993 <input type="hidden" name="bwsmn_form_submit_custom_email" value="submit" />
994 <input type="submit" class="button" value="<?php _e( 'Send to custom email &#187;', 'bestwebsoft' ) ?>" />
995 <input type="text" maxlength="250" value="<?php echo $bwsmn_form_email; ?>" name="bwsmn_form_email" />
996 <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ); ?>
997 </p>
998 </form>
999 </div>
1000 <?php } ?>
1001 </div>
1002 <?php }
1003 }
1004
1005 if ( ! function_exists( 'bws_get_banner_array' ) ) {
1006 function bws_get_banner_array() {
1007 global $bstwbsftwppdtplgns_banner_array;
1008 $bstwbsftwppdtplgns_banner_array = array(
1009 array( 'zndskhcpr_hide_banner_on_plugin_page', 'zendesk-help-center/zendesk-help-center.php', '1.0.0' ),
1010 array( 'gglcptch_hide_banner_on_plugin_page', 'google-captcha/google-captcha.php', '1.18' ),
1011 array( 'mltlngg_hide_banner_on_plugin_page', 'multilanguage/multilanguage.php', '1.1.1' ),
1012 array( 'adsns_hide_banner_on_plugin_page', 'adsense-plugin/adsense-plugin.php', '1.36' ),
1013 array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
1014 array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
1015 array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
1016 array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
1017 array( 'prmbr_hide_banner_on_plugin_page', 'promobar/promobar.php', '1.0.0' ),
1018 array( 'gglnltcs_hide_banner_on_plugin_page', 'bws-google-analytics/bws-google-analytics.php', '1.6.2' ),
1019 array( 'htccss_hide_banner_on_plugin_page', 'htaccess/htaccess.php', '1.6.3' ),
1020 array( 'sbscrbr_hide_banner_on_plugin_page', 'subscriber/subscriber.php', '1.1.8' ),
1021 array( 'lmtttmpts_hide_banner_on_plugin_page', 'limit-attempts/limit-attempts.php', '1.0.2' ),
1022 array( 'sndr_hide_banner_on_plugin_page', 'sender/sender.php', '0.5' ),
1023 array( 'srrl_hide_banner_on_plugin_page', 'user-role/user-role.php', '1.4' ),
1024 array( 'pdtr_hide_banner_on_plugin_page', 'updater/updater.php', '1.12' ),
1025 array( 'cntctfrmtdb_hide_banner_on_plugin_page', 'contact-form-to-db/contact_form_to_db.php', '1.2' ),
1026 array( 'cntctfrmmlt_hide_banner_on_plugin_page', 'contact-form-multi/contact-form-multi.php', '1.0.7' ),
1027 array( 'gglmps_hide_banner_on_plugin_page', 'bws-google-maps/bws-google-maps.php', '1.2' ),
1028 array( 'fcbkbttn_hide_banner_on_plugin_page', 'facebook-button-plugin/facebook-button-plugin.php', '2.29' ),
1029 array( 'twttr_hide_banner_on_plugin_page', 'twitter-plugin/twitter.php', '2.34' ),
1030 array( 'pdfprnt_hide_banner_on_plugin_page', 'pdf-print/pdf-print.php', '1.7.1' ),
1031 array( 'gglplsn_hide_banner_on_plugin_page', 'google-one/google-plus-one.php', '1.1.4' ),
1032 array( 'gglstmp_hide_banner_on_plugin_page', 'google-sitemap-plugin/google-sitemap-plugin.php', '2.8.4' ),
1033 array( 'cntctfrmpr_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-pro/contact_form_pro.php', '1.14' ),
1034 array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
1035 array( 'cptch_hide_banner_on_plugin_page', 'captcha/captcha.php', '3.8.4' ),
1036 array( 'gllr_hide_banner_on_plugin_page', 'gallery-plugin/gallery-plugin.php', '3.9.1' ),
1037 array( 'cntctfrm_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.62' )
1038 );
1039 }
1040 }