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

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