PluginProbe
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin / 1.8.3
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin v1.8.3
trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 All 71 releases
pdf-print / bws_menu / bws_menu.php

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

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