PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 3.7.4
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v3.7.4
8.7.8 8.7.7 8.7.6 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 All 534 releases
chatbot / admin_ui.php

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

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