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

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