PluginProbe ʕ •ᴥ•ʔ
reCaptcha by BestWebSoft / 1.65
reCaptcha by BestWebSoft v1.65
1.79 1.80 1.82 1.83 1.84 1.85 1.86 1.87 trunk 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.57 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 1.70 1.71 1.72 1.73 1.74 1.75 1.78
google-captcha / bws_menu / bws_menu.php
google-captcha / bws_menu Last commit date
css 4 years ago fonts 4 years ago icons 4 years ago images 4 years ago js 4 years ago languages 4 years ago bws_functions.php 4 years ago bws_include.php 4 years ago bws_menu.php 4 years ago class-bws-settings.php 4 years ago deactivation-form.php 4 years ago deprecated.php 4 years ago product_list.php 4 years ago
bws_menu.php
711 lines
1 <?php
2 /*
3 * Function for displaying BestWebSoft menu
4 * Version: 2.4.0
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, $bstwbsftwppdtplgns_options;
13 $error = $message = '';
14
15 /**
16 * @deprecated 1.9.8 (15.12.2016)
17 */
18 $is_main_page = in_array( $_GET['page'], array( 'bws_panel', 'bws_themes', 'bws_system_status' ) );
19 $page = wp_unslash( $_GET['page'] );
20 $tab = isset( $_GET['tab'] ) ? wp_unslash( $_GET['tab'] ) : '';
21
22 if ( $is_main_page )
23 $current_page = 'admin.php?page=' . $page;
24 else
25 $current_page = isset( $_GET['tab'] ) ? 'admin.php?page=' . $page . '&tab=' . $tab : 'admin.php?page=' . $page;
26
27 if ( 'bws_panel' == $page || ( ! $is_main_page && '' == $tab ) ) {
28
29 if ( ! function_exists( 'is_plugin_active_for_network' ) )
30 require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
31
32 /* get $bws_plugins */
33 require( dirname( __FILE__ ) . '/product_list.php' );
34
35 $all_plugins = get_plugins();
36 $active_plugins = get_option( 'active_plugins' );
37 $sitewide_active_plugins = ( function_exists( 'is_multisite' ) && is_multisite() ) ? get_site_option( 'active_sitewide_plugins' ) : array();
38 $update_availible_all = get_site_transient( 'update_plugins' );
39
40 $plugin_category = isset( $_GET['category'] ) ? esc_attr( $_GET['category'] ) : 'all';
41
42 if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || ! isset( $_GET['sub'] ) ) {
43 $bws_plugins_update_availible = $bws_plugins_expired = array();
44 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
45
46 foreach ( $value_plugin['category'] as $category_key ) {
47 $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
48 }
49
50 $is_installed = array_key_exists( $key_plugin, $all_plugins );
51 $is_pro_installed = false;
52 if ( isset( $value_plugin['pro_version'] ) ) {
53 $is_pro_installed = array_key_exists( $value_plugin['pro_version'], $all_plugins );
54 }
55 /* check update_availible */
56 if ( ! empty( $update_availible_all ) && ! empty( $update_availible_all->response ) ) {
57 if ( $is_pro_installed && array_key_exists( $value_plugin['pro_version'], $update_availible_all->response ) ) {
58 unset( $bws_plugins[ $key_plugin ] );
59 $value_plugin['update_availible'] = $value_plugin['pro_version'];
60 $bws_plugins_update_availible[ $key_plugin ] = $value_plugin;
61 } else if ( $is_installed && array_key_exists( $key_plugin, $update_availible_all->response ) ) {
62 unset( $bws_plugins[ $key_plugin ] );
63 $value_plugin['update_availible'] = $key_plugin;
64 $bws_plugins_update_availible[ $key_plugin ] = $value_plugin;
65 }
66 }
67 /* check expired */
68 if ( $is_pro_installed && isset( $bstwbsftwppdtplgns_options['time_out'][ $value_plugin['pro_version'] ] ) &&
69 strtotime( $bstwbsftwppdtplgns_options['time_out'][ $value_plugin['pro_version'] ] ) < strtotime( date( "m/d/Y" ) ) ) {
70 unset( $bws_plugins[ $key_plugin ] );
71 $value_plugin['expired'] = $bstwbsftwppdtplgns_options['time_out'][ $value_plugin['pro_version'] ];
72 $bws_plugins_expired[ $key_plugin ] = $value_plugin;
73 }
74 }
75 $bws_plugins = $bws_plugins_update_availible + $bws_plugins_expired + $bws_plugins;
76 } else {
77 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
78 foreach ( $value_plugin['category'] as $category_key ) {
79 $bws_plugins_category[ $category_key ]['count'] = isset( $bws_plugins_category[ $category_key ]['count'] ) ? $bws_plugins_category[ $category_key ]['count'] + 1 : 1;
80 }
81 }
82 }
83
84 /*** membership ***/
85 $bws_license_plugin = 'bws_get_list_for_membership';
86 $bws_license_key = isset( $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) ? $bstwbsftwppdtplgns_options[ $bws_license_plugin ] : '';
87 $update_membership_list = true;
88
89 if ( isset( $_POST['bws_license_key'] ) )
90 $bws_license_key = sanitize_text_field( $_POST['bws_license_key'] );
91
92 if ( isset( $_SESSION['bws_membership_time_check'] ) && isset( $_SESSION['bws_membership_list'] ) && $_SESSION['bws_membership_time_check'] < strtotime( '+12 hours' ) ) {
93 $update_membership_list = false;
94 $plugins_array = $_SESSION['bws_membership_list'];
95 }
96
97 if ( ( $update_membership_list && ! empty( $bws_license_key ) ) || ( isset( $_POST['bws_license_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bws_license_nonce_name' ) ) ) {
98
99 if ( '' != $bws_license_key ) {
100 if ( strlen( $bws_license_key ) != 18 ) {
101 $error = __( 'Wrong license key', 'bestwebsoft' );
102 } else {
103
104 if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - (24 * 60 * 60) ) ) {
105 $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
106 } else {
107 $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = 1;
108 $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] = time();
109 }
110
111 /* get Pro list */
112 $to_send = array();
113 $to_send["plugins"][ $bws_license_plugin ] = array();
114 $to_send["plugins"][ $bws_license_plugin ]["bws_license_key"] = $bws_license_key;
115 $options = array(
116 'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3 ),
117 'body' => array( 'plugins' => serialize( $to_send ) ),
118 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) );
119 $raw_response = wp_remote_post( 'https://bestwebsoft.com/wp-content/plugins/paid-products/plugins/pro-license-check/1.0/', $options );
120
121 if ( is_wp_error( $raw_response ) || 200 != wp_remote_retrieve_response_code( $raw_response ) ) {
122 $error = __( "Something went wrong. Please try again later. If the error appears again, please contact us", 'bestwebsoft' ) . ' <a href="https://support.bestwebsoft.com">BestWebSoft</a>. ' . __( "We are sorry for inconvenience.", 'bestwebsoft' );
123 } else {
124 $response = maybe_unserialize( wp_remote_retrieve_body( $raw_response ) );
125
126 if ( is_array( $response ) && !empty( $response ) ) {
127 foreach ( $response as $key => $value ) {
128 if ( "wrong_license_key" == $value->package ) {
129 $error = __( "Wrong license key.", 'bestwebsoft' );
130 } elseif ( "wrong_domain" == $value->package ) {
131 $error = __( 'This license key is bound to another site. Change it via personal Client Area.', 'bestwebsoft' ) . '<a target="_blank" href="https://bestwebsoft.com/client-area">' . __( 'Log in', 'bestwebsoft' ) . '</a>';
132 } elseif ( "you_are_banned" == $value->package ) {
133 $error = __( "Unfortunately, you have exceeded the number of available tries per day.", 'bestwebsoft' );
134 } elseif ( "time_out" == $value->package ) {
135 $error = sprintf( __( "Unfortunately, Your license has expired. To continue getting top-priority support and plugin updates, you should extend it in your %s", 'bestwebsoft' ), ' <a href="https://bestwebsoft.com/client-area">Client Area</a>' );
136 } elseif ( "duplicate_domen_for_trial" == $value->package ) {
137 $error = __( "Unfortunately, the Pro licence was already installed to this domain. The Pro Trial license can be installed only once.", 'bestwebsoft' );
138 } elseif ( is_array( $value->package ) && ! empty( $value->package ) ) {
139 $plugins_array = $_SESSION['bws_membership_list'] = $value->package;
140 $_SESSION['bws_membership_time_check'] = strtotime( 'now' );
141
142 if ( isset( $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) && $bws_license_key == $bstwbsftwppdtplgns_options[ $bws_license_plugin ] ) {
143 $message = __( 'The license key is valid.', 'bestwebsoft' );
144 if ( isset( $value->time_out ) && $value->time_out != '' )
145 $message .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
146 } else {
147 $message = __( 'Congratulations! Pro Membership license is activated successfully.', 'bestwebsoft' );
148 }
149
150 $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
151 }
152 }
153 } else {
154 $error = __( "Something went wrong. Try again later or upload the plugin manually. We are sorry for inconvenience.", 'bestwebsoft' );
155 }
156 }
157
158 if ( is_multisite() )
159 update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
160 else
161 update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
162 }
163 } else {
164 $error = __( "Please enter your license key.", 'bestwebsoft' );
165 }
166 }
167 } elseif ( 'bws_system_status' == $page || 'system-status' == $tab ) {
168
169 $all_plugins = get_plugins();
170 $active_plugins = get_option( 'active_plugins' );
171 $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
172 if ( is_array( $mysql_info ) )
173 $sql_mode = $mysql_info[0]->Value;
174 if ( empty( $sql_mode ) )
175 $sql_mode = __( 'Not set', 'bestwebsoft' );
176
177 $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
178 $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' );
179 $post_max_size = ( ini_get( 'post_max_size' ) ) ? ini_get( 'post_max_size' ) : __( 'N/A', 'bestwebsoft' );
180 $max_execution_time = ( ini_get( 'max_execution_time' ) ) ? ini_get( 'max_execution_time' ) : __( 'N/A', 'bestwebsoft' );
181 $memory_limit = ( ini_get( 'memory_limit' ) ) ? ini_get( 'memory_limit' ) : __( 'N/A', 'bestwebsoft' );
182 $wp_memory_limit = ( defined( 'WP_MEMORY_LIMIT' ) ) ? WP_MEMORY_LIMIT : __( 'N/A', 'bestwebsoft' );
183 $memory_usage = ( function_exists( 'memory_get_usage' ) ) ? round( memory_get_usage() / 1024 / 1024, 2 ) . ' ' . __( 'Mb', 'bestwebsoft' ) : __( 'N/A', 'bestwebsoft' );
184 $exif_read_data = ( is_callable( 'exif_read_data' ) ) ? __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" : __( 'No', 'bestwebsoft' );
185 $iptcparse = ( is_callable( 'iptcparse' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
186 $xml_parser_create = ( is_callable( 'xml_parser_create' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
187 $theme = ( function_exists( 'wp_get_theme' ) ) ? wp_get_theme() : get_theme( get_current_theme() );
188
189 if ( function_exists( 'is_multisite' ) ) {
190 $multisite = is_multisite() ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
191 } else {
192 $multisite = __( 'N/A', 'bestwebsoft' );
193 }
194
195 $system_info = array(
196 'wp_environment' => array(
197 'name' => __( 'WordPress Environment', 'bestwebsoft' ),
198 'data' => array(
199 __( 'Home URL', 'bestwebsoft' ) => home_url(),
200 __( 'Website URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
201 __( 'WP Version', 'bestwebsoft' ) => $wp_version,
202 __( 'WP Multisite', 'bestwebsoft' ) => $multisite,
203 __( 'WP Memory Limit', 'bestwebsoft' ) => $wp_memory_limit,
204 __( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version'] . ' (' . sprintf( __( 'by %s', 'bestwebsoft' ), $theme['Author'] ) . ')'
205 ),
206 ),
207 'server_environment' => array(
208 'name' => __( 'Server Environment', 'bestwebsoft' ),
209 'data' => array(
210 __( 'Operating System', 'bestwebsoft' ) => PHP_OS,
211 __( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
212 __( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
213 __( 'PHP Allow URL fopen', 'bestwebsoft' ) => $allow_url_fopen,
214 __( 'PHP Memory Limit', 'bestwebsoft' ) => $memory_limit,
215 __( 'Memory Usage', 'bestwebsoft' ) => $memory_usage,
216 __( 'PHP Max Upload Size', 'bestwebsoft' ) => $upload_max_filesize,
217 __( 'PHP Max Post Size', 'bestwebsoft' ) => $post_max_size,
218 __( 'PHP Max Script Execute Time', 'bestwebsoft' ) => $max_execution_time,
219 __( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
220 __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
221 __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
222 '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
223 '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
224 ),
225 ),
226 'db' => array(
227 'name' => __( 'Database', 'bestwebsoft' ),
228 'data' => array(
229 __( 'WP DB version', 'bestwebsoft' ) => get_option( 'db_version' ),
230 __( 'MySQL version', 'bestwebsoft' ) => $wpdb->get_var( "SELECT VERSION() AS version" ),
231 __( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
232 ),
233 ),
234 'active_plugins' => array(
235 'name' => __( 'Active Plugins', 'bestwebsoft' ),
236 'data' => array(),
237 'count' => 0
238 ),
239 'inactive_plugins' => array(
240 'name' => __( 'Inactive Plugins', 'bestwebsoft' ),
241 'data' => array(),
242 'count' => 0
243 )
244 );
245
246 foreach ( $all_plugins as $path => $plugin ) {
247 $name = str_replace( 'by BestWebSoft', '', $plugin['Name'] );
248 if ( is_plugin_active( $path ) ) {
249 $system_info['active_plugins']['data'][ $name ] = sprintf( __( 'by %s', 'bestwebsoft' ), $plugin['Author'] ) . ' - ' . $plugin['Version'];
250 $system_info['active_plugins']['count'] = $system_info['active_plugins']['count'] + 1;
251 } else {
252 $system_info['inactive_plugins']['data'][ $name ] = sprintf( __( 'by %s', 'bestwebsoft' ), $plugin['Author'] ) . ' - ' . $plugin['Version'];
253 $system_info['inactive_plugins']['count'] = $system_info['inactive_plugins']['count'] + 1;
254 }
255 }
256
257 if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) || ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
258 if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
259 $email = sanitize_email( $_REQUEST['bwsmn_form_email'] );
260 if ( '' == $email ) {
261 $error = __( 'Please enter a valid email address.', 'bestwebsoft' );
262 } else {
263 $message = sprintf( __( 'Email with system info is sent to %s.', 'bestwebsoft' ), $email );
264 }
265 } else {
266 $email = 'plugin_system_status@bestwebsoft.com';
267 $message = __( 'Thank you for contacting us.', 'bestwebsoft' );
268 }
269
270 if ( $error == '' ) {
271 $headers = 'MIME-Version: 1.0' . "\n";
272 $headers .= 'Content-type: text/html; charset=utf-8' . "\n";
273 $headers .= 'From: ' . get_option( 'admin_email' );
274 $message_text = '<html><head><title>System Info From ' . home_url() . '</title></head><body>';
275 foreach ( $system_info as $info ) {
276 if ( ! empty( $info['data'] ) ) {
277 $message_text .= '<h4>' . $info['name'];
278 if ( isset( $info['count'] ) )
279 $message_text .= ' (' . $info['count'] . ')';
280 $message_text .= '</h4><table>';
281 foreach ( $info['data'] as $key => $value ) {
282 $message_text .= '<tr><td>' . $key . '</td><td>' . $value . '</td></tr>';
283 }
284 $message_text .= '</table>';
285 }
286 }
287 $message_text .= '</body></html>';
288 $result = wp_mail( $email, 'System Info From ' . home_url(), $message_text, $headers );
289 if ( $result != true )
290 $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
291 }
292 }
293 } ?>
294 <div class="bws-wrap">
295 <div class="bws-header">
296 <div class="bws-title">
297 <a href="<?php echo ( $is_main_page ) ? self_admin_url( 'admin.php?page=bws_panel' ) : esc_url( self_admin_url( 'admin.php?page=' . $page ) ); ?>">
298 <span class="bws-logo bwsicons bwsicons-bws-logo"></span>
299 BestWebSoft
300 <span>panel</span>
301 </a>
302 </div>
303 <div class="bws-menu-item-icon">&#8226;&#8226;&#8226;</div>
304 <div class="bws-nav-tab-wrapper">
305 <?php if ( $is_main_page ) { ?>
306 <a class="bws-nav-tab<?php if ( 'bws_panel' == $page ) echo ' bws-nav-tab-active'; ?>" href="<?php echo self_admin_url( 'admin.php?page=bws_panel' ); ?>"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
307 <a class="bws-nav-tab<?php if ( 'bws_themes' == $page ) echo ' bws-nav-tab-active'; ?>" href="<?php echo self_admin_url( 'admin.php?page=bws_themes' ); ?>"><?php _e( 'Themes', 'bestwebsoft' ); ?></a>
308 <a class="bws-nav-tab<?php if ( 'bws_system_status' == $page ) echo ' bws-nav-tab-active'; ?>" href="<?php echo self_admin_url( 'admin.php?page=bws_system_status' ); ?>"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
309 <?php } else { ?>
310 <a class="bws-nav-tab<?php if ( ! isset( $_GET['tab'] ) ) echo ' bws-nav-tab-active'; ?>" href="<?php echo esc_url( self_admin_url( 'admin.php?page=' . $page ) ); ?>"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
311 <a class="bws-nav-tab<?php if ( 'themes' == $tab ) echo ' bws-nav-tab-active'; ?>" href="<?php echo esc_url( self_admin_url( 'admin.php?page=' . $page . '&tab=themes' ) ); ?>"><?php _e( 'Themes', 'bestwebsoft' ); ?></a>
312 <a class="bws-nav-tab<?php if ( 'system-status' == $tab ) echo ' bws-nav-tab-active'; ?>" href="<?php echo esc_url( self_admin_url( 'admin.php?page=' . $page . '&tab=system-status' ) ); ?>"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
313 <?php } ?>
314 </div>
315 <div class="bws-help-links-wrapper">
316 <a href="https://support.bestwebsoft.com" target="_blank"><?php _e( 'Support', 'bestwebsoft' ); ?></a>
317 <a href="https://bestwebsoft.com/client-area" target="_blank" title="<?php _e( 'Manage purchased licenses & subscriptions', 'bestwebsoft' ); ?>">Client Area</a>
318 </div>
319 <div class="clear"></div>
320 </div>
321 <?php if ( ( 'bws_panel' == $page || ( ! isset( $_GET['tab'] ) && ! $is_main_page ) ) && ! isset( $_POST['bws_plugin_action_submit'] ) ) { ?>
322 <div class="bws-membership-wrap">
323 <div class="bws-membership-backround"></div>
324 <div class="bws-membership">
325 <div class="bws-membership-title"><?php printf( __( 'Get Access to %s+ Premium Plugins', 'bestwebsoft' ), '30' ); ?></div>
326 <form class="bws-membership-form" method="post" action="">
327 <span class="bws-membership-link"><a target="_blank" href="https://bestwebsoft.com/membership/"><?php _e( 'Subscribe to Pro Membership', 'bestwebsoft' ); ?></a> <?php _e( 'or', 'bestwebsoft' ); ?></span>
328 <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
329 '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
330 $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
331 <div class="bws_form_input_wrap">
332 <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo esc_attr( $bws_license_key); ?>" />
333 <div class="bws_error"><?php _e( "Unfortunately, you have exceeded the number of available tries per day.", 'bestwebsoft' ); ?></div>
334 </div>
335 <input disabled="disabled" type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
336 <?php } else { ?>
337 <div class="bws_form_input_wrap">
338 <input <?php if ( "" != $error ) echo 'class="bws_input_error"'; ?> type="text" placeholder="<?php _e( 'Enter your license key', 'bestwebsoft' ); ?>" maxlength="100" name="bws_license_key" value="<?php echo esc_attr( $bws_license_key ); ?>" />
339 <div class="bws_error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><?php echo $error; ?></div>
340 </div>
341 <input type="hidden" name="bws_license_plugin" value="<?php echo esc_attr( $bws_license_plugin ); ?>" />
342 <input type="hidden" name="bws_license_submit" value="submit" />
343 <?php if ( empty( $plugins_array ) ) { ?>
344 <input type="submit" class="bws-button" value="<?php _e( 'Activate', 'bestwebsoft' ); ?>" />
345 <?php } else { ?>
346 <input type="submit" class="bws-button" value="<?php _e( 'Check license key', 'bestwebsoft' ); ?>" />
347 <?php } ?>
348 <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_nonce_name' ); ?>
349 <?php } ?>
350 </form>
351 <div class="clear"></div>
352 </div>
353 </div>
354 <?php } ?>
355 <div class="bws-wrap-content wrap">
356 <?php if ( 'bws_panel' == $page || ( ! isset( $_GET['tab'] ) && ! $is_main_page ) ) { ?>
357 <div class="updated notice is-dismissible inline" <?php if ( '' == $message || '' != $error ) echo 'style="display:none"'; ?>><p><?php echo $message; ?></p></div>
358 <h1>
359 <?php _e( 'Plugins', 'bestwebsoft' ); ?>
360 <a href="<?php echo self_admin_url( 'plugin-install.php?tab=upload' ); ?>" class="upload page-title-action add-new-h2"><?php _e( 'Upload Plugin', 'bestwebsoft' ); ?></a>
361 </h1>
362 <?php if ( isset( $_GET['error'] ) ) {
363 if ( isset( $_GET['charsout'] ) )
364 $errmsg = sprintf( __( 'The plugin generated %d characters of <strong>unexpected output</strong> during activation. If you notice &#8220;headers already sent&#8221; messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.' ), $_GET['charsout'] );
365 else
366 $errmsg = __( 'Plugin could not be activated because it triggered a <strong>fatal error</strong>.' ); ?>
367 <div id="message" class="error is-dismissible"><p><?php echo $errmsg; ?></p></div>
368 <?php } elseif ( isset( $_GET['activate'] ) ) { ?>
369 <div id="message" class="updated notice is-dismissible"><p><?php _e( 'Plugin <strong>activated</strong>.' ) ?></p></div>
370 <?php }
371
372 if ( isset( $_POST['bws_plugin_action_submit'] ) && isset( $_POST['bws_install_plugin'] ) && check_admin_referer( plugin_basename(__FILE__), 'bws_license_install_nonce_name' ) ) {
373
374 $bws_license_plugin = sanitize_text_field( $_POST['bws_install_plugin'] );
375
376 $bstwbsftwppdtplgns_options[ $bws_license_plugin ] = $bws_license_key;
377 if ( is_multisite() )
378 update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
379 else
380 update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options );
381
382 $url = $plugins_array[ $bws_license_plugin ]['link'] . '&download_from=5'; ?>
383 <h2><?php _e( 'Download Pro Plugin', 'bestwebsoft' ); ?></h2>
384 <p>
385 <strong><?php _e( 'Your Pro plugin is ready', 'bestwebsoft' ); ?></strong>
386 <br>
387 <?php _e( 'Your plugin has been zipped, and now is ready to download.', 'bestwebsoft' ); ?>
388 </p>
389 <p>
390 <a class="button button-secondary" target="_parent" href="<?php echo esc_url( $url ); ?>"><?php _e( 'Download Now', 'bestwebsoft' ); ?></a>
391 </p>
392 <br>
393 <p>
394 <strong><?php _e( 'Need help installing the plugin?', 'bestwebsoft' ); ?></strong>
395 <br>
396 <a target="_blank" href="https://bestwebsoft.com/documentation/how-to-install-a-wordpress-product/how-to-install-a-wordpress-plugin/"><?php _e( 'How to install WordPress plugin from your admin Dashboard (ZIP archive)', 'bestwebsoft' ); ?></a>
397 </p>
398 <p>
399 <strong><?php _e( 'Get Started', 'bestwebsoft' ); ?></strong>
400 <br>
401 <a target="_blank" href="https://bestwebsoft.com/documentation/"><?php _e( 'Documentation', 'bestwebsoft' ); ?></a>
402 <br>
403 <a target="_blank" href="https://www.youtube.com/user/bestwebsoft"><?php _e( 'Video Instructions', 'bestwebsoft' ); ?></a>
404 <br>
405 <a target="_blank" href="https://support.bestwebsoft.com"><?php _e( 'Knowledge Base', 'bestwebsoft' ); ?></a>
406 </p>
407 <p>
408 <strong><?php _e( 'Licenses & Domains', 'bestwebsoft' ); ?></strong>
409 <br>
410 <?php printf( 'Manage your license(-s) and change domain names using the %s at BestWebSoft.',
411 '<a target="_blank" href="https://bestwebsoft.com/client-area">' . __( 'Client Area', 'bestwebsoft' ) . '</a>' ); ?>
412 </p>
413 <p><a href="<?php echo esc_url( self_admin_url( $current_page ) ); ?>" target="_parent"><?php _e( 'Return to BestWebSoft Panel', 'bestwebsoft' ); ?></a></p>
414 <?php } else {
415 $category_href = $current_page;
416 if ( 'all' != $plugin_category )
417 $category_href .= '&category=' . $plugin_category; ?>
418 <ul class="subsubsub">
419 <li>
420 <a <?php if ( ! isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="<?php echo esc_url( self_admin_url( $category_href ) ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?></a>
421 </li> |
422 <li>
423 <a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="<?php echo esc_url( self_admin_url( $category_href . '&sub=installed' ) ); ?>"><?php _e( 'Installed', 'bestwebsoft' ); ?></a>
424 </li> |
425 <li>
426 <a <?php if ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="<?php echo esc_url( self_admin_url( $category_href . '&sub=not_installed' ) ); ?>"><?php _e( 'Not Installed', 'bestwebsoft' ); ?></a>
427 </li>
428 </ul>
429 <div class="clear"></div>
430 <div class="bws-filter-top">
431 <h2>
432 <span class="bws-toggle-indicator"></span>
433 <?php _e( 'Filter results', 'bestwebsoft' ); ?>
434 </h2>
435 <div class="bws-filter-top-inside">
436 <div class="bws-filter-title"><?php _e( 'Category', 'bestwebsoft' ); ?></div>
437 <ul class="bws-category">
438 <li>
439 <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&sub=' . $_GET['sub'] : ''; ?>
440 <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url(self_admin_url( $current_page . $sub_in_url ) ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
441 <span>(<?php echo count( $bws_plugins ); ?>)</span>
442 </a>
443 </li>
444 <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
445 <li>
446 <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( $current_page . $sub_in_url . '&category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
447 <span>(<?php echo $category_value['count']; ?>)</span>
448 </a>
449 </li>
450 <?php } ?>
451 </ul>
452 </div>
453 </div>
454 <div class="bws-products">
455 <?php $nothing_found = true;
456 foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
457
458 if ( 'all' != $plugin_category && isset( $bws_plugins_category[ $plugin_category ] ) && ! in_array( $plugin_category, $value_plugin['category'] ) )
459 continue;
460
461 $key_plugin_explode = explode( '/', $key_plugin );
462
463 $icon = isset( $value_plugin['icon'] ) ? $value_plugin['icon'] : '//ps.w.org/' . $key_plugin_explode[0] . '/assets/icon-256x256.png';
464 $is_pro_isset = isset( $value_plugin['pro_version'] );
465 $is_installed = array_key_exists( $key_plugin, $all_plugins );
466 $is_active = in_array( $key_plugin, $active_plugins ) || isset( $sitewide_active_plugins[ $key_plugin ] );
467
468 $is_pro_installed = $is_pro_active = false;
469 if ( $is_pro_isset ) {
470 $is_pro_installed = array_key_exists( $value_plugin['pro_version'], $all_plugins );
471 $is_pro_active = in_array( $value_plugin['pro_version'], $active_plugins ) || isset( $sitewide_active_plugins[ $value_plugin['pro_version'] ] );
472 }
473
474 if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] && ! $is_pro_installed && ! $is_installed ) ||
475 ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] && ( $is_pro_installed || $is_installed ) ) )
476 continue;
477
478 $link_attr = isset( $value_plugin['install_url'] ) ? 'href="' . esc_url( $value_plugin['install_url'] ) . '" target="_blank"' : 'href="' . esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $key_plugin_explode[0] . '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox open-plugin-details-modal"';
479
480 $nothing_found = false; ?>
481 <div class="bws_product_box<?php if ( $is_active || $is_pro_active ) echo ' bws_product_active'; ?>">
482 <div class="bws_product_image">
483 <a <?php echo $link_attr; ?>><img src="<?php echo $icon; ?>"/></a>
484 </div>
485 <div class="bws_product_content">
486 <div class="bws_product_title"><a <?php echo $link_attr; ?>><?php echo $value_plugin['name']; ?></a></div>
487 <div class="bws-version">
488 <?php
489 if ( $is_pro_installed ) {
490 echo '<span';
491 if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
492 echo ' class="bws-update-available"';
493 echo '>v ' . $all_plugins[ $value_plugin['pro_version'] ]['Version'] . '</span>';
494 } elseif ( $is_installed ) {
495 echo '<span';
496 if ( ! empty( $value_plugin['expired'] ) || ! empty( $value_plugin['update_availible'] ) )
497 echo ' class="bws-update-available"';
498 echo '>v ' . $all_plugins[ $key_plugin ]['Version'] . '</span>';
499 } else {
500 echo '<span>' . __( 'Not installed', 'bestwebsoft' ) . '</span>';
501 }
502
503 if ( ! empty( $value_plugin['expired'] ) ) {
504 echo ' - <a class="bws-update-now" href="https://support.bestwebsoft.com/hc/en-us/articles/202356359" target="_blank">' . __( 'Renew to get updates', 'bestwebsoft' ) . '</a>';
505 } elseif ( ! empty( $value_plugin['update_availible'] ) ) {
506 $r = $update_availible_all->response[ $value_plugin['update_availible'] ];
507 echo ' - <a class="bws-update-now" href="' . esc_url( wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' . $value_plugin['update_availible'] ), 'upgrade-plugin_' . $value_plugin['update_availible'] ) ) . '" class="update-link" aria-label="' . sprintf( __( 'Update to v %s', 'bestwebsoft' ), $r->new_version ) . '">' . sprintf( __( 'Update to v %s', 'bestwebsoft' ), $r->new_version ) . '</a>';
508 } ?>
509 </div>
510 <div class="bws_product_description">
511 <?php echo ( strlen( $value_plugin['description'] ) > 100 ) ? mb_substr( $value_plugin['description'], 0, 100 ) . '...' : $value_plugin['description']; ?>
512 </div>
513 <div class="bws_product_links">
514 <?php if ( $is_active || $is_pro_active ) {
515 if ( $is_pro_isset ) {
516 if ( ! $is_pro_installed ) {
517 if ( ! empty( $plugins_array ) && array_key_exists( $value_plugin['pro_version'], $plugins_array ) ) { ?>
518 <form method="post" action="">
519 <input type="submit" class="button button-secondary" value="<?php _e( 'Get Pro', 'bestwebsoft' ); ?>" />
520 <input type="hidden" name="bws_plugin_action_submit" value="submit" />
521 <input type="hidden" name="bws_install_plugin" value="<?php echo $value_plugin['pro_version']; ?>" />
522 <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_install_nonce_name' ); ?>
523 </form>
524 <?php } else { ?>
525 <a class="button button-secondary bws_upgrade_button" href="<?php echo esc_url( $bws_plugins[ $key_plugin ]['purchase'] ); ?>" target="_blank"><?php _e( 'Upgrade to Pro', 'bestwebsoft' ); ?></a>
526 <?php }
527 }
528 } else { ?>
529 <a class="bws_donate" href="https://bestwebsoft.com/donate/" target="_blank"><?php _e( 'Donate', 'bestwebsoft' ); ?></a> <span>|</span>
530 <?php }
531
532 if ( $is_pro_active ) { ?>
533 <a class="bws_settings" href="<?php echo esc_url( self_admin_url( $bws_plugins[ $key_plugin ]["pro_settings"] ) ); ?>"><?php _e( 'Settings', 'bestwebsoft' ); ?></a>
534 <?php } else { ?>
535 <a class="bws_settings" href="<?php echo esc_url( self_admin_url( $bws_plugins[ $key_plugin ]["settings"] ) ); ?>"><?php _e( 'Settings', 'bestwebsoft' ); ?></a>
536 <?php }
537 } else {
538 if ( $is_pro_installed ) { ?>
539 <a class="button button-secondary" href="<?php echo esc_url( wp_nonce_url( self_admin_url( $current_page . '&bws_activate_plugin=' . $value_plugin['pro_version'] ), 'bws_activate_plugin' . $value_plugin['pro_version'] ) ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
540 <?php } elseif ( ! empty( $plugins_array ) && isset( $value_plugin['pro_version'] ) && array_key_exists( $value_plugin['pro_version'], $plugins_array ) ) { ?>
541 <form method="post" action="">
542 <input type="submit" class="button button-secondary" value="<?php _e( 'Get Pro', 'bestwebsoft' ); ?>" />
543 <input type="hidden" name="bws_plugin_action_submit" value="submit" />
544 <input type="hidden" name="bws_install_plugin" value="<?php echo $value_plugin['pro_version']; ?>" />
545 <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_install_nonce_name' ); ?>
546 </form>
547 <?php } elseif ( $is_installed ) { ?>
548 <a class="button button-secondary" href="<?php echo esc_url( wp_nonce_url( self_admin_url( $current_page . '&bws_activate_plugin=' . $key_plugin ), 'bws_activate_plugin' . $key_plugin ) ); ?>" title="<?php _e( 'Activate this plugin', 'bestwebsoft' ); ?>"><?php _e( 'Activate', 'bestwebsoft' ); ?></a>
549 <?php } else {
550 $install_url = isset( $value_plugin['install_url'] ) ? $value_plugin['install_url'] : network_admin_url( 'plugin-install.php?tab=search&type=term&s=' . str_replace( array( ' ', '-' ), '+', str_replace( '&', '', $value_plugin['name'] ) ) . '+BestWebSoft&plugin-search-input=Search+Plugins' ); ?>
551 <a class="button button-secondary" href="<?php echo esc_url( $install_url ); ?>" title="<?php _e( 'Install this plugin', 'bestwebsoft' ); ?>" target="_blank"><?php _e( 'Install Now', 'bestwebsoft' ); ?></a>
552 <?php }
553 } ?>
554 </div>
555 </div>
556 <div class="clear"></div>
557 </div>
558 <?php }
559 if ( $nothing_found ) { ?>
560 <p class="description"><?php _e( 'Nothing found. Try another criteria.', 'bestwebsoft' ); ?></p>
561 <?php } ?>
562 </div>
563 <div id="bws-filter-wrapper">
564 <div class="bws-filter">
565 <div class="bws-filter-title"><?php _e( 'Category', 'bestwebsoft' ); ?></div>
566 <ul class="bws-category">
567 <li>
568 <?php $sub_in_url = ( isset( $_GET['sub'] ) && in_array( $_GET['sub'], array( 'installed', 'not_installed' ) ) ) ? '&sub=' . $_GET['sub'] : ''; ?>
569 <a <?php if ( 'all' == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( $current_page . $sub_in_url ) ); ?>"><?php _e( 'All', 'bestwebsoft' ); ?>
570 <span>(<?php echo count( $bws_plugins ); ?>)</span>
571 </a>
572 </li>
573 <?php foreach ( $bws_plugins_category as $category_key => $category_value ) { ?>
574 <li>
575 <a <?php if ( $category_key == $plugin_category ) echo ' class="bws-active"'; ?> href="<?php echo esc_url( self_admin_url( $current_page . $sub_in_url . '&category=' . $category_key ) ); ?>"><?php echo $category_value['name']; ?>
576 <span>(<?php echo $category_value['count']; ?>)</span>
577 </a>
578 </li>
579 <?php } ?>
580 </ul>
581 </div>
582 </div><!-- #bws-filter-wrapper -->
583 <div class="clear"></div>
584 <?php }
585 } elseif ( 'bws_themes' == $page || 'themes' == $tab ) {
586 require( dirname( __FILE__ ) . '/product_list.php' ); ?>
587 <h1><?php _e( 'Themes', 'bestwebsoft' ); ?></h1>
588 <div id="availablethemes" class="bws-availablethemes">
589 <div class="theme-browser content-filterable rendered">
590 <div class="themes wp-clearfix">
591 <?php foreach ( $themes as $key => $theme ) {
592 $installed_theme = wp_get_theme( $theme->slug ); ?>
593 <div class="theme" tabindex="0">
594 <div class="theme-screenshot">
595 <img src="<?php echo bws_menu_url( "icons/themes/" ) . $theme->slug . '.png'; ?>" alt="" />
596 </div>
597 <div class="theme-author"><?php printf( __( 'By %s', 'bestwebsoft' ), 'BestWebSoft' ); ?></div>
598 <h3 class="theme-name"><?php echo $theme->name; ?></h3>
599 <div class="theme-actions">
600 <a class="button button-secondary preview install-theme-preview" href="<?php echo esc_url( $theme->href ); ?>" target="_blank"><?php _e( 'Learn More', 'bestwebsoft' ); ?></a>
601 </div>
602 <?php if ( $installed_theme->exists() ) {
603 if ( $wp_version < '4.6' ) { ?>
604 <div class="theme-installed"><?php _e( 'Already Installed', 'bestwebsoft' ); ?></div>
605 <?php } else { ?>
606 <div class="notice notice-success notice-alt inline"><p><?php _e( 'Installed', 'bestwebsoft' ); ?></p></div>
607 <?php }
608 } ?>
609 </div>
610 <?php } ?>
611 <br class="clear" />
612 </div>
613 </div>
614 <p><a class="bws_browse_link" href="https://bestwebsoft.com/products/wordpress/themes/" target="_blank"><?php _e( 'Browse More WordPress Themes', 'bestwebsoft' ); ?> <span class="dashicons dashicons-arrow-right-alt2"></span></a></p>
615 </div>
616 <?php } elseif ( 'bws_system_status' == $page || 'system-status' == $tab ) { ?>
617 <h1><?php _e( 'System status', 'bestwebsoft' ); ?></h1>
618 <div class="updated fade notice is-dismissible inline" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo 'style="display:none"'; ?>><p><strong><?php echo $message; ?></strong></p></div>
619 <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
620 <form method="post" action="">
621 <p>
622 <input type="hidden" name="bwsmn_form_submit" value="submit" />
623 <input type="submit" class="button-primary" value="<?php _e( 'Send to support', 'bestwebsoft' ) ?>" />
624 <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ); ?>
625 </p>
626 </form>
627 <form method="post" action="">
628 <p>
629 <input type="hidden" name="bwsmn_form_submit_custom_email" value="submit" />
630 <input type="submit" class="button" value="<?php _e( 'Send to custom email &#187;', 'bestwebsoft' ) ?>" />
631 <input type="text" maxlength="250" value="" name="bwsmn_form_email" />
632 <?php wp_nonce_field( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ); ?>
633 </p>
634 </form>
635 <?php foreach ( $system_info as $info ) { ?>
636 <table class="widefat bws-system-info" cellspacing="0">
637 <thead>
638 <tr>
639 <th colspan="2">
640 <strong>
641 <?php echo $info['name'];
642 if ( isset( $info['count'] ) )
643 echo ' (' . $info['count'] . ')'; ?>
644 </strong>
645 </th>
646 </tr>
647 </thead>
648 <tbody>
649 <?php foreach ( $info['data'] as $key => $value ) { ?>
650 <tr>
651 <td scope="row"><?php echo $key; ?></td>
652 <td scope="row"><?php echo $value; ?></td>
653 </tr>
654 <?php } ?>
655 </tbody>
656 </table>
657 <?php }
658 } ?>
659 </div>
660 </div>
661 <?php }
662 }
663
664 if ( ! function_exists( 'bws_get_banner_array' ) ) {
665 function bws_get_banner_array() {
666 global $bstwbsftwppdtplgns_banner_array;
667 $bstwbsftwppdtplgns_banner_array = array(
668 array( 'gglstpvrfctn_hide_banner_on_plugin_page', 'bws-google-2-step-verification/bws-google-2-step-verification.php', '1.0.0' ),
669 array( 'sclbttns_hide_banner_on_plugin_page', 'social-buttons-pack/social-buttons-pack.php', '1.1.0' ),
670 array( 'tmsht_hide_banner_on_plugin_page', 'timesheet/timesheet.php', '0.1.3' ),
671 array( 'pgntn_hide_banner_on_plugin_page', 'pagination/pagination.php', '1.0.6' ),
672 array( 'crrntl_hide_banner_on_plugin_page', 'car-rental/car-rental.php', '1.0.0' ),
673 array( 'lnkdn_hide_banner_on_plugin_page', 'bws-linkedin/bws-linkedin.php', '1.0.1' ),
674 array( 'pntrst_hide_banner_on_plugin_page', 'bws-pinterest/bws-pinterest.php', '1.0.1' ),
675 array( 'zndskhc_hide_banner_on_plugin_page', 'zendesk-help-center/zendesk-help-center.php', '1.0.0' ),
676 array( 'gglcptch_hide_banner_on_plugin_page', 'google-captcha/google-captcha.php', '1.18' ),
677 array( 'mltlngg_hide_banner_on_plugin_page', 'multilanguage/multilanguage.php', '1.1.1' ),
678 array( 'adsns_hide_banner_on_plugin_page', 'adsense-plugin/adsense-plugin.php', '1.36' ),
679 array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
680 array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
681 array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
682 array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
683 array( 'prmbr_hide_banner_on_plugin_page', 'promobar/promobar.php', '1.0.0' ),
684 array( 'gglnltcs_hide_banner_on_plugin_page', 'bws-google-analytics/bws-google-analytics.php', '1.6.2' ),
685 array( 'htccss_hide_banner_on_plugin_page', 'htaccess/htaccess.php', '1.6.3' ),
686 array( 'sbscrbr_hide_banner_on_plugin_page', 'subscriber/subscriber.php', '1.1.8' ),
687 array( 'lmtttmpts_hide_banner_on_plugin_page', 'limit-attempts/limit-attempts.php', '1.0.2' ),
688 array( 'sndr_hide_banner_on_plugin_page', 'sender/sender.php', '0.5' ),
689 array( 'srrl_hide_banner_on_plugin_page', 'user-role/user-role.php', '1.4' ),
690 array( 'pdtr_hide_banner_on_plugin_page', 'updater/updater.php', '1.12' ),
691 array( 'cntctfrmtdb_hide_banner_on_plugin_page', 'contact-form-to-db/contact_form_to_db.php', '1.2' ),
692 array( 'cntctfrmmlt_hide_banner_on_plugin_page', 'contact-form-multi/contact-form-multi.php', '1.0.7' ),
693 array( 'gglmps_hide_banner_on_plugin_page', 'bws-google-maps/bws-google-maps.php', '1.2' ),
694 array( 'fcbkbttn_hide_banner_on_plugin_page', 'facebook-button-plugin/facebook-button-plugin.php', '2.29' ),
695 array( 'twttr_hide_banner_on_plugin_page', 'twitter-plugin/twitter.php', '2.34' ),
696 array( 'pdfprnt_hide_banner_on_plugin_page', 'pdf-print/pdf-print.php', '1.7.1' ),
697 array( 'gglstmp_hide_banner_on_plugin_page', 'google-sitemap-plugin/google-sitemap-plugin.php', '2.8.4' ),
698 array( 'cntctfrmpr_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-pro/contact_form_pro.php', '1.14' ),
699 array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
700 array( 'cptch_hide_banner_on_plugin_page', 'captcha-bws/captcha-bws.php', '3.8.4' ),
701 array( 'gllr_hide_banner_on_plugin_page', 'gallery-plugin/gallery-plugin.php', '3.9.1' ),
702 array( 'cntctfrm_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.62' ),
703 array( 'bwscrrntl_hide_banner_on_plugin_page', 'bws-car-rental/bws-car-rental.php', '0.0.1' ),
704 array( 'rtng_hide_banner_on_plugin_page', 'rating-bws/rating-bws.php', '1.0.0' ),
705 array( 'prflxtrflds_hide_banner_on_plugin_page', 'profile-extra-fields/profile-extra-fields.php', '1.1.3' ),
706 array( 'psttcsv_hide_banner_on_plugin_page', 'post-to-csv/post-to-csv.php', '1.3.4' ),
707 array( 'cstmdmnpg_hide_banner_on_plugin_page', 'custom-admin-page/custom-admin-page.php', '1.0.0' )
708 );
709 }
710 }
711