PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 3.2.8
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v3.2.8
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.2.8, at admin_ui.php

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