PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 3.7.9
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v3.7.9
8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 8.5.0 8.4.9 All 531 releases
chatbot / admin_ui.php

admin_ui.php in WPBot – AI ChatBot for Live Support, Lead Generation, AI Services 3.7.9, at admin_ui.php

1,814 lines 141.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7 ?>
8 <div class="wrap">
9 <h1 style="display:none"><?php esc_html_e('WPBot', 'wpchatbot'); ?> </h1>
10 </div>
11 <div class="wp-chatbot-wrap">
12 <div class="icon32"><br></div>
13 <form action="<?php echo esc_attr($action); ?>" method="POST" id="wp-chatbot-admin-form"
14 enctype="multipart/form-data">
15 <div class="container form-container">
16 <header class="wp-chatbot-admin-header">
17 <div class="row">
18 <div class="col-sm-6">
19 <h2><?php echo __('WPBot Control Panel', 'wpchatbot'); ?><?php echo get_option('wp_chatbot_index_meta'); ?></h2>
20 </div>
21 <div class="col-sm-6 text-right wp-chatbot-version">
22 <h3><?php esc_html_e('The Lite Version', 'wpchatbot'); ?></h3>
23 <p><a target="_blank" href="https://www.quantumcloud.com/"><?php esc_html_e('WPBot is a project by Web Design Company QuantumCloud', 'wpchatbot'); ?></a></p>
24 <p><a style="color: #b2ff20;" href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">Upgrade To Pro</a></p>
25 </div>
26 </div>
27 </header>
28 <section class="wp-chatbot-tab-container-inner">
29 <div class="wp-chatbot-tabs wp-chatbot-tabs-style-flip">
30 <nav>
31 <ul>
32 <li tab-data="general"><a href="<?php echo esc_attr($action); ?>&tab=general">
33 <span class="wpwbot-admin-tab-icon">
34 <i class="fa fa-toggle-on"> </i>
35 </span>
36 <span class="wpwbot-admin-tab-name"> <?php esc_html_e('GENERAL SETTINGS', 'wpchatbot'); ?></span>
37 </a></li>
38 <li tab-data="themes"><a href="<?php echo esc_attr($action); ?>&tab=themes">
39 <span class="wpwbot-admin-tab-icon">
40 <i class="fa fa-gear faa-spin"></i>
41 </span>
42 <span class="wpwbot-admin-tab-name"> <?php esc_html_e('ICONS & THEMES', 'wpchatbot'); ?></span>
43 </a></li>
44 <li tab-data="support"><a href="<?php echo esc_attr($action); ?>&tab=support">
45 <span class="wpwbot-admin-tab-icon">
46 <i class="fa fa-life-ring"></i>
47 </span>
48 <span class="wpwbot-admin-tab-name"> <?php esc_html_e('FAQ Builder', 'wpchatbot'); ?></span>
49 </a></li>
50 <!--<li tab-data="notification"><a href="<?php echo esc_attr($action); ?>&tab=notification">
51 <span class="wpwbot-admin-tab-icon">
52 <i class="fa fa-bell-o"></i>
53 </span>
54 <span class="wpwbot-admin-tab-name"><?php esc_html_e('Notification Builder', 'wpchatbot'); ?></span>
55 </a></li>-->
56 <li tab-data="language"><a href="<?php echo esc_attr($action); ?>&tab=language">
57 <span class="wpwbot-admin-tab-icon">
58 <i class="fa fa-language"></i>
59 </span>
60 <span class="wpwbot-admin-tab-name"><?php esc_html_e('LANGUAGE CENTER', 'wpchatbot'); ?></span>
61 </a></li>
62
63 <li tab-data="startmenu"><a href="<?php echo esc_attr($action); ?>&tab=startmenu">
64 <span class="wpwbot-admin-tab-icon">
65 <i class="fa fa-bars"></i>
66 </span>
67 <span class="wpwbot-admin-tab-name"><?php echo esc_html__('Start Menu', 'wpchatbot'); ?></span>
68 </a></li>
69
70 <!--<li tab-data="hours"><a href="<?php echo esc_attr($action); ?>&tab=hours">
71 <span class="wpwbot-admin-tab-icon">
72 <i class="fa fa-calendar"></i>
73 </span>
74 <span class="wpwbot-admin-tab-name"><?php esc_html_e('Bot Activity Hour', 'wpchatbot'); ?></span>
75 </a></li>-->
76 <li tab-data="ai"><a href="<?php echo esc_attr($action); ?>&tab=ai">
77 <span class="wpwbot-admin-tab-icon">
78 <i class="fa fa-500px"></i>
79 </span>
80 <span class="wpwbot-admin-tab-name"><?php esc_html_e('Dialogflow', 'wpchatbot'); ?></span>
81 </a></li>
82 <!--<li tab-data="app"><a href="<?php echo esc_attr($action); ?>&tab=app">
83 <span class="wpwbot-admin-tab-icon">
84 <i class="fa fa-mobile"></i>
85 </span>
86 <span class="wpwbot-admin-tab-name"><?php esc_html_e('MOBILE APP', 'wpchatbot'); ?></span>
87 </a></li>
88 <li tab-data="custom"><a href="<?php echo esc_attr($action); ?>&tab=custom">
89 <span class="wpwbot-admin-tab-icon">
90 <i class="fa fa-code"></i>
91 </span>
92 <span class="wpwbot-admin-tab-name"><?php esc_html_e('Custom CSS', 'wpchatbot'); ?> </span>
93 </a></li>-->
94 <li tab-data="addons"><a href="<?php echo esc_attr($action); ?>&tab=addons">
95 <span class="wpwbot-admin-tab-icon">
96 <i class="fa fa-puzzle-piece" aria-hidden="true"></i>
97 </span>
98 <span class="wpwbot-admin-tab-name"><?php echo esc_html__('Addons', 'wpchatbot'); ?> </span>
99 </a></li>
100 </ul>
101 <a class="wpbot_free_messenger_adds" href="https://wordpress.org/plugins/conversational-forms/" target="_blank">Try our new Conversational Form Addon for WPBot</a>
102
103 <a class="wpbot_free_messenger_adds" href="https://wordpress.org/plugins/chatbot-for-messenger/" target="_blank">Try our new ChatBot for Messenger WPBot addon free</a>
104 </nav>
105 <div class="content-wrap">
106 <section id="section-flip-1">
107 <div class="top-section">
108 <div class="row">
109 <div class="col-xs-12">
110 <b><p>
111 The ChatBot can work with ANY language. Just change the language texts from the ChatBot Settings->Language Center to your preferred one. Multi language is supported with the <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">WpBot Pro version</a> and an addon.
112 </p></b>
113 <b><p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p></b>
114
115 <div class="cxsc-settings-blocks">
116 <div class="form-group">
117 <?php
118 $url = get_site_url();
119 $url = parse_url($url);
120 $domain = $url['host'];
121
122 $admin_email = get_option('admin_email');
123 ?>
124 <h4 class="qc-opt-title"><?php echo esc_html__('Emails Will be Sent to', 'wpchatbot'); ?></h4>
125 <input type="text" class="form-control qc-opt-dcs-font"
126 name="qlcd_wp_chatbot_admin_email"
127 value="<?php echo(get_option('qlcd_wp_chatbot_admin_email') != '' ? get_option('qlcd_wp_chatbot_admin_email') : $admin_email); ?>">
128 <label for="disable_wp_chatbot"><?php echo esc_html__('Support and Call Back requests will be sent to this address', 'wpchatbot'); ?> </label>
129 </div>
130 </div>
131
132
133
134 <div class="cxsc-settings-blocks">
135 <div class="form-group">
136 <?php
137
138 $url = get_site_url();
139 $url = parse_url($url);
140 $domain = $url['host'];
141
142 $fromEmail = "wordpress@" . $domain;
143
144 ?>
145 <h4 class="qc-opt-title"><?php echo esc_html__('From Email Address', 'wpchatbot'); ?></h4>
146 <input type="text" class="form-control qc-opt-dcs-font"
147 name="qlcd_wp_chatbot_from_email"
148 value="<?php echo(get_option('qlcd_wp_chatbot_from_email') != '' ? get_option('qlcd_wp_chatbot_from_email') : $fromEmail); ?>">
149 <label for="qlcd_wp_chatbot_from_email"><?php echo esc_html__('All email will be send from this email address. If you change the From Email Address then please make sure the domain remain same otherwise the email would not send.', 'wpchatbot'); ?> </label>
150 </div>
151 </div>
152
153 </div>
154 </div>
155
156 <div class="row">
157 <div class="col-xs-12">
158 <h4 class="qc-opt-title"> <?php esc_html_e('Disable WPBot', 'wpchatbot'); ?> </h4>
159 <div class="cxsc-settings-blocks">
160 <input value="1" id="disable_wp_chatbot" type="checkbox"
161 name="disable_wp_chatbot" <?php echo(get_option('disable_wp_chatbot') == 1 ? 'checked' : ''); ?>>
162 <label for="disable_wp_chatbot"><?php esc_html_e('Disable WPBot to Load', 'wpchatbot'); ?> </label>
163 </div>
164 </div>
165 </div>
166 <div class="row">
167 <div class="col-xs-12">
168 <h4 class="qc-opt-title"> <?php esc_html_e('Disable WPbot on Mobile Device', 'wpchatbot'); ?> </h4>
169 <div class="cxsc-settings-blocks">
170 <input value="1" id="disable_wp_chatbot_on_mobile" type="checkbox"
171 name="disable_wp_chatbot_on_mobile" <?php echo(get_option('disable_wp_chatbot_on_mobile') == 1 ? 'checked' : ''); ?>>
172 <label for="disable_wp_chatbot_on_mobile"><?php esc_html_e('Disable WpBot to Load on Mobile Device', 'wpchatbot'); ?> </label>
173 </div>
174 </div>
175 </div>
176 <!--<div class="row">
177 <div class="col-xs-12">
178 <h4 class="qc-opt-title"> <?php esc_html_e('Sound on Page Load', 'wpchatbot'); ?> </h4>
179 <div class="form-group">
180 <input value="1" id="enable_wp_chatbot_sound_initial" type="checkbox"
181 name="enable_wp_chatbot_sound_initial" <?php echo(get_option('enable_wp_chatbot_sound_initial') == 1 ? 'checked' : ''); ?>>
182 <label for="enable_wp_chatbot_sound_initial"><?php esc_html_e('Enable to play sound on initial page load', 'wpchatbot'); ?> </label>
183 </div>
184 </div>
185 </div>-->
186
187 <!-- row-->
188 <!--<div class="row">
189 <div class="col-xs-12">
190 <h4 class="qc-opt-title"> <?php esc_html_e('Disable WpBot Icon Animation', 'wpchatbot'); ?> </h4>
191 <div class="cxsc-settings-blocks">
192 <input value="1" id="disable_wp_chatbot_icon_animation" type="checkbox"
193 name="disable_wp_chatbot_icon_animation" <?php echo(get_option('disable_wp_chatbot_icon_animation') == 1 ? 'checked' : ''); ?>>
194 <label for="disable_wp_chatbot_icon_animation"><?php esc_html_e('Disable WpBot icon border animation', 'wpchatbot'); ?> </label>
195 </div>
196 </div>
197 </div>-->
198
199
200
201 <!--<div class="row">
202 <div class="col-xs-12">
203 <h4 class="qc-opt-title"><?php esc_html_e('Disable WpBot Opening Notification', 'wpchatbot'); ?> </h4>
204 <div class="cxsc-settings-blocks">
205 <input value="1" id="disable_wp_chatbot_notification" type="checkbox"
206 name="disable_wp_chatbot_notification" <?php echo(get_option('disable_wp_chatbot_notification') == 1 ? 'checked' : ''); ?>>
207 <label for="disable_wp_chatbot_notification"><?php esc_html_e('Disable WpBot Opening notification messages', 'wpchatbot'); ?> </label>
208 </div>
209 </div>
210 </div>-->
211 <div class="row">
212 <div class="col-xs-12">
213 <h4 class="qc-opt-title"><?php esc_html_e('Enable RTL', 'wpchatbot'); ?> </h4>
214 <div class="cxsc-settings-blocks">
215 <input value="1" id="enable_wp_chatbot_rtl" type="checkbox"
216 name="enable_wp_chatbot_rtl" <?php echo(get_option('enable_wp_chatbot_rtl') == 1 ? 'checked' : ''); ?>>
217 <label for="enable_wp_chatbot_rtl"><?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'wpchatbot'); ?> </label>
218 </div>
219 </div>
220 </div>
221
222 <div class="row">
223 <div class="col-xs-12">
224 <h4 class="qc-opt-title"> <?php echo esc_html__('Show Start Menu After Greetings', 'wpchatbot'); ?> </h4>
225 <div class="cxsc-settings-blocks">
226 <input value="1" id="show_menu_after_greetings" type="checkbox"
227 name="show_menu_after_greetings" <?php echo(get_option('show_menu_after_greetings') == 1 ? 'checked' : ''); ?>>
228 <label for="show_menu_after_greetings"><?php echo esc_html__('Show Start Menu After Greetings', 'wpchatbot'); ?> </label>
229 </div>
230 </div>
231 </div>
232
233 <!--<div class="row">
234 <div class="col-xs-12">
235 <h4 class="qc-opt-title"><?php esc_html_e('Disable Call Me', 'wpchatbot'); ?> </h4>
236 <div class="cxsc-settings-blocks">
237 <input value="1" id="disable_wp_chatbot_call_sup" type="checkbox"
238 name="disable_wp_chatbot_call_sup" <?php echo(get_option('disable_wp_chatbot_call_sup') == 1 ? 'checked' : ''); ?>>
239 <label for="disable_wp_chatbot_call_sup"><?php esc_html_e('Disable Call Me button', 'wpchatbot'); ?> </label>
240 </div>
241 </div>
242 </div>-->
243
244 <!-- row-->
245 <div class="row">
246 <div class="col-xs-12">
247 <h4 class="qc-opt-title"><?php esc_html_e('WPBot Open Full Screen in Mobile', 'wpchatbot'); ?> </h4>
248 <div class="cxsc-settings-blocks">
249 <input value="1" id="enable_wp_chatbot_mobile_full_screen" type="checkbox"
250 name="enable_wp_chatbot_mobile_full_screen" <?php echo(get_option('enable_wp_chatbot_mobile_full_screen') == 1 ? 'checked' : ''); ?>>
251 <label for="enable_wp_chatbot_mobile_full_screen"><?php esc_html_e('Enable WpBot Open Full Screen in Mobile', 'wpchatbot'); ?> </label>
252 </div>
253 </div>
254 </div>
255
256 <div class="row">
257 <div class="col-xs-12">
258 <h4 class="qc-opt-title"><?php echo esc_html__('Bot Response Delay', 'wpchatbot'); ?> </h4>
259 <div class="cxsc-settings-blocks">
260
261
262
263 <select name="wpbot_preloading_time" id="wpbot_preloading_time">
264 <option value="100" <?php echo(get_option('wpbot_preloading_time') == '100' ? 'selected="selected"' : ''); ?>>0 Second</option>
265 <option value="500" <?php echo(get_option('wpbot_preloading_time') == '500' ? 'selected="selected"' : ''); ?>>0.5 Second</option>
266 <option value="1000" <?php echo(get_option('wpbot_preloading_time') == '1000' ? 'selected="selected"' : ''); ?>>1 Second</option>
267 <option value="2000" <?php echo(get_option('wpbot_preloading_time') == '2000' ? 'selected="selected"' : ''); ?>>2 Second</option>
268 <option value="3000" <?php echo(get_option('wpbot_preloading_time') == '3000' ? 'selected="selected"' : ''); ?>>3 Second</option>
269 </select>
270 <label for="wpbot_preloading_time"><?php echo esc_html__('Bot Response Delay', 'wpchatbot'); ?> </label>
271
272 </div>
273 </div>
274 </div>
275
276 <div class="row">
277 <div class="col-xs-12">
278 <h4 class="qc-opt-title"><?php esc_html_e('Override WPBot Icon\'s Position', 'wpchatbot'); ?> </h4>
279 <div class="cxsc-settings-blocks">
280 <?php
281 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
282 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
283 $qcld_wb_chatbot_position_x = __("120", "wp_chatbot");
284 }
285 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
286 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
287 $qcld_wb_chatbot_position_y = __("120", "wp_chatbot");
288 } ?>
289 <input type="number" class="qc-opt-dcs-font"
290 name="wp_chatbot_position_x"
291 id=""
292 value="<?php echo($qcld_wb_chatbot_position_x); ?>"
293 placeholder="<?php esc_html_e('From Right In px', 'wpchatbot'); ?>"> <span class="qc-opt-dcs-font"><?php esc_html_e('From Right In px', 'wpchatbot'); ?></span>
294 <input type="number" class="qc-opt-dcs-font"
295 name="wp_chatbot_position_y"
296 id=""
297 value="<?php echo($qcld_wb_chatbot_position_y); ?>"
298 placeholder="<?php esc_html_e('From Bottom In Px', 'wpchatbot'); ?>"> <span class="qc-opt-dcs-font"><?php esc_html_e('From Bottom In px', 'wpchatbot'); ?></span>
299 </div>
300 </div>
301 <!--.col-sm-12-->
302 </div>
303 <!-- row-->
304
305 <div class="row">
306 <div class="col-xs-12">
307 <h4 class="qc-opt-title"><strong> <?php esc_html_e('WPBot', 'wpchatbot'); ?></strong> <?php esc_html_e('Loading Control Options', 'wpchatbot'); ?> </h4>
308 <div class="cxsc-settings-blocks">
309 <div class="row">
310 <div class="col-sm-4 text-right">
311 <span class="qc-opt-title-font"><?php esc_html_e('Show on Home Page', 'wpchatbot'); ?></span>
312 </div>
313 <div class="col-sm-8">
314 <label class="radio-inline">
315 <input id="wp-chatbot-show-home-page" type="radio"
316 name="wp_chatbot_show_home_page"
317 value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? 'checked' : ''); ?>>
318 <?php esc_html_e('YES', 'wpchatbot'); ?>
319 </label>
320 <label class="radio-inline">
321 <input id="wp-chatbot-show-home-page" type="radio"
322 name="wp_chatbot_show_home_page"
323 value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? 'checked' : ''); ?>>
324 <?php esc_html_e('NO', 'wpchatbot'); ?>
325 </label>
326 </div>
327 </div>
328 <!-- row-->
329 <div class="row">
330 <div class="col-sm-4 text-right">
331 <span class="qc-opt-title-font"><?php esc_html_e('Show on blog posts', 'wpchatbot'); ?></span>
332 </div>
333 <div class="col-sm-8">
334 <label class="radio-inline">
335 <input class="wp-chatbot-show-posts" type="radio"
336 name="wp_chatbot_show_posts"
337 value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? 'checked' : ''); ?>>
338 <?php esc_html_e('YES', 'wpchatbot'); ?>
339 </label>
340 <label class="radio-inline">
341 <input class="wp-chatbot-show-posts" type="radio"
342 name="wp_chatbot_show_posts"
343 value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? 'checked' : ''); ?>>
344 <?php esc_html_e('NO', 'wpchatbot'); ?>
345 </label>
346 </div>
347 </div>
348 <!-- row-->
349 <div class="row">
350 <div class="col-md-4 text-right">
351 <span class="qc-opt-title-font"><?php esc_html_e('Show on pages', 'wpchatbot'); ?></span>
352 </div>
353 <div class="col-md-8">
354 <label class="radio-inline">
355 <input class="wp-chatbot-show-pages" type="radio"
356 name="wp_chatbot_show_pages"
357 value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? 'checked' : ''); ?>>
358 <?php esc_html_e('All Pages', 'wpchatbot'); ?>
359 </label>
360 <label class="radio-inline">
361 <input class="wp-chatbot-show-pages" type="radio"
362 name="wp_chatbot_show_pages"
363 value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? 'checked' : ''); ?>>
364 <?php esc_html_e('Selected Pages Only ', 'wpchatbot'); ?></label>
365 <div id="wp-chatbot-show-pages-list">
366 <ul class="checkbox-list">
367 <?php
368 $wp_chatbot_pages = get_pages();
369 $wp_chatbot_select_pages = unserialize(get_option('wp_chatbot_show_pages_list'));
370 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
371 ?>
372 <li>
373 <input
374 id="wp_chatbot_show_page_<?php echo $wp_chatbot_page->ID; ?>"
375 type="checkbox"
376 name="wp_chatbot_show_pages_list[]"
377 value="<?php echo $wp_chatbot_page->ID; ?>" <?php if (!empty($wp_chatbot_select_pages) && in_array($wp_chatbot_page->ID, $wp_chatbot_select_pages) == true) {
378 echo 'checked';
379 } ?> >
380 <label
381 for="wp_chatbot_show_page_<?php echo $wp_chatbot_page->ID; ?>"> <?php echo $wp_chatbot_page->post_title; ?></label>
382 </li>
383 <?php } ?>
384 </ul>
385 </div>
386 </div>
387 </div>
388
389 </div>
390 <!-- cxsc-settings-blocks-->
391 </div>
392 <!-- col-xs-12-->
393 </div>
394 <!-- row-->
395
396 </div>
397 <!-- top-section-->
398 </section>
399 <section id="section-flip-2">
400 <div class="top-section">
401
402 <div class="row">
403 <div class="col-xs-12">
404
405 <div class="row">
406 <div class="col-xs-12">
407 <p class="wpqcld_chk_seft">
408 <a target="_blank" href="https://www.quantumcloud.com/products/themes/chatbot-theme/"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL ?>/chatbot-theme.jpg" alt="" /></a>
409 </p>
410 </div>
411 </div>
412
413 <h4 class="qc-opt-title"><?php esc_html_e('WPBot Icon', 'wpchatbot'); ?></h4>
414 <div class="cxsc-settings-blocks">
415 <ul class="radio-list">
416 <!--<li><label for="wp_chatbot_icon_0" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-0.png"
417 alt=""> <input id="wp_chatbot_icon_0" type="radio"
418 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? 'checked' : ''); ?>
419 value="icon-0.png">
420 <?php esc_html_e('Icon - 0', 'wpchatbot'); ?></label>
421 </li>
422 <li><label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-1.png"
423 alt=""> <input id="wp_chatbot_icon_1" type="radio"
424 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? 'checked' : ''); ?>
425 value="icon-1.png">
426 <?php esc_html_e('Icon - 1', 'wpchatbot'); ?></label>
427 </li>-->
428 <li><label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-2.png"
429 alt=""> <input id="wp_chatbot_icon_2" type="radio"
430 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? 'checked' : ''); ?>
431 value="icon-2.png">
432 <?php esc_html_e('Icon - 2', 'wpchatbot'); ?></label>
433 </li>
434 <li><label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-3.png"
435 alt=""> <input id="wp_chatbot_icon_3" type="radio"
436 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? 'checked' : ''); ?>
437 value="icon-3.png">
438 <?php esc_html_e('Icon - 3', 'wpchatbot'); ?></label>
439 </li>
440 <li><label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-4.png"
441 alt=""> <input id="wp_chatbot_icon_4" type="radio"
442 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? 'checked' : ''); ?>
443 value="icon-4.png">
444 <?php esc_html_e('Icon - 4', 'wpchatbot'); ?></label>
445 </li>
446 <li><label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-5.png"
447 alt=""> <input id="wp_chatbot_icon_5" type="radio"
448 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? 'checked' : ''); ?>
449 value="icon-5.png">
450 <?php esc_html_e('Icon - 5', 'wpchatbot'); ?></label>
451 </li>
452 <li><label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-6.png"
453 alt=""> <input id="wp_chatbot_icon_6" type="radio"
454 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? 'checked' : ''); ?>
455 value="icon-6.png">
456 <?php esc_html_e('Icon - 6', 'wpchatbot'); ?></label>
457 </li>
458 <li><label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-7.png"
459 alt=""> <input id="wp_chatbot_icon_7" type="radio"
460 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? 'checked' : ''); ?>
461 value="icon-7.png">
462 <?php esc_html_e('Icon - 7', 'wpchatbot'); ?></label>
463 </li>
464 <li><label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-8.png"
465 alt=""> <input id="wp_chatbot_icon_8" type="radio"
466 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? 'checked' : ''); ?>
467 value="icon-8.png">
468 <?php esc_html_e('Icon - 8', 'wpchatbot'); ?></label>
469 </li>
470 <li><label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-9.png"
471 alt=""> <input id="wp_chatbot_icon_9" type="radio"
472 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? 'checked' : ''); ?>
473 value="icon-9.png">
474 <?php esc_html_e('Icon - 9', 'wpchatbot'); ?></label>
475 </li>
476 <li><label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-10.png"
477 alt=""> <input id="wp_chatbot_icon_10" type="radio"
478 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? 'checked' : ''); ?>
479 value="icon-10.png">
480 <?php esc_html_e('Icon - 10', 'wpchatbot'); ?></label>
481 </li>
482 <li><label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-11.png"
483 alt=""> <input id="wp_chatbot_icon_11" type="radio"
484 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? 'checked' : ''); ?>
485 value="icon-11.png">
486 <?php esc_html_e('Icon - 11', 'wpchatbot'); ?></label>
487 </li>
488 <li><label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-12.png"
489 alt=""> <input id="wp_chatbot_icon_12" type="radio"
490 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? 'checked' : ''); ?>
491 value="icon-12.png">
492 <?php esc_html_e('Icon - 12', 'wpchatbot'); ?></label>
493 </li>
494 <li><label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-13.png"
495 alt=""> <input id="wp_chatbot_icon_13" type="radio"
496 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? 'checked' : ''); ?>
497 value="icon-13.png">
498 <?php esc_html_e('Icon - 13', 'wpchatbot'); ?></label>
499 </li>
500
501 <li>
502 <?php
503 if (get_option('wp_chatbot_custom_icon_path') != "") {
504 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
505 } else {
506 $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png';
507 }
508 ?>
509 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font">
510 <img id="wp_chatbot_custom_icon_src"
511 src="<?php echo $wp_chatbot_custom_icon_path; ?>" alt="">
512 <input id="wp_chatbot_custom_icon_input" type="radio"
513 name="wp_chatbot_icon"
514 value="custom.png" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? 'checked' : ''); ?>>
515 <?php esc_html_e('Custom Icon', 'wpchatbot'); ?></label>
516 </li>
517
518 </ul>
519 </div>
520 <!-- cxsc-settings-blocks-->
521 <br>
522 <div class="cxsc-settings-blocks">
523 <div class="form-group">
524 <h4 class="qc-opt-title">
525 <?php _e('WPBot Icon Background Color.', 'woochatbot'); ?>
526 </h4>
527 <input id="wp_chatbot_floatingiconbg_color" type="text"
528 name="wp_chatbot_floatingiconbg_color"
529 value="<?php echo(get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color') : '#fff'); ?>"/>
530 </div>
531 </div>
532 </div>
533 </div>
534 <div class="row">
535 <div class="col-xs-12">
536 <h4 class="qc-opt-title"><?php esc_html_e(' Upload custom Icon ', 'wpchatbot'); ?></h4>
537 <div class="cxsc-settings-blocks">
538 <input type="hidden" name="wp_chatbot_custom_icon_path"
539 id="wp_chatbot_custom_icon_path"
540 value="<?php echo $wp_chatbot_custom_icon_path; ?>"/>
541 <button type="button" class="wp_chatbot_custom_icon_button button"><?php esc_html_e('Upload Icon', 'wpchatbot'); ?> </button>
542 </div>
543
544 </div>
545 </div>
546 </div>
547
548 <div class="top-section">
549 <div class="row">
550 <div class="col-xs-12">
551 <h4 class="qc-opt-title"><?php esc_html_e(' WPBot Agent Image', 'wpchatbot'); ?></h4>
552 <div class="cxsc-settings-blocks">
553 <ul class="radio-list">
554 <li>
555 <label for="wp_chatbot_agent_image_def" class="qc-opt-dcs-font">
556 <img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>icon-0.png"
557 alt=""> <input id="wp_chatbot_agent_image_def" type="radio"
558 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? 'checked' : ''); ?>
559 value="agent-0.png">
560
561 <?php esc_html_e('Default Agent', 'wpchatbot'); ?></label>
562 </li>
563 <li>
564 <?php
565 if (get_option('wp_chatbot_custom_agent_path') != "") {
566 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
567 } else {
568 $wp_chatbot_custom_agent_path = QCLD_wpCHATBOT_IMG_URL . 'custom-agent.png';
569 }
570 ?>
571 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font">
572 <img id="wp_chatbot_custom_agent_src"
573 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
574 alt="Agent">
575 <input type="radio" name="wp_chatbot_agent_image"
576 id="wp_chatbot_agent_image_custom"
577 value="custom-agent.png" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? 'checked' : ''); ?>>
578 <?php echo esc_html__('Custom Agent', 'wpchatbot'); ?></label>
579 </li>
580
581 </ul>
582 </div>
583 <!-- cxsc-settings-blocks-->
584 </div>
585 </div>
586 <div class="row">
587 <div class="col-xs-12">
588 <h4 class="qc-opt-title"> <?php esc_html_e('Custom Agent Icon', 'wpchatbot'); ?> </h4>
589 <div class="cxsc-settings-blocks">
590 <input type="hidden" name="wp_chatbot_custom_agent_path"
591 id="wp_chatbot_custom_agent_path"
592 value="<?php echo $wp_chatbot_custom_agent_path; ?>"/>
593 <button type="button" class="wp_chatbot_custom_agent_button button"><?php esc_html_e('Upload Agent Icon', 'wpchatbot'); ?></button>
594 </div>
595 </div>
596 </div>
597 </div>
598 <div id="top-section">
599 <div class="row">
600 <div class="col-sm-12">
601 <h4 class="qc-opt-title"> <?php esc_html_e('WPBot Themes', 'wpchatbot'); ?></h4>
602 </div>
603 </div>
604 <div class="row">
605 <div class="col-sm-3">
606 <label for="qcld_wb_chatbot_theme_0">
607 <img class="thumbnail theme_prev"
608 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-00.JPG"
609 alt="Theme Basic">
610 <input id="qcld_wb_chatbot_theme_0" type="radio"
611 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? 'checked' : ''); ?>
612 value="template-00">
613 <?php esc_html_e('Theme Basic', 'wpchatbot'); ?></label>
614 </div>
615 <div class="col-sm-3">
616 <label for="qcld_wb_chatbot_theme_1">
617 <img class="thumbnail theme_prev"
618 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-01.JPG"
619 alt="Theme Basic">
620 <input id="qcld_wb_chatbot_theme_1" type="radio"
621 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? 'checked' : ''); ?>
622 value="template-01">
623 <?php esc_html_e('Theme One', 'wpchatbot'); ?></label>
624 </div>
625
626
627
628 </div>
629
630 </div>
631 <!--<hr>
632 <div id="top-section">
633 <div class="row">
634 <div class="col-sm-12">
635 <h4 class="qc-opt-title"> <?php esc_html_e('Custom Backgroud', 'wpchatbot'); ?></h4>
636 <div class="cxsc-settings-blocks">
637 <input value="1" id="qcld_wb_chatbot_change_bg" type="checkbox"
638 name="qcld_wb_chatbot_change_bg" <?php echo(get_option('qcld_wb_chatbot_change_bg') == 1 ? 'checked' : ''); ?>>
639 <label for="qcld_wb_chatbot_change_bg"><?php esc_html_e('Change the wpwBot message board background for Theme 2 and Theme 3.', 'wpchatbot'); ?> </label>
640 </div>
641 </div>
642 </div>
643 <div class="row qcld-wp-chatbot-board-bg-container" <?php if (get_option('qcld_wb_chatbot_change_bg') != 1) {
644 echo 'style="display:none"';
645 } ?>>
646 <div class="col-xs-6">
647 <p class="wp-chatbot-settings-instruction"> <?php esc_html_e('Upload wpwBot message board background (Ideal image size 376px X 688px).', 'wpchatbot'); ?> </p>
648 <div class="cxsc-settings-blocks">
649 <?php
650 if (get_option('qcld_wb_chatbot_board_bg_path') != "") {
651 $qcld_wb_chatbot_board_bg_path = get_option('qcld_wb_chatbot_board_bg_path');
652 } else {
653 $qcld_wb_chatbot_board_bg_path = QCLD_wpCHATBOT_IMG_URL . 'background/background.png';
654 }
655 ?>
656 <input type="hidden" name="qcld_wb_chatbot_board_bg_path"
657 id="qcld_wb_chatbot_board_bg_path"
658 value="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"/>
659 <button type="button" class="qcld_wb_chatbot_board_bg_button button"><?php esc_html_e('Upload WpBot background.', 'wpchatbot'); ?></button>
660 </div>
661 </div>
662
663 <div class="col-xs-6">
664 <p class="wp-chatbot-settings-instruction"> <?php esc_html_e('Custom message board background', 'wpchatbot'); ?> </p>
665 <img id="qcld_wb_chatbot_board_bg_image" style="height:100%;width:100%"
666 src="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"
667 alt="Custom Background">
668 </div>
669 </div>
670 </div>-->
671 </section>
672 <section id="section-flip-3">
673 <div class="row">
674 <div class="col-xs-12">
675
676
677
678 </div>
679 </div>
680 <div class="top-section">
681 <h4 class="qc-opt-title"><?php esc_html_e('Build FAQ Query and Answers', 'wpchatbot'); ?></h4>
682 <div class="block-inner ui-sortable" id="wp-chatbot-support-builder">
683 <?php
684 $support_quereis=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_query')));
685 $support_ans=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_ans')));
686 if (count($support_ans) >= 1) {
687 //foreach (get_option('support_ans') as $support_ans){
688 $query_ans_counter=0;
689 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
690 ?>
691 <div class="row">
692 <span class="pull-right"> </span>
693 <div class="col-xs-12">
694 <button type="button"
695 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
696 <i class="fa fa-times" aria-hidden="true"></i>
697 </button>
698 <span class="wp-chatbot-support-cross pull-right" >
699 <i class="fa fa-crosshairs" aria-hidden="true"></i>
700 </span>
701 <div class="cxsc-settings-blocks">
702 <p class="qc-opt-dcs-font"><?php esc_html_e('FAQ query ', 'wpchatbot'); ?></p>
703 <input type="text" class="form-control" name="support_query[]"
704 placeholder="<?php esc_html_e('FAQ query ', 'wpchatbot'); ?>" value="<?php echo $query ?>">
705 <br>
706 <p class="qc-opt-dcs-font"><?php esc_html_e('FAQ answer', 'wpchatbot'); ?></p>
707 <?php wp_editor(html_entity_decode(stripcslashes($ans)), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
708 'support_ans[]',
709 'textarea_rows' => 20,
710 'editor_height' => 100,
711 'disabled' => 'disabled',
712 'media_buttons' => false,
713 'tinymce' => array(
714 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
715 )); ?>
716 </div>
717 </div>
718 </div>
719 <?php
720 $query_ans_counter++;
721 }
722 //}
723 } else {
724 ?>
725 <div class="row">
726 <div class="col-xs-12">
727 <button type="button"
728 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
729 <i class="fa fa-times" aria-hidden="true"></i>
730 </button>
731 <span class="wp-chatbot-support-cross pull-right" >
732 <i class="fa fa-crosshairs" aria-hidden="true"></i>
733 </span>
734 <div class="cxsc-settings-blocks">
735 <p class="qc-opt-dcs-font"><?php esc_html_e('Support query', 'wpchatbot'); ?> </p>
736 <input type="text" class="form-control" name="support_query[]"
737 placeholder="<?php esc_html_e('Support query ', 'wpchatbot'); ?>">
738 <br>
739 <p class="qc-opt-dcs-font"><strong><?php esc_html_e('Support answer', 'wpchatbot'); ?></strong></p>
740 <?php wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
741 'support_ans[]',
742 'textarea_rows' => 20,
743 'editor_height' => 100,
744 'disabled' => 'disabled',
745 'media_buttons' => false,
746 'tinymce' => array(
747 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
748 )); ?>
749 </div>
750 <br>
751 </div>
752 </div>
753 <?php
754 }
755 ?>
756 </div>
757 <div class="row">
758 <div class="col-sm-6 text-left"></div>
759 <div class="col-sm-6 text-right">
760 <button class="btn btn-success btn-sm" type="button"
761 id="add-more-support-query"><i
762 class="fa fa-plus" aria-hidden="true"></i> <?php esc_html_e('Add More Questions and Answers', 'wpchatbot'); ?>
763 </button>
764 </div>
765 </div>
766 </div>
767 </section>
768 <!--<section id="section-flip-4">
769 <div class="top-section">
770 <div class="notification-block-inner">
771 <div class="row">
772 <div class="col-xs-12">
773 <div class="cxsc-settings-blocks">
774 <?php $notification_interval = get_option('qlcd_wp_chatbot_notification_interval') != "" ? get_option('qlcd_wp_chatbot_notification_interval') : 5 ?>
775 <h4 class="qc-opt-title"><?php esc_html_e('Interval between notifications (in Seconds).', 'wpchatbot'); ?></h4>
776 <input type="text" class="form-control"
777 name="qlcd_wp_chatbot_notification_interval"
778 value="<?php echo $notification_interval ?>">
779 </div>
780 </div>
781 </div>
782
783 <?php
784 $notifications = $this->qcld_wb_chatbot_str_replace(unserialize(get_option('qlcd_wp_chatbot_notifications')));
785 if (!empty($notifications)) {
786 $chatbot_notif_counter=0;
787 foreach ($notifications as $notification) {
788 ?>
789 <div class="row">
790 <div class="col-xs-12">
791 <button type="button"
792 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
793 <i class="fa fa-times" aria-hidden="true"></i>
794 </button>
795 <div class="cxsc-settings-blocks">
796 <?php wp_editor(html_entity_decode(stripcslashes($notification)), 'qlcd_wp_chatbot_notifications_'.$chatbot_notif_counter, array('textarea_name' =>
797 'qlcd_wp_chatbot_notifications[]',
798 'textarea_rows' => 20,
799 'editor_height' => 100,
800 'disabled' => 'disabled',
801 'media_buttons' => false,
802 'tinymce' => array(
803 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
804 )); ?>
805 </div>
806 </div>
807
808 </div>
809
810 <?php
811 $chatbot_notif_counter++;
812 }
813 //}
814 } else {
815 ?>
816 <div class="row">
817 <div class="col-xs-12">
818 <button type="button"
819 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
820 <i class="fa fa-times" aria-hidden="true"></i>
821 </button>
822 <div class="cxsc-settings-blocks">
823 <?php wp_editor(html_entity_decode(stripcslashes('')), 'qlcd_wp_chatbot_notifications_0', array('textarea_name' =>
824 'qlcd_wp_chatbot_notifications[]',
825 'textarea_rows' => 20,
826 'editor_height' => 100,
827 'disabled' => 'disabled',
828 'media_buttons' => false,
829 'tinymce' => array(
830 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
831 )); ?>
832 </div>
833 </div>
834 </div>
835 <?php
836 }
837 ?>
838 </div>
839 <div class="row">
840 <div class="col-sm-6 text-left"></div>
841 <div class="col-sm-6 text-right">
842 <button class="btn btn-success btn-sm" type="button"
843 id="add-more-notification-message">
844 <i class="fa fa-plus" aria-hidden="true"></i> <?php esc_html_e('Add', 'wpchatbot'); ?>
845 </button>
846 </div>
847 </div>
848
849 </div>
850
851 </section>-->
852 <section id="section-flip-4">
853 <div class="wp-chatbot-language-center-summmery">
854
855 </div>
856 <ul class="nav nav-tabs">
857 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general"><?php esc_html_e('General', 'wpchatbot'); ?></a></li>
858
859 <li><a data-toggle="tab" href="#wp-chatbot-lng-support"><?php esc_html_e('FAQ', 'wpchatbot'); ?></a></li>
860
861 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword"><?php esc_html_e('ChatBot Keywords', 'wpchatbot'); ?></a></li>
862 </ul>
863 <div class="tab-content">
864 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
865 <div class="top-section">
866 <div class="row">
867 <div class="col-xs-12" id="wp-chatbot-language-section">
868
869 <p>After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).</p>
870 <p>You could use &lt;br&gt; tag for line break.</p>
871
872 <div class="form-group">
873 <h4 class="qc-opt-title"><?php esc_html_e('Your Company or Website Name', 'wpchatbot'); ?></h4>
874 <input type="text" class="form-control qc-opt-dcs-font"
875 name="qlcd_wp_chatbot_host"
876 value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?>">
877 </div>
878 <div class="form-group">
879 <h4 class="qc-opt-title"><?php esc_html_e('Agent name', 'wpchatbot'); ?></h4>
880 <input type="text" class="form-control qc-opt-dcs-font"
881 name="qlcd_wp_chatbot_agent"
882 value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>">
883 </div>
884 <div class="form-group">
885 <h4 class="qc-opt-title"><?php esc_html_e('User demo name', 'wpchatbot'); ?></h4>
886 <input type="text" class="form-control qc-opt-dcs-font"
887 name="qlcd_wp_chatbot_shopper_demo_name"
888 value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?>">
889 </div>
890 <div class="form-group">
891 <h4 class="qc-opt-title"><?php esc_html_e('YES', 'wpchatbot'); ?></h4>
892 <input type="text" class="form-control qc-opt-dcs-font"
893 name="qlcd_wp_chatbot_yes"
894 value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>">
895 </div>
896 <div class="form-group">
897 <h4 class="qc-opt-title"><?php esc_html_e('NO', 'wpchatbot'); ?></h4>
898 <input type="text" class="form-control qc-opt-dcs-font"
899 name="qlcd_wp_chatbot_no"
900 value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>">
901 </div>
902 <div class="form-group">
903 <h4 class="qc-opt-title"><?php esc_html_e('OR', 'wpchatbot'); ?></h4>
904 <input type="text" class="form-control qc-opt-dcs-font"
905 name="qlcd_wp_chatbot_or"
906 value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>">
907 </div>
908 <div class="form-group">
909 <h4 class="qc-opt-title"><?php esc_html_e('Sorry', 'wpchatbot'); ?></h4>
910 <input type="text" class="form-control qc-opt-dcs-font"
911 name="qlcd_wp_chatbot_sorry"
912 value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>">
913 </div>
914 <div class="form-group">
915 <?php
916 $agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join'));
917 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
918 $agent_join_text = __('has joined the conversation', 'wpchatbot');
919 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
920 ?>
921 </div>
922 </div>
923 <!--col-xs-12-->
924 <div class="col-xs-12" id="wp-chatbot-language-section">
925 <h4 class="text-success"><?php esc_html_e(' Message setting for Greetings: ', 'wpchatbot'); ?></h4>
926 <div class="form-group">
927 <?php
928 $welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome'));
929 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
930 $welcome_to_text =__('Welcome to', 'wpchatbot');
931 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
932 ?>
933 </div>
934 <div class="form-group">
935 <?php
936 $welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
937 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
938 $welcome_back_text = __('Welcome back', 'wpchatbot');
939 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
940 ?>
941 </div>
942 <div class="form-group">
943 <?php
944 $back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
945 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
946 $back_to_start_text = __('Back to Start', 'wpchatbot');
947 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
948 ?>
949 </div>
950 <div class="form-group">
951 <?php
952 $hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there'));
953 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
954 $hi_there_text = __('Hi There!', 'wpchatbot');
955 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
956 ?>
957 </div>
958 <div class="form-group">
959 <?php
960 $asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name'));
961 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
962 $asking_name_text = __('May I know your name?', 'wpchatbot');
963 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
964 ?>
965 </div>
966 <div class="form-group">
967 <?php
968 $i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am'));
969 $i_am_option = 'qlcd_wp_chatbot_i_am';
970 $i_am_text = __('I am', 'wpchatbot');
971 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
972 ?>
973 </div>
974 <div class="form-group">
975 <?php
976 $name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
977 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
978 $name_greeting_text = __('Nice to meet you', 'wpchatbot');
979 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
980 ?>
981 </div>
982 <div class="form-group">
983 <?php
984 $wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
985 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
986 $wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpchatbot');
987 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
988 ?>
989 </div>
990 <div class="form-group">
991 <?php
992 $empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
993 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
994 $empty_filter_msg_text = __('Sorry, I did not understand that', 'wpchatbot');
995 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
996 ?>
997 </div>
998
999 <div class="form-group">
1000 <?php
1001 $qlcd_wp_chatbot_did_you_mean = unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
1002 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
1003 $wp_chatbot_no_result_text = esc_html__('Did you mean?', 'wpchatbot');
1004 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1005 ?>
1006 </div>
1007
1008 <h4 class="text-success"> <?php esc_html_e('Message setting for Editor Box ', 'wpchatbot'); ?></h4>
1009 <div class="form-group">
1010 <?php
1011 $is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1012 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1013 $is_typing_text = __('is typing...', 'wpchatbot');
1014 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1015 ?>
1016 </div>
1017 <div class="form-group">
1018 <?php
1019 $send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1020 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1021 $send_a_msg_text =__('Send a message', 'wpchatbot');
1022 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1023 ?>
1024 </div>
1025 <div class="form-group">
1026 <?php
1027 $choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1028 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1029 $choose_option_text = __('Choose an option', 'wpchatbot');
1030 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1031 ?>
1032 </div>
1033
1034
1035
1036 <div class="form-group">
1037 <?php
1038 $asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1039 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1040 $asking_email_text = __('Please provide your email address', 'wpchatbot');
1041 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1042 ?>
1043 </div>
1044 <div class="form-group">
1045 <?php
1046 $invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1047 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1048 $invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpchatbot');
1049 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1050 ?>
1051 </div>
1052 <div class="form-group">
1053 <?php
1054 $asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1055 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1056 $asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpchatbot');
1057 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1058 ?>
1059 </div>
1060
1061
1062
1063 <div class="form-group">
1064 <h4 class="qc-opt-title"><?php esc_html_e('WPBot Support Mail Subject', 'wpchatbot'); ?></h4>
1065 <input type="text" class="form-control qc-opt-dcs-font"
1066 name="qlcd_wp_chatbot_email_sub"
1067 value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject'); ?>">
1068 </div>
1069
1070 <div class="form-group">
1071 <?php
1072 $support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1073 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1074 $support_option_again_text = __('You may choose option from below.', 'wpchatbot');
1075 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1076 ?>
1077 </div>
1078
1079 <div class="form-group">
1080 <h4 class="qc-opt-title"><?php esc_html_e('Your email was sent successfully.Thanks!', 'wpchatbot'); ?></h4>
1081 <input type="text" class="form-control qc-opt-dcs-font"
1082 name="qlcd_wp_chatbot_email_sent"
1083 value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?>">
1084 </div>
1085 <div class="form-group">
1086 <h4 class="qc-opt-title"><?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1087 <input type="text" class="form-control qc-opt-dcs-font"
1088 name="qlcd_wp_chatbot_email_fail"
1089 value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_fail')) : 'Sorry! fail to send email'); ?>">
1090 </div>
1091
1092
1093
1094
1095 <div class="form-group">
1096 <?php
1097 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1098 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1099 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1100 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1101 ?>
1102 </div>
1103 <div class="form-group">
1104 <?php
1105 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1106 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1107 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1108 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1109 ?>
1110 </div>
1111
1112 <div class="form-group">
1113 <h4 class="qc-opt-title"><?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1114 <input type="text" class="form-control qc-opt-dcs-font"
1115 name="qlcd_wp_chatbot_phone_sent"
1116 value="<?php echo(get_option('qlcd_wp_chatbot_phone_sent') != '' ? get_option('qlcd_wp_chatbot_phone_sent') : 'Thanks for your phone number. We will call you ASAP!'); ?>">
1117 </div>
1118 <div class="form-group">
1119 <h4 class="qc-opt-title"><?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1120 <input type="text" class="form-control qc-opt-dcs-font"
1121 name="qlcd_wp_chatbot_phone_fail"
1122 value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_phone_fail')) : 'Sorry! I could not collect phone number!'); ?>">
1123 </div>
1124
1125
1126
1127
1128
1129
1130 </div>
1131 </div>
1132 </div>
1133 </div>
1134
1135 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1136 <div class="top-section">
1137 <div class="row">
1138 <div class="col-xs-12" id="wp-chatbot-language-section">
1139
1140 <div class="form-group">
1141 <?php
1142 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1143 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1144 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1145 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1146 ?>
1147 </div>
1148
1149
1150
1151 <!--<div class="form-group">
1152 <?php
1153 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1154 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1155 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1156 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1157 ?>
1158 </div>-->
1159
1160
1161 </div>
1162 </div>
1163 </div>
1164 </div>
1165
1166 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1167 <div class="top-section">
1168 <div class="row">
1169 <div class="col-xs-12" id="wp-chatbot-language-section">
1170 <div class="form-group">
1171 <h4 class="qc-opt-title"><?php esc_html_e('Start Keyword', 'wpchatbot'); ?></h4>
1172 <input type="text" class="form-control qc-opt-dcs-font"
1173 name="qlcd_wp_chatbot_sys_key_help"
1174 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1175 </div>
1176
1177
1178
1179 <div class="form-group">
1180 <h4 class="qc-opt-title"><strong><?php esc_html_e('FAQ', 'wpchatbot'); ?></strong> <?php esc_html_e('Keyword', 'wpchatbot'); ?></h4>
1181 <input type="text" class="form-control qc-opt-dcs-font"
1182 name="qlcd_wp_chatbot_sys_key_support"
1183 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1184 </div>
1185 <div class="form-group">
1186 <h4 class="qc-opt-title"><strong><?php esc_html_e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php esc_html_e('Keyword', 'wpchatbot'); ?></h4>
1187 <input type="text" class="form-control qc-opt-dcs-font"
1188 name="qlcd_wp_chatbot_sys_key_reset"
1189 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1190 </div>
1191 <div class="form-group">
1192 <?php
1193 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1194 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1195 $help_welcome_text = 'Welcome to Help Section';
1196 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1197 ?>
1198 </div>
1199 <div class="form-group">
1200 <?php
1201 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1202 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1203 $help_msg_text = '<h3>Type and Hit Enter</h3> 1. <b>start</b> Get back to the main menu. <br> 2. <b>faq</b> for FAQ. <br> 3. <b>eMail </b> to Send eMail <br> 4. <b>reset</b> To clear chat history and start from the beginning.';
1204 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1205 ?>
1206 </div>
1207 <div class="form-group">
1208 <?php
1209 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1210 $reset_option = 'qlcd_wp_chatbot_reset';
1211 $reset_text = 'Do you want to clear our chat history and start over?';
1212 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1213 ?>
1214 </div>
1215 </div>
1216 <!-- col-xs-12-->
1217 </div>
1218 <!-- row-->
1219 </div>
1220 <!-- top-section-->
1221 </div>
1222
1223 </div>
1224 <!-- tab-content-->
1225 </section>
1226
1227
1228 <section id="section-flip-5">
1229 <?php
1230 wp_enqueue_style('qcld-wp-chatbot-common-style', plugins_url(basename(plugin_dir_path(__FILE__)) . '/css/common-style.css', basename(__FILE__)), '', QCLD_wpCHATBOT_VERSION, 'screen');
1231 ?>
1232 <div class="top-section">
1233 <div class="notification-block-inner">
1234 <div class="row">
1235 <div class="col-xs-12">
1236
1237 <div class="row">
1238 <div class="col-xs-12">
1239 <h2>Predefined Intents</h2>
1240
1241
1242 <div class="row">
1243 <div class="col-xs-12">
1244 <h4 class="qc-opt-title"><?php esc_html_e('Call Me', 'wpchatbot'); ?> </h4>
1245 <div class="cxsc-settings-blocks">
1246 <input value="1" id="disable_wp_chatbot_call_gen" type="checkbox"
1247 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? 'checked' : ''); ?>>
1248 <label for="disable_wp_chatbot_call_gen"><?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpchatbot'); ?> </label>
1249 </div>
1250 </div>
1251 </div>
1252 <div class="form-group" style="margin-bottom:0px">
1253 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1254 <input type="text" class="form-control qc-opt-dcs-font"
1255 name="qlcd_wp_chatbot_support_phone"
1256 value="<?php echo(get_option('qlcd_wp_chatbot_support_phone') != '' ? get_option('qlcd_wp_chatbot_support_phone') : 'Leave your number. We will call you back!'); ?>">
1257 </div>
1258
1259 <div class="row">
1260 <div class="col-xs-12">
1261 <h4 class="qc-opt-title"><?php esc_html_e('Email', 'wpchatbot'); ?> </h4>
1262 <div class="cxsc-settings-blocks">
1263 <input value="1" id="disable_wp_chatbot_feedback" type="checkbox"
1264 name="disable_wp_chatbot_feedback" <?php echo(get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''); ?>>
1265 <label for="disable_wp_chatbot_feedback"><?php esc_html_e('Disable Email feature and button on Start Menu', 'wpchatbot'); ?> </label>
1266 </div>
1267 </div>
1268 </div>
1269 <div class="form-group" style="margin-bottom:0px">
1270 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1271 <input type="text" class="form-control qc-opt-dcs-font"
1272 name="qlcd_wp_chatbot_support_email"
1273 value="<?php echo(get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email'); ?>">
1274 </div>
1275 <div class="row">
1276 <div class="col-xs-12">
1277 <h4 class="qc-opt-title"><?php esc_html_e('FAQ', 'wpchatbot'); ?> </h4>
1278 <div class="cxsc-settings-blocks">
1279 <input value="1" id="disable_wp_chatbot_faq" type="checkbox"
1280 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? 'checked' : ''); ?>>
1281 <label for="disable_wp_chatbot_faq"><?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpchatbot'); ?> </label>
1282 </div>
1283 </div>
1284 </div>
1285 <div class="form-group" style="margin-bottom:0px">
1286 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1287 <input type="text" class="form-control qc-opt-dcs-font"
1288 name="qlcd_wp_chatbot_wildcard_support"
1289 value="<?php echo(get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ'); ?>">
1290 </div>
1291
1292
1293 </div>
1294 </div>
1295 <div class="qc_menu_setup_area">
1296
1297 <h2>Menu Sorting & Customization Area</h2>
1298 <p style="color:red">After making changes in the settings, please clear browser cache and cookies before reloading the page or open a new Incognito window (Ctrl+Shit+N in chrome).</p>
1299 <p>In this section you can control the UI of the menu.<br> To adjust the <b>Active Menu</b> ordering just drag it up or down. To add a menu item in <b>Active Menu</b> simply drag a menu item from <b>Available Menu</b> and drop it to <b>Active Menu</b> . To remove a menu item from <b>Active Menu</b> simple drag the menu item and drop it to <b>Available Menu</b>.</p>
1300 <br>
1301
1302 <div class="qc_menu_area">
1303 <h4>Acitve Menu</h4>
1304
1305 <div class="qc_menu_area_container" id="qc_menu_area">
1306
1307 <?php
1308 if(get_option('qc_wpbot_menu_order')!=''):
1309 echo stripslashes(get_option('qc_wpbot_menu_order'));
1310 else:?>
1311 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1312 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1313 <?php endif; ?>
1314
1315 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1316 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="messenger"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span>
1317 <?php endif; ?>
1318
1319 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1320 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="whatsapp"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span>
1321 <?php endif; ?>
1322
1323 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1324 <span class="qcld-chatbot-suggest-email qc_draggable_item_remove"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1325 <?php endif; ?>
1326
1327 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1328 <span class="qcld-chatbot-suggest-phone qc_draggable_item_remove" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1329 <?php endif; ?>
1330
1331 <?php
1332 if(class_exists('Qcformbuilder_Forms_Admin')){
1333 global $wpdb;
1334
1335 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1336 if(!empty($results)){
1337 ?>
1338 <?php
1339 foreach($results as $result){
1340 $form = unserialize($result->config);
1341 ?>
1342 <span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span>
1343 <?php
1344 }
1345 ?>
1346 <?php
1347 }
1348 }
1349 ?>
1350
1351 <?php endif; ?>
1352 </div>
1353 </div>
1354
1355 <div class="qc_menu_list_area">
1356 <h4>Available Menu</h4>
1357 <div class="qc_menu_list_container">
1358 <p>Predefined Intents</p>
1359 <ul>
1360
1361
1362
1363
1364 <li>
1365 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1366 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1367 <?php endif; ?>
1368
1369 </li>
1370 <li>
1371 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1372 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="messenger"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span>
1373 <?php endif; ?>
1374
1375 </li>
1376
1377 <li>
1378 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1379 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="whatsapp"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span>
1380 <?php endif; ?>
1381
1382 </li>
1383
1384 <li>
1385 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1386 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1387 <?php endif; ?>
1388
1389 </li>
1390
1391
1392
1393 <li>
1394 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1395 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1396 <?php endif; ?>
1397
1398 </li>
1399
1400
1401 </ul>
1402
1403
1404
1405
1406 <?php
1407 if(class_exists('Qcformbuilder_Forms_Admin')){
1408 global $wpdb;
1409
1410 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1411 if(!empty($results)){
1412 ?>
1413 <p>Conversational Form</p>
1414 <ul>
1415 <?php
1416 foreach($results as $result){
1417 $form = unserialize($result->config);
1418 ?>
1419 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span></li>
1420 <?php
1421 }
1422 ?>
1423 </ul>
1424 <?php
1425 }
1426 }
1427 ?>
1428
1429
1430 </div>
1431
1432 </div>
1433
1434 </div>
1435
1436 <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo stripslashes(get_option('qc_wpbot_menu_order')); ?>' />
1437
1438 </div>
1439 </div>
1440 </div>
1441 </div>
1442 </section>
1443
1444 <section id="section-flip-6">
1445 <div class="top-section">
1446 <div class="wp-chatbot-language-center-summmery">
1447 <p><?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1448 </div>
1449 <div class="row">
1450 <div class="col-xs-12">
1451 <p class="wpqcld_chk_seft">
1452 <a target="_blank" href="https://www.quantumcloud.com/custom-chatbot-services/"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL ?>/chatbot-custom-service.jpg" alt="" /></a>
1453 </p>
1454 </div>
1455 </div>
1456 <div class="row">
1457 <div class="col-xs-12">
1458 <h4 class="qc-opt-title"><?php echo esc_html__('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1459 <div class="cxsc-settings-blocks">
1460 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1461 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1462 <label for="enable_wp_chatbot_dailogflow"><?php echo esc_html__('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1463 </div>
1464 </div>
1465 <div class="col-xs-12">
1466 <br>
1467 <p><?php echo esc_html__('Log in to DialogFlow Console from', 'wpchatbot'); ?>
1468 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/'); ?>" target="_blank"><?php echo esc_html__('Here', 'wpchatbot'); ?></a> <?php echo esc_html__('with your gmail account.', 'wpchatbot'); ?>
1469
1470 <a class="wpbot_df_instruction" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php echo esc_html__('Download', 'wpchatbot'); ?></a> <?php echo esc_html__('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following training intents which are', 'wpchatbot'); ?> <b>email, email subscription, faq, get email, get name, help, phone, reset, site search and start.</b> </p>
1471 </div>
1472
1473 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1474 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow API Version', 'wpchatbot'); ?></h4>
1475 <div class="form-group">
1476
1477 <label class="radio-inline">
1478 <input id="wp-chatbot-df-api" type="radio"
1479 name="wp_chatbot_df_api"
1480 value="v2" checked>
1481 <?php echo esc_html__('Dialogflow API V2', 'wpchatbot'); ?>
1482 </label>
1483
1484 </div>
1485
1486 <div id="wp-chatbot-df-section-v2" style="display:block">
1487 <!-- Dialogflow V2 Configuration -->
1488
1489 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
1490 <div class="form-group">
1491
1492 <br>
1493 <h4 class="qc-opt-title" style="color:red"><?php echo esc_html__('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'wpchatbot'); ?></h4>
1494 <p>Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress's <b>/wp-content</b> folder. This package is around <b>10 MB</b> in zip file format and it will be about <b>49 MB</b> after unzipping. Please make sure that your server has enough space to store that package.</p>
1495 <div class="qcld-wpbot-gcdownload-area">
1496 <button class="btn btn-primary" id="qc_wpbot_gc_download" <?php echo (!is_writable(QCLD_wpCHATBOT_GC_ROOT)?'disabled':''); ?>>Download and Install the Google Client</button>
1497 <?php
1498 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
1499 echo '<span style="color:red;font-size: 12px;"><b>wp-content</b> folder is not writable.</span>';
1500 }
1501 ?>
1502 <br><br>
1503 <p>Alternatively, If the download operation fails for some reason like folder permission or server timeout issue then you can manually upload the <u title="Google Client">GC</u> package by following some simple steps.</p>
1504 <p>1. Download GC package from: <a href="https://github.com/qcloud/gc/archive/master.zip" target="_blank">https://github.com/qcloud/gc/archive/master.zip</a></p>
1505 <p>2. Unzip the <b>wpbotgc.zip</b> inside to your computer.</p>
1506 <p>3. Create a folder with name <b>wpbot-dfv2-client</b> under <b>wp-content</b> into your server.</p>
1507 <p>4. Upload the upziped files and folders into <b>wpbot-dfv2-client</b> via FTP.</p>
1508
1509
1510 <div class="qcld_wpbot_download_statuses">
1511
1512 </div>
1513 </div>
1514 <br>
1515
1516 </div>
1517 <?php else: ?>
1518 <div class="form-group">
1519 <h4 class="qc-opt-title" style="color:green"><?php echo esc_html__('Google Client Package is Installed on Your Website.', 'wpchatbot'); ?></h4>
1520 </div>
1521 <?php endif; ?>
1522
1523 <div class="form-group">
1524 <h4 class="qc-opt-title" >Please follow along with this <a href="https://dev.quantumcloud.com/wpbot-pro/dialogflow-integration/" target="_blank">tutorial</a>. It will help you to create a project id, private key and integrate WPBot with Dialogflow: <a href="https://dev.quantumcloud.com/wpbot-pro/dialogflow-integration/" target="_blank">Click Here</a></h4>
1525 </div>
1526
1527 <div class="form-group">
1528 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?></h4>
1529 <p>You can follow the <a href="https://www.youtube.com/watch?v=qY-EHFY2wH8" target="_blank">tutorial</a> to get the Project ID. </p>
1530 <input type="text" class="form-control qc-opt-dcs-font"
1531 name="qlcd_wp_chatbot_dialogflow_project_id"
1532 value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_id') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_id') : ''); ?>" placeholder="<?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?>">
1533 </div>
1534 <?php
1535
1536 $placeholderPrivatekey = '{
1537 "type": "service_account",
1538 "project_id": "PLACEYOUROWNID",
1539 "private_key_id": "31e300128..........c48",
1540 "private_key": "-----BEGIN PRIVATE KEY-----\nTHIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with ACTUAL KEY.+OdT09MGEdAjlgSF2HMDA3fl8Ey4dmTxRfAN9No6G3Ugs3BrpZHfY\nSviWzS4JQ0GkCubcJc0DzJ8AqG6xX7E3SfKpdtKEn1eYV7sfQL3C2lm2lTj6nWdt\nxrkhJVHn61kxfPAWChnkdPa5EbMNFnV5mN5rhwaOxR+tEjW9nWBjVFG0NMnOMWF4\nsu6QJVjQMtI99jPBCid1r4XV/sPABSXh8dscWdMinGhZfuCjF4sOGHUUaw+VDGb6\nZpPOh65nw5fsdOHETsb4BN/LW72Khux+870Ig4jkuLIN3PnSF9QfwO8U2qTG5sZK\nn5nxhT9zAgMBAAECggEAX1NSWRGnrcVsu6n1jn9xUpzvxyy+CJe1Z1DvHo1tmHNS\n0Q8OI/Y........THIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with your own key......................................paqQKBgQCJ\nvNCZIHpLGVqwiw4SVYgZW2i+VsZ78sOw0SuuhjZNmOlGjpalbQCjKs9l5dSz5t5D\nVleJVyriFaXyvVty/iF6orqTgv0EhcLO2RI9KSrTpbOXcIkgeunAhRM3oloxSndt\n98H3f1xRvTLIm1enERLkOyGHmm7nWFV0BQWD+CxeCwKBgDtBGn+uBgNgZjSaLnkJ\noemAoIBN6aD4+QWduPldRgTilH6ABQ26SL+t4sa9jbAtkMuD/hWOMLBqmz98tfCC\ndy6cPghea+b0S7lj/wmUaDA1Vmz7luCLm+lO+fe3K6WIlEhAP/9MXVH90Sj6CllF\nAn4stWzIKHrRKA3lIvgJv+9W\n-----END PRIVATE KEY-----\n",
1541 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
1542 "client_id": "1026.....032997",
1543 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
1544 "token_uri": "https://oauth2.googleapis.com/token",
1545 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
1546 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
1547 }';
1548
1549 ?>
1550 <div class="form-group">
1551 <h4 class="qc-opt-title"><?php echo esc_html__('Private Key', 'wpchatbot'); ?></h4>
1552 <p>Put your google service account's private key JSON string here. You can follow the <a href="https://www.youtube.com/watch?v=qY-EHFY2wH8" target="_blank">tutorial</a> to get private key JSON file. </p>
1553 <textarea class="form-control" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo $placeholderPrivatekey; ?>'><?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''); ?></textarea>
1554 </div>
1555
1556
1557
1558 <!-- End Dialogflow V2 Configuration -->
1559 </div>
1560
1561
1562 <div class="form-group">
1563 <h4 class="qc-opt-title"><?php echo esc_html__('Please Click the Button Below to Test Dialogflow Connection.', 'wpchatbot'); ?> </h4>
1564 <p style="color:red"><?php echo esc_html__('*Save settings before pressing Test Dialogflow Connection', 'wpchatbot'); ?><br>
1565 <?php echo esc_html__('*You must have owner permission for the service account your are using in Dialogflow agent.', 'wpchatbot'); ?></p>
1566 <div class="cxsc-settings-blocks">
1567 <button class="btn btn-primary" id="qc_wpbot_df_status">Test Dialogflow Connection</button>
1568 <div class="qcwp_df_status"></div>
1569 </div>
1570 </div>
1571 <br>
1572 <div class="form-group">
1573 <h4 class="qc-opt-title"><?php esc_html_e('DialofFlow Default reply', 'wpchatbot'); ?></h4>
1574 <input type="text" class="form-control qc-opt-dcs-font"
1575 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
1576 value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') != '' ? get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') : 'Sorry, I did not understand you. You may browse'); ?>" placeholder="<?php esc_html_e('DialogFlow default reply', 'wpchatbot'); ?>">
1577 </div>
1578
1579
1580 <div class="form-group">
1581 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpchatbot'); ?></h4>
1582 <input type="text" class="form-control qc-opt-dcs-font"
1583 name="qlcd_wp_chatbot_dialogflow_agent_language"
1584 value="<?php echo (get_option('qlcd_wp_chatbot_dialogflow_agent_language') != '' ? get_option('qlcd_wp_chatbot_dialogflow_agent_language') : 'en'); ?>" placeholder="<?php echo esc_html__('DialogFlow Agent Language', 'wpchatbot'); ?>">
1585 </div>
1586
1587 </div>
1588 </div>
1589 </div>
1590
1591 </section>
1592 <!--<section id="section-flip-10">
1593 <div class="wp-chatbot-language-center-summmery">
1594 <p><?php esc_html_e('Enable the Mobile App feature ONLY if you bought ', 'wpchatbot'); ?> <a target="_blank" href="https://www.quantumcloud.com/products/wpcommerce-chatbot-wpwbot/#app"><?php esc_html_e(' the Mobile App Addon.', 'wpchatbot'); ?></a>
1595 </div>
1596 <div class="top-section">
1597 <div class="row">
1598 <div class="col-xs-12">
1599 <h4 class="qc-opt-title"><?php esc_html_e('Mobile App Pages', 'wpchatbot'); ?> </h4>
1600 <div class="cxsc-settings-blocks">
1601 <input value="1" id="wp_chatbot_app_pages" type="checkbox"
1602 name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>>
1603 <label for="wp_chatbot_app_pages"><?php esc_html_e('Create pages for WpBot Mobile App', 'wpchatbot'); ?> </label>
1604 </div>
1605 <br>
1606 <p class="qc-opt-title-font"><?php esc_html_e('Following pages will be created to use in', 'wpchatbot'); ?> <strong> <?php esc_html_e('WpBot', 'wpchatbot'); ?> </strong> <?php esc_html_e(' Android or IOS Mobile App', 'wpchatbot'); ?>.</p>
1607 <ol>
1608 <li><?php esc_html_e('WpBot Mobile App', 'wpchatbot'); ?></li>
1609 <li><?php esc_html_e('WpBot App Checkout', 'wpchatbot'); ?></li>
1610 <li><?php esc_html_e('WpBot App Order Thank You', 'wpchatbot'); ?></li>
1611 </ol>
1612 <p class="qc-opt-title-font"><?php esc_html_e('Follow the', 'wpchatbot'); ?> <strong> <?php esc_html_e('Documentation', 'wpchatbot'); ?> </strong> <?php esc_html_e('to build & publish a Mobile Application (Android or IOS ) for your store using any of', 'wpchatbot'); ?> </p>
1613 <ol>
1614 <li><?php esc_html_e('WpBot Ionic FrameWork package', 'wpchatbot'); ?></li>
1615 <li><?php esc_html_e('WpBot PhoneGap package', 'wpchatbot'); ?></li>
1616 </ol>
1617 </div>
1618 </div>
1619 </div>
1620
1621 </section>-->
1622
1623
1624 <section id="section-flip-7">
1625 <div class="top-section">
1626 <div class="row">
1627 <div class="col-xs-12">
1628
1629 <?php wp_enqueue_style( 'qcpd-google-font-lato', 'https://fonts.googleapis.com/css?family=Lato' ); ?>
1630 <?php wp_enqueue_style( 'qcpd-style-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/style.css' ); ?>
1631 <?php wp_enqueue_style( 'qcpd-style-responsive-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/responsive.css' ); ?>
1632
1633 <div class="qc_support_container"><!--qc_support_container-->
1634
1635 <div class="qc_tabcontent clearfix-div">
1636 <div class="qc-row">
1637 <div class="wpbot-chatbot-pro-link">
1638 <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank" >Get the ChatBot Pro <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/wp-bot-logo.png'); ?>" /></a>
1639 </div>
1640 <h2 class="plugin-title wpbot_page_title" style="text-align:center" >Extend <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">WPBot Pro</a> and give it more Super Powers</h2>
1641 <p style="text-align:center">Following AddOns and Themes are available for the <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">WPBot pro!</a></p>
1642
1643 <div class="qc-column-6"><!-- qc-column-4 -->
1644 <!-- Feature Box 1 -->
1645 <div class="support-block support-block-custom">
1646 <div class="support-block-img">
1647 <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/conversational-forns.png'); ?>" alt="">
1648 </div>
1649 <div class="support-block-info">
1650 <h4><a href="#">Conversational Form Addon</a></h4>
1651 <p>Use the Conversational form builder AddOn to create conversations and forms for a native WordPress ChatBot experience without any 3rd party integrations. Conversational forms can also be emailed to you.</p>
1652 <p><a href="https://wordpress.org/plugins/conversational-forms/" target="_blank">Download Free</a>|<a href="<?php echo esc_url('https://www.quantumcloud.com/products/conversations-and-form-builder/'); ?>" target="_blank">Download Pro</a></p>
1653
1654 </div>
1655 </div>
1656 </div><!--/qc-column-4 -->
1657
1658 <div class="qc-column-6"><!-- qc-column-4 -->
1659 <!-- Feature Box 1 -->
1660 <div class="support-block support-block-custom">
1661 <div class="support-block-img">
1662 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/woo-addon-256.png'); ?>" alt=""></a>
1663 </div>
1664 <div class="support-block-info">
1665 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Woocommerce Addon</a></h4>
1666 <p>Utilize the Chatbot on your Woocommerce website and make a Woocommerce Chatbot with zero configuration</p>
1667
1668 </div>
1669 </div>
1670 </div><!--/qc-column-4 -->
1671
1672 <div class="qc-column-6"><!-- qc-column-4 -->
1673 <!-- Feature Box 1 -->
1674 <div class="support-block support-block-custom">
1675 <div class="support-block-img">
1676 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/messenger-chatbot.png'); ?>" alt=""></a>
1677 </div>
1678 <div class="support-block-info">
1679 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Messenger ChatBot Addon</a></h4>
1680 <p>Utilize the WPBot on your website as a hub to respond to customer questions on FB Page & Messenger</p>
1681 <p><a href="https://wordpress.org/plugins/chatbot-for-messenger/" target="_blank">Download Free</a>|<a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Download Pro</a></p>
1682
1683 </div>
1684 </div>
1685 </div><!--/qc-column-4 -->
1686
1687 <div class="qc-column-6"><!-- qc-column-4 -->
1688 <!-- Feature Box 1 -->
1689 <div class="support-block support-block-custom">
1690 <div class="support-block-img">
1691 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/custom-post-type-addon-logo.png'); ?>" alt=""></a>
1692 </div>
1693 <div class="support-block-info">
1694 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Extended Search</a></h4>
1695 <p>Extend WPBot’s search power to include almost any Custom Post Type including WooCommerce</p>
1696
1697 </div>
1698 </div>
1699 </div><!--/qc-column-4 -->
1700
1701
1702 <div class="qc-column-6"><!-- qc-column-4 -->
1703 <!-- Feature Box 1 -->
1704 <div class="support-block support-block-custom">
1705 <div class="support-block-img">
1706 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/chatbot-sesssion-save.png'); ?>" alt=""></a>
1707 </div>
1708 <div class="support-block-info">
1709 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Session Save Addon</a></h4>
1710 <p>This AddOn saves the user chat sessions and helps you fine tune the bot for better support and performance.</p>
1711
1712 </div>
1713 </div>
1714 </div><!--/qc-column-4 -->
1715
1716
1717 <div class="qc-column-6"><!-- qc-column-4 -->
1718 <!-- Feature Box 1 -->
1719 <div class="support-block support-block-custom">
1720 <div class="support-block-img">
1721 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/WPBot-LiveChat.png'); ?>" alt=""></a>
1722 </div>
1723 <div class="support-block-info">
1724 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">LiveChat Addon</a></h4>
1725 <p>Live Human Chat integrated with WPBot<p/>
1726 </div>
1727 </div>
1728 </div><!--/qc-column-4 -->
1729
1730 <div class="qc-column-6"><!-- qc-column-4 -->
1731 <!-- Feature Box 1 -->
1732 <div class="support-block support-block-custom">
1733 <div class="support-block-img">
1734 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/white-label.png'); ?>" alt=""></a>
1735 </div>
1736 <div class="support-block-info">
1737 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">White Label WPBot</a></h4>
1738 <p>Replace the QuantumCloud Logo and branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients.<p/>
1739 </div>
1740 </div>
1741 </div><!--/qc-column-4 -->
1742
1743 <div class="qc-column-6"><!-- qc-column-4 -->
1744 <!-- Feature Box 1 -->
1745 <div class="support-block support-block-custom">
1746 <div class="support-block-img">
1747 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/mailing-list-integrationt (1).png'); ?>" alt=""></a>
1748 </div>
1749 <div class="support-block-info">
1750 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Mailing List Integration AddOn</a></h4>
1751 <p>Mailing List Integration is an addon that lets you connect our ChatBot with Mailchimp and Zapier accounts. You can add new subscribers to your Mailchimp Lists and unsubscribe them.<p/>
1752 </div>
1753 </div>
1754 </div><!--/qc-column-4 -->
1755 <div class="qc-column-6"><!-- qc-column-4 -->
1756 <!-- Feature Box 1 -->
1757 <div class="support-block support-block-custom">
1758 <div class="support-block-img">
1759 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/chatbot-addons.png'); ?>" alt=""></a>
1760 </div>
1761 <div class="support-block-info">
1762 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">More Addons</a></h4>
1763 <p>Check out all the available ChatBot AddOns<p/>
1764 </div>
1765 </div>
1766 </div><!--/qc-column-4 -->
1767 <div class="qc-column-12"><!-- qc-column-4 -->
1768 <!-- Feature Box 1 -->
1769 <div class="support-block ">
1770 <div class="support-block-img">
1771 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/themes/chatbot-theme/'); ?>" target="_blank"> <img class="wp_addon_fullwidth" src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/ChatBot-Master-theme.png'); ?>" alt=""></a>
1772 </div>
1773 <div class="support-block-info">
1774 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Master Theme</a></h4>
1775 <p style="margin-top: -24px;margin-bottom: 50px;">Get a ChatBot Powered Theme!</p>
1776 </div>
1777 </div>
1778 </div><!--/qc-column-4 -->
1779
1780 </div>
1781 <!--qc row-->
1782 </div>
1783
1784 </div><!--qc_support_container-->
1785
1786
1787
1788 </div>
1789 </div>
1790 <!-- row-->
1791 </div>
1792 </section>
1793
1794
1795 </div><!-- /content -->
1796 </div><!-- /wp-chatbot-tabs -->
1797 <footer class="wp-chatbot-admin-footer">
1798 <div class="row">
1799 <div class="text-left col-sm-3 col-sm-offset-3">
1800 <input type="button" class="btn btn-warning submit-button"
1801 id="qcld-wp-chatbot-reset-option"
1802 value="<?php esc_html_e('Reset all options to Default', 'wpchatbot'); ?>"/>
1803 </div>
1804 <div class="text-right col-sm-6">
1805 <input type="submit" class="btn btn-primary submit-button" name="submit"
1806 id="submit" value="<?php esc_html_e('Save Settings', 'wpchatbot'); ?>"/>
1807 </div>
1808 </div>
1809 <!-- row-->
1810 </footer>
1811 </section>
1812 </div>
1813 <?php wp_nonce_field('wp_chatbot'); ?>
1814 </form>