PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 3.2.6
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v3.2.6
8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 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.6, at admin_ui.php

1,866 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
1007 <div class="form-group">
1008 <?php
1009 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1010 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1011 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1012 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1013 ?>
1014 </div>
1015 <div class="form-group">
1016 <?php
1017 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1018 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1019 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1020 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1021 ?>
1022 </div>
1023
1024 <div class="form-group">
1025 <h4 class="qc-opt-title"><?php _e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1026 <input type="text" class="form-control qc-opt-dcs-font"
1027 name="qlcd_wp_chatbot_phone_sent"
1028 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!'); ?>">
1029 </div>
1030 <div class="form-group">
1031 <h4 class="qc-opt-title"><?php _e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1032 <input type="text" class="form-control qc-opt-dcs-font"
1033 name="qlcd_wp_chatbot_phone_fail"
1034 value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? get_option('qlcd_wp_chatbot_phone_fail') : 'Sorry! I could not collect phone number!'); ?>">
1035 </div>
1036
1037
1038
1039
1040
1041
1042 </div>
1043 </div>
1044 </div>
1045 </div>
1046
1047 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1048 <div class="top-section">
1049 <div class="row">
1050 <div class="col-xs-12" id="wp-chatbot-language-section">
1051
1052 <div class="form-group">
1053 <?php
1054 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1055 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1056 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1057 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1058 ?>
1059 </div>
1060
1061
1062
1063 <!--<div class="form-group">
1064 <?php
1065 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1066 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1067 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1068 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1069 ?>
1070 </div>-->
1071
1072
1073 </div>
1074 </div>
1075 </div>
1076 </div>
1077
1078 <div id="wp-chatbot-lng-system-keyword" class="tab-pane fade">
1079 <div class="top-section">
1080 <div class="row">
1081 <div class="col-xs-12" id="wp-chatbot-language-section">
1082 <div class="form-group">
1083 <h4 class="qc-opt-title"><?php _e('Start Keyword', 'wpchatbot'); ?></h4>
1084 <input type="text" class="form-control qc-opt-dcs-font"
1085 name="qlcd_wp_chatbot_sys_key_help"
1086 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1087 </div>
1088
1089
1090
1091 <div class="form-group">
1092 <h4 class="qc-opt-title"><strong><?php _e('FAQ', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1093 <input type="text" class="form-control qc-opt-dcs-font"
1094 name="qlcd_wp_chatbot_sys_key_support"
1095 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1096 </div>
1097 <div class="form-group">
1098 <h4 class="qc-opt-title"><strong><?php _e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1099 <input type="text" class="form-control qc-opt-dcs-font"
1100 name="qlcd_wp_chatbot_sys_key_reset"
1101 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1102 </div>
1103 <div class="form-group">
1104 <?php
1105 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1106 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1107 $help_welcome_text = 'Welcome to Help Section';
1108 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1109 ?>
1110 </div>
1111 <div class="form-group">
1112 <?php
1113 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1114 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1115 $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.';
1116 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1117 ?>
1118 </div>
1119 <div class="form-group">
1120 <?php
1121 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1122 $reset_option = 'qlcd_wp_chatbot_reset';
1123 $reset_text = 'Do you want to clear our chat history and start over?';
1124 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1125 ?>
1126 </div>
1127 </div>
1128 <!-- col-xs-12-->
1129 </div>
1130 <!-- row-->
1131 </div>
1132 <!-- top-section-->
1133 </div>
1134 <!-- wp-chatbot-lng-system-keyword-->
1135 </div>
1136 <!-- tab-content-->
1137 </section>
1138
1139
1140 <section id="section-flip-5">
1141 <?php
1142 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');
1143 ?>
1144 <div class="top-section">
1145 <div class="notification-block-inner">
1146 <div class="row">
1147 <div class="col-xs-12">
1148
1149 <div class="row">
1150 <div class="col-xs-12">
1151 <h2>Predefined Intents</h2>
1152
1153
1154 <div class="row">
1155 <div class="col-xs-12">
1156 <h4 class="qc-opt-title"><?php _e('Call Me', 'wpchatbot'); ?> </h4>
1157 <div class="cxsc-settings-blocks">
1158 <input value="1" id="disable_wp_chatbot_call_gen" type="checkbox"
1159 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? 'checked' : ''); ?>>
1160 <label for="disable_wp_chatbot_call_gen"><?php _e('Disable Call Me feature and button on Start Menu', 'wpchatbot'); ?> </label>
1161 </div>
1162 </div>
1163 </div>
1164 <div class="form-group" style="margin-bottom:0px">
1165 <h4 class="qc-opt-title"><?php _e('Button Label', 'wpchatbot'); ?> </h4>
1166 <input type="text" class="form-control qc-opt-dcs-font"
1167 name="qlcd_wp_chatbot_support_phone"
1168 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!'); ?>">
1169 </div>
1170
1171 <div class="row">
1172 <div class="col-xs-12">
1173 <h4 class="qc-opt-title"><?php _e('Email', 'wpchatbot'); ?> </h4>
1174 <div class="cxsc-settings-blocks">
1175 <input value="1" id="disable_wp_chatbot_feedback" type="checkbox"
1176 name="disable_wp_chatbot_feedback" <?php echo(get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''); ?>>
1177 <label for="disable_wp_chatbot_feedback"><?php _e('Disable Email 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_email"
1185 value="<?php echo(get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email'); ?>">
1186 </div>
1187 <div class="row">
1188 <div class="col-xs-12">
1189 <h4 class="qc-opt-title"><?php _e('FAQ', 'wpchatbot'); ?> </h4>
1190 <div class="cxsc-settings-blocks">
1191 <input value="1" id="disable_wp_chatbot_faq" type="checkbox"
1192 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? 'checked' : ''); ?>>
1193 <label for="disable_wp_chatbot_faq"><?php _e('Disable FAQ feature and button on Start Menu', 'wpchatbot'); ?> </label>
1194 </div>
1195 </div>
1196 </div>
1197 <div class="form-group" style="margin-bottom:0px">
1198 <h4 class="qc-opt-title"><?php _e('Button Label', 'wpchatbot'); ?> </h4>
1199 <input type="text" class="form-control qc-opt-dcs-font"
1200 name="qlcd_wp_chatbot_wildcard_support"
1201 value="<?php echo(get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ'); ?>">
1202 </div>
1203
1204
1205 </div>
1206 </div>
1207 <div class="qc_menu_setup_area">
1208
1209 <h2>Menu Sorting & Customization Area</h2>
1210 <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>
1211 <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>
1212 <br>
1213
1214 <div class="qc_menu_area">
1215 <h4>Acitve Menu</h4>
1216
1217 <div class="qc_menu_area_container" id="qc_menu_area">
1218
1219 <?php
1220 if(get_option('qc_wpbot_menu_order')!=''):
1221 echo stripslashes(get_option('qc_wpbot_menu_order'));
1222 else:?>
1223 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1224 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1225 <?php endif; ?>
1226
1227 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1228 <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>
1229 <?php endif; ?>
1230
1231 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1232 <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>
1233 <?php endif; ?>
1234
1235 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1236 <span class="qcld-chatbot-suggest-email qc_draggable_item_remove"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1237 <?php endif; ?>
1238
1239 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1240 <span class="qcld-chatbot-suggest-phone qc_draggable_item_remove" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1241 <?php endif; ?>
1242
1243 <?php
1244 if(class_exists('Qcformbuilder_Forms_Admin')){
1245 global $wpdb;
1246
1247 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1248 if(!empty($results)){
1249 ?>
1250 <?php
1251 foreach($results as $result){
1252 $form = unserialize($result->config);
1253 ?>
1254 <span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span>
1255 <?php
1256 }
1257 ?>
1258 <?php
1259 }
1260 }
1261 ?>
1262
1263 <?php endif; ?>
1264 </div>
1265 </div>
1266
1267 <div class="qc_menu_list_area">
1268 <h4>Available Menu</h4>
1269 <div class="qc_menu_list_container">
1270 <p>Predefined Intents</p>
1271 <ul>
1272
1273
1274
1275
1276 <li>
1277 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1278 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1279 <?php endif; ?>
1280
1281 </li>
1282 <li>
1283 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1284 <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>
1285 <?php endif; ?>
1286
1287 </li>
1288
1289 <li>
1290 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1291 <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>
1292 <?php endif; ?>
1293
1294 </li>
1295
1296 <li>
1297 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1298 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1299 <?php endif; ?>
1300
1301 </li>
1302
1303
1304
1305 <li>
1306 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1307 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1308 <?php endif; ?>
1309
1310 </li>
1311
1312
1313 </ul>
1314
1315
1316
1317
1318 <?php
1319 if(class_exists('Qcformbuilder_Forms_Admin')){
1320 global $wpdb;
1321
1322 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1323 if(!empty($results)){
1324 ?>
1325 <p>Conversational Form</p>
1326 <ul>
1327 <?php
1328 foreach($results as $result){
1329 $form = unserialize($result->config);
1330 ?>
1331 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span></li>
1332 <?php
1333 }
1334 ?>
1335 </ul>
1336 <?php
1337 }
1338 }
1339 ?>
1340
1341
1342 </div>
1343
1344 </div>
1345
1346 </div>
1347
1348 <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo stripslashes(get_option('qc_wpbot_menu_order')); ?>' />
1349
1350 </div>
1351 </div>
1352 </div>
1353 </div>
1354 </section>
1355
1356 <!--<section id="section-flip-8">
1357 <div class="top-section">
1358 <div class="wp-chatbot-language-center-summmery">
1359 <p><?php _e('WPBot will be opened based on the following settings', 'wpchatbot'); ?> </p>
1360 </div>
1361 <div class="row">
1362 <div class="col-xs-12">
1363 <h4 class="qc-opt-title"><?php _e('Enable Bot Activity Hour', 'wpchatbot'); ?> </h4>
1364 <div class="cxsc-settings-blocks" style="padding:0 20px;">
1365 <input value="1" id="enable_wp_chatbot_opening_hour" type="checkbox"
1366 name="enable_wp_chatbot_opening_hour" <?php echo(get_option('enable_wp_chatbot_opening_hour') == 1 ? 'checked' : ''); ?>>
1367 <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>
1368 </div>
1369 </div>
1370 </div>
1371 <style>
1372 .wp-chatbot-hours-container{
1373 padding:0px 0 15px 0;
1374 display: flex;
1375 justify-content: space-between;
1376 }
1377 .wp-chatbot-hours{
1378 /*width:75%;*/
1379 display: inline-block;
1380 }
1381 .wp-chatbot-hours input{
1382 display: inline-block;
1383 width: 40%;
1384 padding-right: 10px;
1385 text-align: center;
1386 }
1387 .wp-chatbot-hours-remove{
1388 display: inline-block;
1389 /*width:20%;*/
1390 }
1391 </style>
1392 <div class="row" id="wp-chatbot-hours-wrapper">
1393 <div class="col-xs-12">
1394 <h4 class="qc-opt-title"><?php _e('WPBot Bot Activity Hours', 'wpchatbot'); ?> </h4>
1395 <?php
1396
1397 if(get_option('wpwbot_hours')){
1398 $wpwbot_times=unserialize(get_option('wpwbot_hours'));
1399 }else{
1400 $wpwbot_times=array();
1401 }
1402 ?>
1403 <div class="row">
1404 <div class="col-xs-3">Monday</div>
1405 <div class="col-xs-4 wp-chatbot-day">
1406 <?php
1407 $this->wp_chatbot_opening_hours('monday',$wpwbot_times);
1408 ?>
1409 </div>
1410 <div class="col-xs-3">
1411 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="monday">
1412 <i class="fa fa-plus" aria-hidden="true"></i> Add
1413 </button>
1414 </div>
1415 </div>
1416 <div class="row">
1417 <div class="col-xs-3">Tuesday</div>
1418 <div class="col-xs-4 wp-chatbot-day">
1419 <?php
1420 $this->wp_chatbot_opening_hours('tuesday',$wpwbot_times);
1421 ?>
1422 </div>
1423 <div class="col-xs-3">
1424 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="tuesday">
1425 <i class="fa fa-plus" aria-hidden="true"></i> Add
1426 </button>
1427 </div>
1428 </div>
1429 <div class="row">
1430 <div class="col-xs-3">Wednesday</div>
1431 <div class="col-xs-4 wp-chatbot-day">
1432 <?php
1433 $this->wp_chatbot_opening_hours('wednesday',$wpwbot_times);
1434 ?>
1435 </div>
1436 <div class="col-xs-3">
1437 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="wednesday">
1438 <i class="fa fa-plus" aria-hidden="true"></i> Add
1439 </button>
1440 </div>
1441 </div>
1442 <div class="row">
1443 <div class="col-xs-3">Thursday</div>
1444 <div class="col-xs-4 wp-chatbot-day">
1445 <?php
1446 $this->wp_chatbot_opening_hours('thursday',$wpwbot_times);
1447 ?>
1448 </div>
1449 <div class="col-xs-3">
1450 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="thursday">
1451 <i class="fa fa-plus" aria-hidden="true"></i> Add
1452 </button>
1453 </div>
1454 </div>
1455 <div class="row">
1456 <div class="col-xs-3">Friday</div>
1457 <div class="col-xs-4 wp-chatbot-day">
1458 <?php
1459 $this->wp_chatbot_opening_hours('friday',$wpwbot_times);
1460 ?>
1461 </div>
1462 <div class="col-xs-3">
1463 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="friday">
1464 <i class="fa fa-plus" aria-hidden="true"></i> Add
1465 </button>
1466 </div>
1467 </div>
1468 <div class="row">
1469 <div class="col-xs-3">Saturday</div>
1470 <div class="col-xs-4 wp-chatbot-day">
1471 <?php
1472 $this->wp_chatbot_opening_hours('saturday',$wpwbot_times);
1473 ?>
1474 </div>
1475 <div class="col-xs-3">
1476 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="saturday">
1477 <i class="fa fa-plus" aria-hidden="true"></i> Add
1478 </button>
1479 </div>
1480 </div>
1481 <div class="row">
1482 <div class="col-xs-3">Sunday</div>
1483 <div class="col-xs-4 wp-chatbot-day">
1484 <?php
1485 $this->wp_chatbot_opening_hours('sunday',$wpwbot_times);
1486 ?>
1487 </div>
1488 <div class="col-xs-3">
1489 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="sunday">
1490 <i class="fa fa-plus" aria-hidden="true"></i> Add
1491 </button>
1492 </div>
1493 </div>
1494 </div>
1495 </div>
1496 </div>
1497
1498 </section>-->
1499 <section id="section-flip-6">
1500 <div class="top-section">
1501 <div class="wp-chatbot-language-center-summmery">
1502 <p><?php _e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1503 </div>
1504 <div class="row">
1505 <div class="col-xs-12">
1506 <p class="wpqcld_chk_seft">
1507 <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>
1508 </p>
1509 </div>
1510 </div>
1511 <div class="row">
1512 <div class="col-xs-12">
1513 <h4 class="qc-opt-title"><?php echo esc_html__('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1514 <div class="cxsc-settings-blocks">
1515 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1516 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1517 <label for="enable_wp_chatbot_dailogflow"><?php echo esc_html__('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1518 </div>
1519 </div>
1520 <div class="col-xs-12">
1521 <br>
1522 <p><?php echo esc_html__('Log in to DialogFlow Console from', 'wpchatbot'); ?>
1523 <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'); ?>
1524
1525 <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>
1526 </div>
1527
1528 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1529 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow API Version', 'wpchatbot'); ?></h4>
1530 <div class="form-group">
1531
1532 <label class="radio-inline">
1533 <input id="wp-chatbot-df-api" type="radio"
1534 name="wp_chatbot_df_api"
1535 value="v1" <?php echo(get_option('wp_chatbot_df_api') == 'v1' ? 'checked' : ''); ?>>
1536 <?php echo esc_html__('Dialogflow API V1', 'wpchatbot'); ?>
1537 </label>
1538 <label class="radio-inline">
1539 <input id="wp-chatbot-df-api" type="radio"
1540 name="wp_chatbot_df_api"
1541 value="v2" <?php echo(get_option('wp_chatbot_df_api') == 'v2' ? 'checked' : ''); ?>>
1542 <?php echo esc_html__('Dialogflow API V2', 'wpchatbot'); ?>
1543 </label>
1544
1545 </div>
1546
1547 <div id="wp-chatbot-df-section-v2">
1548 <!-- Dialogflow V2 Configuration -->
1549
1550 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
1551 <div class="form-group">
1552
1553 <br>
1554 <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>
1555 <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>
1556 <div class="qcld-wpbot-gcdownload-area">
1557 <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>
1558 <?php
1559 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
1560 echo '<span style="color:red;font-size: 12px;"><b>wp-content</b> folder is not writable.</span>';
1561 }
1562 ?>
1563 <br><br>
1564 <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>
1565 <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>
1566 <p>2. Unzip the <b>wpbotgc.zip</b> inside to your computer.</p>
1567 <p>3. Create a folder with name <b>wpbot-dfv2-client</b> under <b>wp-content</b> into your server.</p>
1568 <p>4. Upload the upziped files and folders into <b>wpbot-dfv2-client</b> via FTP.</p>
1569
1570
1571 <div class="qcld_wpbot_download_statuses">
1572
1573 </div>
1574 </div>
1575 <br>
1576
1577 </div>
1578 <?php else: ?>
1579 <div class="form-group">
1580 <h4 class="qc-opt-title" style="color:green"><?php echo esc_html__('Google Client Package is Installed on Your System.', 'wpchatbot'); ?></h4>
1581 </div>
1582 <?php endif; ?>
1583
1584 <div class="form-group">
1585 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?></h4>
1586 <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>
1587 <input type="text" class="form-control qc-opt-dcs-font"
1588 name="qlcd_wp_chatbot_dialogflow_project_id"
1589 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'); ?>">
1590 </div>
1591
1592 <div class="form-group">
1593 <h4 class="qc-opt-title"><?php echo esc_html__('Private Key', 'wpchatbot'); ?></h4>
1594 <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>
1595 <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>
1596 </div>
1597
1598
1599
1600 <!-- End Dialogflow V2 Configuration -->
1601 </div>
1602
1603 <div id="wp-chatbot-df-section-v1">
1604
1605 <div class="form-group">
1606 <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'); ?></>
1607 </div>
1608
1609 <div class="form-group">
1610 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow client Access Token', 'wpchatbot'); ?></h4>
1611 <input type="text" class="form-control qc-opt-dcs-font"
1612 name="qlcd_wp_chatbot_dialogflow_client_token"
1613 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'); ?>">
1614 </div>
1615 </div>
1616 <div class="form-group">
1617 <h4 class="qc-opt-title"><?php echo esc_html__('Please Click the Button Below to Test Dialogflow Connection.', 'wpchatbot'); ?> </h4>
1618 <div class="cxsc-settings-blocks">
1619 <button class="btn btn-primary" id="qc_wpbot_df_status">Test Dialogflow Connection</button>
1620 <div class="qcwp_df_status"></div>
1621 </div>
1622 </div>
1623 <br>
1624 <div class="form-group">
1625 <h4 class="qc-opt-title"><?php _e('DialofFlow Default reply', 'wpchatbot'); ?></h4>
1626 <input type="text" class="form-control qc-opt-dcs-font"
1627 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
1628 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'); ?>">
1629 </div>
1630
1631
1632 <div class="form-group">
1633 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpchatbot'); ?></h4>
1634 <input type="text" class="form-control qc-opt-dcs-font"
1635 name="qlcd_wp_chatbot_dialogflow_agent_language"
1636 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'); ?>">
1637 </div>
1638
1639 </div>
1640 </div>
1641 </div>
1642
1643 </section>
1644 <!--<section id="section-flip-10">
1645 <div class="wp-chatbot-language-center-summmery">
1646 <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>
1647 </div>
1648 <div class="top-section">
1649 <div class="row">
1650 <div class="col-xs-12">
1651 <h4 class="qc-opt-title"><?php _e('Mobile App Pages', 'wpchatbot'); ?> </h4>
1652 <div class="cxsc-settings-blocks">
1653 <input value="1" id="wp_chatbot_app_pages" type="checkbox"
1654 name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>>
1655 <label for="wp_chatbot_app_pages"><?php _e('Create pages for WpBot Mobile App', 'wpchatbot'); ?> </label>
1656 </div>
1657 <br>
1658 <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>
1659 <ol>
1660 <li><?php _e('WpBot Mobile App', 'wpchatbot'); ?></li>
1661 <li><?php _e('WpBot App Checkout', 'wpchatbot'); ?></li>
1662 <li><?php _e('WpBot App Order Thank You', 'wpchatbot'); ?></li>
1663 </ol>
1664 <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>
1665 <ol>
1666 <li><?php _e('WpBot Ionic FrameWork package', 'wpchatbot'); ?></li>
1667 <li><?php _e('WpBot PhoneGap package', 'wpchatbot'); ?></li>
1668 </ol>
1669 </div>
1670 </div>
1671 </div>
1672
1673 </section>-->
1674
1675
1676 <section id="section-flip-7">
1677 <div class="top-section">
1678 <div class="row">
1679 <div class="col-xs-12">
1680
1681 <?php wp_enqueue_style( 'qcpd-google-font-lato', 'https://fonts.googleapis.com/css?family=Lato' ); ?>
1682 <?php wp_enqueue_style( 'qcpd-style-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/style.css' ); ?>
1683 <?php wp_enqueue_style( 'qcpd-style-responsive-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/responsive.css' ); ?>
1684
1685 <div class="qc_support_container"><!--qc_support_container-->
1686
1687 <div class="qc_tabcontent clearfix-div">
1688 <div class="qc-row">
1689 <div class="wpbot-chatbot-pro-link">
1690 <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>
1691 </div>
1692 <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>
1693 <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>
1694
1695 <div class="qc-column-6"><!-- qc-column-4 -->
1696 <!-- Feature Box 1 -->
1697 <div class="support-block support-block-custom">
1698 <div class="support-block-img">
1699 <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/conversational-forns.png'); ?>" alt="">
1700 </div>
1701 <div class="support-block-info">
1702 <h4><a href="#">Conversational Form Addon</a></h4>
1703 <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>
1704 <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>
1705
1706 </div>
1707 </div>
1708 </div><!--/qc-column-4 -->
1709
1710 <div class="qc-column-6"><!-- qc-column-4 -->
1711 <!-- Feature Box 1 -->
1712 <div class="support-block support-block-custom">
1713 <div class="support-block-img">
1714 <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>
1715 </div>
1716 <div class="support-block-info">
1717 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Woocommerce Addon</a></h4>
1718 <p>Utilize the Chatbot on your Woocommerce website and make a Woocommerce Chatbot with zero configuration</p>
1719
1720 </div>
1721 </div>
1722 </div><!--/qc-column-4 -->
1723
1724 <div class="qc-column-6"><!-- qc-column-4 -->
1725 <!-- Feature Box 1 -->
1726 <div class="support-block support-block-custom">
1727 <div class="support-block-img">
1728 <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>
1729 </div>
1730 <div class="support-block-info">
1731 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Messenger ChatBot Addon</a></h4>
1732 <p>Utilize the WPBot on your website as a hub to respond to customer questions on FB Page & Messenger</p>
1733 <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>
1734
1735 </div>
1736 </div>
1737 </div><!--/qc-column-4 -->
1738
1739 <div class="qc-column-6"><!-- qc-column-4 -->
1740 <!-- Feature Box 1 -->
1741 <div class="support-block support-block-custom">
1742 <div class="support-block-img">
1743 <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>
1744 </div>
1745 <div class="support-block-info">
1746 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Extended Search</a></h4>
1747 <p>Extend WPBot’s search power to include almost any Custom Post Type including WooCommerce</p>
1748
1749 </div>
1750 </div>
1751 </div><!--/qc-column-4 -->
1752
1753
1754 <div class="qc-column-6"><!-- qc-column-4 -->
1755 <!-- Feature Box 1 -->
1756 <div class="support-block support-block-custom">
1757 <div class="support-block-img">
1758 <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>
1759 </div>
1760 <div class="support-block-info">
1761 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Session Save Addon</a></h4>
1762 <p>This AddOn saves the user chat sessions and helps you fine tune the bot for better support and performance.</p>
1763
1764 </div>
1765 </div>
1766 </div><!--/qc-column-4 -->
1767
1768
1769 <div class="qc-column-6"><!-- qc-column-4 -->
1770 <!-- Feature Box 1 -->
1771 <div class="support-block support-block-custom">
1772 <div class="support-block-img">
1773 <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>
1774 </div>
1775 <div class="support-block-info">
1776 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">LiveChat Addon</a></h4>
1777 <p>Live Human Chat integrated with WPBot<p/>
1778 </div>
1779 </div>
1780 </div><!--/qc-column-4 -->
1781
1782 <div class="qc-column-6"><!-- qc-column-4 -->
1783 <!-- Feature Box 1 -->
1784 <div class="support-block support-block-custom">
1785 <div class="support-block-img">
1786 <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>
1787 </div>
1788 <div class="support-block-info">
1789 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">White Label WPBot</a></h4>
1790 <p>Replace the QuantumCloud Logo and branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients.<p/>
1791 </div>
1792 </div>
1793 </div><!--/qc-column-4 -->
1794
1795 <div class="qc-column-6"><!-- qc-column-4 -->
1796 <!-- Feature Box 1 -->
1797 <div class="support-block support-block-custom">
1798 <div class="support-block-img">
1799 <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>
1800 </div>
1801 <div class="support-block-info">
1802 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Mailing List Integration AddOn</a></h4>
1803 <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/>
1804 </div>
1805 </div>
1806 </div><!--/qc-column-4 -->
1807 <div class="qc-column-6"><!-- qc-column-4 -->
1808 <!-- Feature Box 1 -->
1809 <div class="support-block support-block-custom">
1810 <div class="support-block-img">
1811 <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>
1812 </div>
1813 <div class="support-block-info">
1814 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">More Addons</a></h4>
1815 <p>Check out all the available ChatBot AddOns<p/>
1816 </div>
1817 </div>
1818 </div><!--/qc-column-4 -->
1819 <div class="qc-column-12"><!-- qc-column-4 -->
1820 <!-- Feature Box 1 -->
1821 <div class="support-block ">
1822 <div class="support-block-img">
1823 <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>
1824 </div>
1825 <div class="support-block-info">
1826 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Master Theme</a></h4>
1827 <p style="margin-top: -24px;margin-bottom: 50px;">Get a ChatBot Powered Theme!</p>
1828 </div>
1829 </div>
1830 </div><!--/qc-column-4 -->
1831
1832 </div>
1833 <!--qc row-->
1834 </div>
1835
1836 </div><!--qc_support_container-->
1837
1838
1839
1840 </div>
1841 </div>
1842 <!-- row-->
1843 </div>
1844 </section>
1845
1846
1847 </div><!-- /content -->
1848 </div><!-- /wp-chatbot-tabs -->
1849 <footer class="wp-chatbot-admin-footer">
1850 <div class="row">
1851 <div class="text-left col-sm-3 col-sm-offset-3">
1852 <input type="button" class="btn btn-warning submit-button"
1853 id="qcld-wp-chatbot-reset-option"
1854 value="<?php _e('Reset all options to Default', 'wpchatbot'); ?>"/>
1855 </div>
1856 <div class="text-right col-sm-6">
1857 <input type="submit" class="btn btn-primary submit-button" name="submit"
1858 id="submit" value="<?php _e('Save Settings', 'wpchatbot'); ?>"/>
1859 </div>
1860 </div>
1861 <!-- row-->
1862 </footer>
1863 </section>
1864 </div>
1865 <?php wp_nonce_field('wp_chatbot'); ?>
1866 </form>