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

1,952 lines 150.9 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 <br>
517 <div class="cxsc-settings-blocks">
518 <div class="form-group">
519 <h4 class="qc-opt-title">
520 <?php _e('WPBot Icon Background Color.', 'woochatbot'); ?>
521 </h4>
522 <input id="wp_chatbot_floatingiconbg_color" type="text"
523 name="wp_chatbot_floatingiconbg_color"
524 value="<?php echo(get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color') : '#fff'); ?>"/>
525 </div>
526 </div>
527 </div>
528 </div>
529 <div class="row">
530 <div class="col-xs-12">
531 <h4 class="qc-opt-title"><?php esc_html_e(' Upload custom Icon ', 'wpchatbot'); ?></h4>
532 <div class="cxsc-settings-blocks">
533 <input type="hidden" name="wp_chatbot_custom_icon_path"
534 id="wp_chatbot_custom_icon_path"
535 value="<?php echo $wp_chatbot_custom_icon_path; ?>"/>
536 <button type="button" class="wp_chatbot_custom_icon_button button"><?php esc_html_e('Upload Icon', 'wpchatbot'); ?> </button>
537 </div>
538
539 </div>
540 </div>
541 </div>
542
543 <div class="top-section">
544 <div class="row">
545 <div class="col-xs-12">
546 <h4 class="qc-opt-title"><?php esc_html_e(' WPBot Agent Image', 'wpchatbot'); ?></h4>
547 <div class="cxsc-settings-blocks">
548 <ul class="radio-list">
549 <li>
550 <label for="wp_chatbot_agent_image_def" class="qc-opt-dcs-font">
551 <img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>icon-0.png"
552 alt=""> <input id="wp_chatbot_agent_image_def" type="radio"
553 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? 'checked' : ''); ?>
554 value="agent-0.png">
555
556 <?php esc_html_e('Default Agent', 'wpchatbot'); ?></label>
557 </li>
558 <li>
559 <?php
560 if (get_option('wp_chatbot_custom_agent_path') != "") {
561 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
562 } else {
563 $wp_chatbot_custom_agent_path = QCLD_wpCHATBOT_IMG_URL . 'custom-agent.png';
564 }
565 ?>
566 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font">
567 <img id="wp_chatbot_custom_agent_src"
568 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
569 alt="Agent">
570 <input type="radio" name="wp_chatbot_agent_image"
571 id="wp_chatbot_agent_image_custom"
572 value="custom-agent.png" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? 'checked' : ''); ?>>
573 <?php echo esc_html__('Custom Agent', 'wpchatbot'); ?></label>
574 </li>
575
576 </ul>
577 </div>
578 <!-- cxsc-settings-blocks-->
579 </div>
580 </div>
581 <div class="row">
582 <div class="col-xs-12">
583 <h4 class="qc-opt-title"> <?php esc_html_e('Custom Agent Icon', 'wpchatbot'); ?> </h4>
584 <div class="cxsc-settings-blocks">
585 <input type="hidden" name="wp_chatbot_custom_agent_path"
586 id="wp_chatbot_custom_agent_path"
587 value="<?php echo $wp_chatbot_custom_agent_path; ?>"/>
588 <button type="button" class="wp_chatbot_custom_agent_button button"><?php esc_html_e('Upload Agent Icon', 'wpchatbot'); ?></button>
589 </div>
590 </div>
591 </div>
592 </div>
593 <div id="top-section">
594 <div class="row">
595 <div class="col-sm-12">
596 <h4 class="qc-opt-title"> <?php esc_html_e('WPBot Themes', 'wpchatbot'); ?></h4>
597 </div>
598 </div>
599 <div class="row">
600 <div class="col-sm-3">
601 <label for="qcld_wb_chatbot_theme_0">
602 <img class="thumbnail theme_prev"
603 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-00.JPG"
604 alt="Theme Basic">
605 <input id="qcld_wb_chatbot_theme_0" type="radio"
606 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? 'checked' : ''); ?>
607 value="template-00">
608 <?php esc_html_e('Theme Basic', 'wpchatbot'); ?></label>
609 </div>
610 <div class="col-sm-3">
611 <label for="qcld_wb_chatbot_theme_1">
612 <img class="thumbnail theme_prev"
613 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-01.JPG"
614 alt="Theme Basic">
615 <input id="qcld_wb_chatbot_theme_1" type="radio"
616 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? 'checked' : ''); ?>
617 value="template-01">
618 <?php esc_html_e('Theme One', 'wpchatbot'); ?></label>
619 </div>
620
621
622
623 </div>
624
625 </div>
626 <!--<hr>
627 <div id="top-section">
628 <div class="row">
629 <div class="col-sm-12">
630 <h4 class="qc-opt-title"> <?php esc_html_e('Custom Backgroud', 'wpchatbot'); ?></h4>
631 <div class="cxsc-settings-blocks">
632 <input value="1" id="qcld_wb_chatbot_change_bg" type="checkbox"
633 name="qcld_wb_chatbot_change_bg" <?php echo(get_option('qcld_wb_chatbot_change_bg') == 1 ? 'checked' : ''); ?>>
634 <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>
635 </div>
636 </div>
637 </div>
638 <div class="row qcld-wp-chatbot-board-bg-container" <?php if (get_option('qcld_wb_chatbot_change_bg') != 1) {
639 echo 'style="display:none"';
640 } ?>>
641 <div class="col-xs-6">
642 <p class="wp-chatbot-settings-instruction"> <?php esc_html_e('Upload wpwBot message board background (Ideal image size 376px X 688px).', 'wpchatbot'); ?> </p>
643 <div class="cxsc-settings-blocks">
644 <?php
645 if (get_option('qcld_wb_chatbot_board_bg_path') != "") {
646 $qcld_wb_chatbot_board_bg_path = get_option('qcld_wb_chatbot_board_bg_path');
647 } else {
648 $qcld_wb_chatbot_board_bg_path = QCLD_wpCHATBOT_IMG_URL . 'background/background.png';
649 }
650 ?>
651 <input type="hidden" name="qcld_wb_chatbot_board_bg_path"
652 id="qcld_wb_chatbot_board_bg_path"
653 value="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"/>
654 <button type="button" class="qcld_wb_chatbot_board_bg_button button"><?php esc_html_e('Upload WpBot background.', 'wpchatbot'); ?></button>
655 </div>
656 </div>
657
658 <div class="col-xs-6">
659 <p class="wp-chatbot-settings-instruction"> <?php esc_html_e('Custom message board background', 'wpchatbot'); ?> </p>
660 <img id="qcld_wb_chatbot_board_bg_image" style="height:100%;width:100%"
661 src="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"
662 alt="Custom Background">
663 </div>
664 </div>
665 </div>-->
666 </section>
667 <section id="section-flip-3">
668 <div class="row">
669 <div class="col-xs-12">
670
671
672
673 </div>
674 </div>
675 <div class="top-section">
676 <h4 class="qc-opt-title"><?php esc_html_e('Build FAQ Query and Answers', 'wpchatbot'); ?></h4>
677 <div class="block-inner ui-sortable" id="wp-chatbot-support-builder">
678 <?php
679 $support_quereis=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_query')));
680 $support_ans=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_ans')));
681 if (count($support_ans) >= 1) {
682 //foreach (get_option('support_ans') as $support_ans){
683 $query_ans_counter=0;
684 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
685 ?>
686 <div class="row">
687 <span class="pull-right"> </span>
688 <div class="col-xs-12">
689 <button type="button"
690 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
691 <i class="fa fa-times" aria-hidden="true"></i>
692 </button>
693 <span class="wp-chatbot-support-cross pull-right" >
694 <i class="fa fa-crosshairs" aria-hidden="true"></i>
695 </span>
696 <div class="cxsc-settings-blocks">
697 <p class="qc-opt-dcs-font"><?php esc_html_e('FAQ query ', 'wpchatbot'); ?></p>
698 <input type="text" class="form-control" name="support_query[]"
699 placeholder="<?php esc_html_e('FAQ query ', 'wpchatbot'); ?>" value="<?php echo $query ?>">
700 <br>
701 <p class="qc-opt-dcs-font"><?php esc_html_e('FAQ answer', 'wpchatbot'); ?></p>
702 <?php wp_editor(html_entity_decode(stripcslashes($ans)), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
703 'support_ans[]',
704 'textarea_rows' => 20,
705 'editor_height' => 100,
706 'disabled' => 'disabled',
707 'media_buttons' => false,
708 'tinymce' => array(
709 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
710 )); ?>
711 </div>
712 </div>
713 </div>
714 <?php
715 $query_ans_counter++;
716 }
717 //}
718 } else {
719 ?>
720 <div class="row">
721 <div class="col-xs-12">
722 <button type="button"
723 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
724 <i class="fa fa-times" aria-hidden="true"></i>
725 </button>
726 <span class="wp-chatbot-support-cross pull-right" >
727 <i class="fa fa-crosshairs" aria-hidden="true"></i>
728 </span>
729 <div class="cxsc-settings-blocks">
730 <p class="qc-opt-dcs-font"><?php esc_html_e('Support query', 'wpchatbot'); ?> </p>
731 <input type="text" class="form-control" name="support_query[]"
732 placeholder="<?php esc_html_e('Support query ', 'wpchatbot'); ?>">
733 <br>
734 <p class="qc-opt-dcs-font"><strong><?php esc_html_e('Support answer', 'wpchatbot'); ?></strong></p>
735 <?php wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
736 'support_ans[]',
737 'textarea_rows' => 20,
738 'editor_height' => 100,
739 'disabled' => 'disabled',
740 'media_buttons' => false,
741 'tinymce' => array(
742 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
743 )); ?>
744 </div>
745 <br>
746 </div>
747 </div>
748 <?php
749 }
750 ?>
751 </div>
752 <div class="row">
753 <div class="col-sm-6 text-left"></div>
754 <div class="col-sm-6 text-right">
755 <button class="btn btn-success btn-sm" type="button"
756 id="add-more-support-query"><i
757 class="fa fa-plus" aria-hidden="true"></i> <?php esc_html_e('Add More Questions and Answers', 'wpchatbot'); ?>
758 </button>
759 </div>
760 </div>
761 </div>
762 </section>
763 <!--<section id="section-flip-4">
764 <div class="top-section">
765 <div class="notification-block-inner">
766 <div class="row">
767 <div class="col-xs-12">
768 <div class="cxsc-settings-blocks">
769 <?php $notification_interval = get_option('qlcd_wp_chatbot_notification_interval') != "" ? get_option('qlcd_wp_chatbot_notification_interval') : 5 ?>
770 <h4 class="qc-opt-title"><?php esc_html_e('Interval between notifications (in Seconds).', 'wpchatbot'); ?></h4>
771 <input type="text" class="form-control"
772 name="qlcd_wp_chatbot_notification_interval"
773 value="<?php echo $notification_interval ?>">
774 </div>
775 </div>
776 </div>
777
778 <?php
779 $notifications = $this->qcld_wb_chatbot_str_replace(unserialize(get_option('qlcd_wp_chatbot_notifications')));
780 if (!empty($notifications)) {
781 $chatbot_notif_counter=0;
782 foreach ($notifications as $notification) {
783 ?>
784 <div class="row">
785 <div class="col-xs-12">
786 <button type="button"
787 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
788 <i class="fa fa-times" aria-hidden="true"></i>
789 </button>
790 <div class="cxsc-settings-blocks">
791 <?php wp_editor(html_entity_decode(stripcslashes($notification)), 'qlcd_wp_chatbot_notifications_'.$chatbot_notif_counter, array('textarea_name' =>
792 'qlcd_wp_chatbot_notifications[]',
793 'textarea_rows' => 20,
794 'editor_height' => 100,
795 'disabled' => 'disabled',
796 'media_buttons' => false,
797 'tinymce' => array(
798 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
799 )); ?>
800 </div>
801 </div>
802
803 </div>
804
805 <?php
806 $chatbot_notif_counter++;
807 }
808 //}
809 } else {
810 ?>
811 <div class="row">
812 <div class="col-xs-12">
813 <button type="button"
814 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
815 <i class="fa fa-times" aria-hidden="true"></i>
816 </button>
817 <div class="cxsc-settings-blocks">
818 <?php wp_editor(html_entity_decode(stripcslashes('')), 'qlcd_wp_chatbot_notifications_0', array('textarea_name' =>
819 'qlcd_wp_chatbot_notifications[]',
820 'textarea_rows' => 20,
821 'editor_height' => 100,
822 'disabled' => 'disabled',
823 'media_buttons' => false,
824 'tinymce' => array(
825 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
826 )); ?>
827 </div>
828 </div>
829 </div>
830 <?php
831 }
832 ?>
833 </div>
834 <div class="row">
835 <div class="col-sm-6 text-left"></div>
836 <div class="col-sm-6 text-right">
837 <button class="btn btn-success btn-sm" type="button"
838 id="add-more-notification-message">
839 <i class="fa fa-plus" aria-hidden="true"></i> <?php esc_html_e('Add', 'wpchatbot'); ?>
840 </button>
841 </div>
842 </div>
843
844 </div>
845
846 </section>-->
847 <section id="section-flip-4">
848 <div class="wp-chatbot-language-center-summmery">
849
850 </div>
851 <ul class="nav nav-tabs">
852 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general"><?php esc_html_e('General', 'wpchatbot'); ?></a></li>
853
854 <li><a data-toggle="tab" href="#wp-chatbot-lng-support"><?php esc_html_e('FAQ', 'wpchatbot'); ?></a></li>
855
856 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword"><?php esc_html_e('ChatBot Keywords', 'wpchatbot'); ?></a></li>
857 </ul>
858 <div class="tab-content">
859 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
860 <div class="top-section">
861 <div class="row">
862 <div class="col-xs-12" id="wp-chatbot-language-section">
863
864 <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>
865 <p>You could use &lt;br&gt; tag for line break.</p>
866
867 <div class="form-group">
868 <h4 class="qc-opt-title"><?php esc_html_e('Your Company or Website Name', 'wpchatbot'); ?></h4>
869 <input type="text" class="form-control qc-opt-dcs-font"
870 name="qlcd_wp_chatbot_host"
871 value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?>">
872 </div>
873 <div class="form-group">
874 <h4 class="qc-opt-title"><?php esc_html_e('Agent name', 'wpchatbot'); ?></h4>
875 <input type="text" class="form-control qc-opt-dcs-font"
876 name="qlcd_wp_chatbot_agent"
877 value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>">
878 </div>
879 <div class="form-group">
880 <h4 class="qc-opt-title"><?php esc_html_e('User demo name', 'wpchatbot'); ?></h4>
881 <input type="text" class="form-control qc-opt-dcs-font"
882 name="qlcd_wp_chatbot_shopper_demo_name"
883 value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?>">
884 </div>
885 <div class="form-group">
886 <h4 class="qc-opt-title"><?php esc_html_e('YES', 'wpchatbot'); ?></h4>
887 <input type="text" class="form-control qc-opt-dcs-font"
888 name="qlcd_wp_chatbot_yes"
889 value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>">
890 </div>
891 <div class="form-group">
892 <h4 class="qc-opt-title"><?php esc_html_e('NO', 'wpchatbot'); ?></h4>
893 <input type="text" class="form-control qc-opt-dcs-font"
894 name="qlcd_wp_chatbot_no"
895 value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>">
896 </div>
897 <div class="form-group">
898 <h4 class="qc-opt-title"><?php esc_html_e('OR', 'wpchatbot'); ?></h4>
899 <input type="text" class="form-control qc-opt-dcs-font"
900 name="qlcd_wp_chatbot_or"
901 value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>">
902 </div>
903 <div class="form-group">
904 <h4 class="qc-opt-title"><?php esc_html_e('Sorry', 'wpchatbot'); ?></h4>
905 <input type="text" class="form-control qc-opt-dcs-font"
906 name="qlcd_wp_chatbot_sorry"
907 value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>">
908 </div>
909 <div class="form-group">
910 <?php
911 $agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join'));
912 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
913 $agent_join_text = __('has joined the conversation', 'wpchatbot');
914 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
915 ?>
916 </div>
917 </div>
918 <!--col-xs-12-->
919 <div class="col-xs-12" id="wp-chatbot-language-section">
920 <h4 class="text-success"><?php esc_html_e(' Message setting for Greetings: ', 'wpchatbot'); ?></h4>
921 <div class="form-group">
922 <?php
923 $welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome'));
924 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
925 $welcome_to_text =__('Welcome to', 'wpchatbot');
926 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
927 ?>
928 </div>
929 <div class="form-group">
930 <?php
931 $welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
932 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
933 $welcome_back_text = __('Welcome back', 'wpchatbot');
934 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
935 ?>
936 </div>
937 <div class="form-group">
938 <?php
939 $back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
940 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
941 $back_to_start_text = __('Back to Start', 'wpchatbot');
942 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
943 ?>
944 </div>
945 <div class="form-group">
946 <?php
947 $hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there'));
948 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
949 $hi_there_text = __('Hi There!', 'wpchatbot');
950 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
951 ?>
952 </div>
953 <div class="form-group">
954 <?php
955 $asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name'));
956 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
957 $asking_name_text = __('May I know your name?', 'wpchatbot');
958 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
959 ?>
960 </div>
961 <div class="form-group">
962 <?php
963 $i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am'));
964 $i_am_option = 'qlcd_wp_chatbot_i_am';
965 $i_am_text = __('I am', 'wpchatbot');
966 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
967 ?>
968 </div>
969 <div class="form-group">
970 <?php
971 $name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
972 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
973 $name_greeting_text = __('Nice to meet you', 'wpchatbot');
974 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
975 ?>
976 </div>
977 <div class="form-group">
978 <?php
979 $wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
980 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
981 $wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpchatbot');
982 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
983 ?>
984 </div>
985 <div class="form-group">
986 <?php
987 $empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
988 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
989 $empty_filter_msg_text = __('Sorry, I did not understand that', 'wpchatbot');
990 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
991 ?>
992 </div>
993
994 <div class="form-group">
995 <?php
996 $qlcd_wp_chatbot_did_you_mean = unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
997 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
998 $wp_chatbot_no_result_text = esc_html__('Did you mean?', 'wpchatbot');
999 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1000 ?>
1001 </div>
1002
1003 <h4 class="text-success"> <?php esc_html_e('Message setting for Editor Box ', 'wpchatbot'); ?></h4>
1004 <div class="form-group">
1005 <?php
1006 $is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1007 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1008 $is_typing_text = __('is typing...', 'wpchatbot');
1009 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1010 ?>
1011 </div>
1012 <div class="form-group">
1013 <?php
1014 $send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1015 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1016 $send_a_msg_text =__('Send a message', 'wpchatbot');
1017 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1018 ?>
1019 </div>
1020 <div class="form-group">
1021 <?php
1022 $choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1023 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1024 $choose_option_text = __('Choose an option', 'wpchatbot');
1025 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1026 ?>
1027 </div>
1028
1029
1030
1031 <div class="form-group">
1032 <?php
1033 $asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1034 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1035 $asking_email_text = __('Please provide your email address', 'wpchatbot');
1036 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1037 ?>
1038 </div>
1039 <div class="form-group">
1040 <?php
1041 $invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1042 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1043 $invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpchatbot');
1044 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1045 ?>
1046 </div>
1047 <div class="form-group">
1048 <?php
1049 $asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1050 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1051 $asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpchatbot');
1052 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1053 ?>
1054 </div>
1055
1056
1057
1058 <div class="form-group">
1059 <h4 class="qc-opt-title"><?php esc_html_e('WPBot Support Mail Subject', 'wpchatbot'); ?></h4>
1060 <input type="text" class="form-control qc-opt-dcs-font"
1061 name="qlcd_wp_chatbot_email_sub"
1062 value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject'); ?>">
1063 </div>
1064
1065 <div class="form-group">
1066 <?php
1067 $support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1068 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1069 $support_option_again_text = __('You may choose option from below.', 'wpchatbot');
1070 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1071 ?>
1072 </div>
1073
1074 <div class="form-group">
1075 <h4 class="qc-opt-title"><?php esc_html_e('Your email was sent successfully.Thanks!', 'wpchatbot'); ?></h4>
1076 <input type="text" class="form-control qc-opt-dcs-font"
1077 name="qlcd_wp_chatbot_email_sent"
1078 value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?>">
1079 </div>
1080 <div class="form-group">
1081 <h4 class="qc-opt-title"><?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1082 <input type="text" class="form-control qc-opt-dcs-font"
1083 name="qlcd_wp_chatbot_email_fail"
1084 value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_fail')) : 'Sorry! fail to send email'); ?>">
1085 </div>
1086
1087
1088
1089
1090 <div class="form-group">
1091 <?php
1092 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1093 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1094 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1095 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1096 ?>
1097 </div>
1098 <div class="form-group">
1099 <?php
1100 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1101 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1102 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1103 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1104 ?>
1105 </div>
1106
1107 <div class="form-group">
1108 <h4 class="qc-opt-title"><?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1109 <input type="text" class="form-control qc-opt-dcs-font"
1110 name="qlcd_wp_chatbot_phone_sent"
1111 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!'); ?>">
1112 </div>
1113 <div class="form-group">
1114 <h4 class="qc-opt-title"><?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1115 <input type="text" class="form-control qc-opt-dcs-font"
1116 name="qlcd_wp_chatbot_phone_fail"
1117 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!'); ?>">
1118 </div>
1119
1120
1121
1122
1123
1124
1125 </div>
1126 </div>
1127 </div>
1128 </div>
1129
1130 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1131 <div class="top-section">
1132 <div class="row">
1133 <div class="col-xs-12" id="wp-chatbot-language-section">
1134
1135 <div class="form-group">
1136 <?php
1137 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1138 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1139 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1140 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1141 ?>
1142 </div>
1143
1144
1145
1146 <!--<div class="form-group">
1147 <?php
1148 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1149 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1150 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1151 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1152 ?>
1153 </div>-->
1154
1155
1156 </div>
1157 </div>
1158 </div>
1159 </div>
1160
1161 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1162 <div class="top-section">
1163 <div class="row">
1164 <div class="col-xs-12" id="wp-chatbot-language-section">
1165 <div class="form-group">
1166 <h4 class="qc-opt-title"><?php esc_html_e('Start Keyword', 'wpchatbot'); ?></h4>
1167 <input type="text" class="form-control qc-opt-dcs-font"
1168 name="qlcd_wp_chatbot_sys_key_help"
1169 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1170 </div>
1171
1172
1173
1174 <div class="form-group">
1175 <h4 class="qc-opt-title"><strong><?php esc_html_e('FAQ', 'wpchatbot'); ?></strong> <?php esc_html_e('Keyword', 'wpchatbot'); ?></h4>
1176 <input type="text" class="form-control qc-opt-dcs-font"
1177 name="qlcd_wp_chatbot_sys_key_support"
1178 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1179 </div>
1180 <div class="form-group">
1181 <h4 class="qc-opt-title"><strong><?php esc_html_e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php esc_html_e('Keyword', 'wpchatbot'); ?></h4>
1182 <input type="text" class="form-control qc-opt-dcs-font"
1183 name="qlcd_wp_chatbot_sys_key_reset"
1184 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1185 </div>
1186 <div class="form-group">
1187 <?php
1188 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1189 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1190 $help_welcome_text = 'Welcome to Help Section';
1191 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1192 ?>
1193 </div>
1194 <div class="form-group">
1195 <?php
1196 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1197 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1198 $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.';
1199 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1200 ?>
1201 </div>
1202 <div class="form-group">
1203 <?php
1204 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1205 $reset_option = 'qlcd_wp_chatbot_reset';
1206 $reset_text = 'Do you want to clear our chat history and start over?';
1207 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1208 ?>
1209 </div>
1210 </div>
1211 <!-- col-xs-12-->
1212 </div>
1213 <!-- row-->
1214 </div>
1215 <!-- top-section-->
1216 </div>
1217
1218 </div>
1219 <!-- tab-content-->
1220 </section>
1221
1222
1223 <section id="section-flip-5">
1224 <?php
1225 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');
1226 ?>
1227 <div class="top-section">
1228 <div class="notification-block-inner">
1229 <div class="row">
1230 <div class="col-xs-12">
1231
1232 <div class="row">
1233 <div class="col-xs-12">
1234 <h2>Predefined Intents</h2>
1235
1236
1237 <div class="row">
1238 <div class="col-xs-12">
1239 <h4 class="qc-opt-title"><?php esc_html_e('Call Me', 'wpchatbot'); ?> </h4>
1240 <div class="cxsc-settings-blocks">
1241 <input value="1" id="disable_wp_chatbot_call_gen" type="checkbox"
1242 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? 'checked' : ''); ?>>
1243 <label for="disable_wp_chatbot_call_gen"><?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpchatbot'); ?> </label>
1244 </div>
1245 </div>
1246 </div>
1247 <div class="form-group" style="margin-bottom:0px">
1248 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1249 <input type="text" class="form-control qc-opt-dcs-font"
1250 name="qlcd_wp_chatbot_support_phone"
1251 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!'); ?>">
1252 </div>
1253
1254 <div class="row">
1255 <div class="col-xs-12">
1256 <h4 class="qc-opt-title"><?php esc_html_e('Email', 'wpchatbot'); ?> </h4>
1257 <div class="cxsc-settings-blocks">
1258 <input value="1" id="disable_wp_chatbot_feedback" type="checkbox"
1259 name="disable_wp_chatbot_feedback" <?php echo(get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''); ?>>
1260 <label for="disable_wp_chatbot_feedback"><?php esc_html_e('Disable Email feature and button on Start Menu', 'wpchatbot'); ?> </label>
1261 </div>
1262 </div>
1263 </div>
1264 <div class="form-group" style="margin-bottom:0px">
1265 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1266 <input type="text" class="form-control qc-opt-dcs-font"
1267 name="qlcd_wp_chatbot_support_email"
1268 value="<?php echo(get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email'); ?>">
1269 </div>
1270 <div class="row">
1271 <div class="col-xs-12">
1272 <h4 class="qc-opt-title"><?php esc_html_e('FAQ', 'wpchatbot'); ?> </h4>
1273 <div class="cxsc-settings-blocks">
1274 <input value="1" id="disable_wp_chatbot_faq" type="checkbox"
1275 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? 'checked' : ''); ?>>
1276 <label for="disable_wp_chatbot_faq"><?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpchatbot'); ?> </label>
1277 </div>
1278 </div>
1279 </div>
1280 <div class="form-group" style="margin-bottom:0px">
1281 <h4 class="qc-opt-title"><?php esc_html_e('Button Label', 'wpchatbot'); ?> </h4>
1282 <input type="text" class="form-control qc-opt-dcs-font"
1283 name="qlcd_wp_chatbot_wildcard_support"
1284 value="<?php echo(get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ'); ?>">
1285 </div>
1286
1287
1288 </div>
1289 </div>
1290 <div class="qc_menu_setup_area">
1291
1292 <h2>Menu Sorting & Customization Area</h2>
1293 <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>
1294 <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>
1295 <br>
1296
1297 <div class="qc_menu_area">
1298 <h4>Acitve Menu</h4>
1299
1300 <div class="qc_menu_area_container" id="qc_menu_area">
1301
1302 <?php
1303 if(get_option('qc_wpbot_menu_order')!=''):
1304 echo stripslashes(get_option('qc_wpbot_menu_order'));
1305 else:?>
1306 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1307 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1308 <?php endif; ?>
1309
1310 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1311 <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>
1312 <?php endif; ?>
1313
1314 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1315 <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>
1316 <?php endif; ?>
1317
1318 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1319 <span class="qcld-chatbot-suggest-email qc_draggable_item_remove"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1320 <?php endif; ?>
1321
1322 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1323 <span class="qcld-chatbot-suggest-phone qc_draggable_item_remove" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1324 <?php endif; ?>
1325
1326 <?php
1327 if(class_exists('Qcformbuilder_Forms_Admin')){
1328 global $wpdb;
1329
1330 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1331 if(!empty($results)){
1332 ?>
1333 <?php
1334 foreach($results as $result){
1335 $form = unserialize($result->config);
1336 ?>
1337 <span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span>
1338 <?php
1339 }
1340 ?>
1341 <?php
1342 }
1343 }
1344 ?>
1345
1346 <?php endif; ?>
1347 </div>
1348 </div>
1349
1350 <div class="qc_menu_list_area">
1351 <h4>Available Menu</h4>
1352 <div class="qc_menu_list_container">
1353 <p>Predefined Intents</p>
1354 <ul>
1355
1356
1357
1358
1359 <li>
1360 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1361 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span>
1362 <?php endif; ?>
1363
1364 </li>
1365 <li>
1366 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1367 <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>
1368 <?php endif; ?>
1369
1370 </li>
1371
1372 <li>
1373 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1374 <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>
1375 <?php endif; ?>
1376
1377 </li>
1378
1379 <li>
1380 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1381 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span>
1382 <?php endif; ?>
1383
1384 </li>
1385
1386
1387
1388 <li>
1389 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1390 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span>
1391 <?php endif; ?>
1392
1393 </li>
1394
1395
1396 </ul>
1397
1398
1399
1400
1401 <?php
1402 if(class_exists('Qcformbuilder_Forms_Admin')){
1403 global $wpdb;
1404
1405 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1406 if(!empty($results)){
1407 ?>
1408 <p>Conversational Form</p>
1409 <ul>
1410 <?php
1411 foreach($results as $result){
1412 $form = unserialize($result->config);
1413 ?>
1414 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span></li>
1415 <?php
1416 }
1417 ?>
1418 </ul>
1419 <?php
1420 }
1421 }
1422 ?>
1423
1424
1425 </div>
1426
1427 </div>
1428
1429 </div>
1430
1431 <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo stripslashes(get_option('qc_wpbot_menu_order')); ?>' />
1432
1433 </div>
1434 </div>
1435 </div>
1436 </div>
1437 </section>
1438
1439 <!--<section id="section-flip-8">
1440 <div class="top-section">
1441 <div class="wp-chatbot-language-center-summmery">
1442 <p><?php esc_html_e('WPBot will be opened based on the following settings', 'wpchatbot'); ?> </p>
1443 </div>
1444 <div class="row">
1445 <div class="col-xs-12">
1446 <h4 class="qc-opt-title"><?php esc_html_e('Enable Bot Activity Hour', 'wpchatbot'); ?> </h4>
1447 <div class="cxsc-settings-blocks" style="padding:0 20px;">
1448 <input value="1" id="enable_wp_chatbot_opening_hour" type="checkbox"
1449 name="enable_wp_chatbot_opening_hour" <?php echo(get_option('enable_wp_chatbot_opening_hour') == 1 ? 'checked' : ''); ?>>
1450 <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>
1451 </div>
1452 </div>
1453 </div>
1454 <style>
1455 .wp-chatbot-hours-container{
1456 padding:0px 0 15px 0;
1457 display: flex;
1458 justify-content: space-between;
1459 }
1460 .wp-chatbot-hours{
1461 /*width:75%;*/
1462 display: inline-block;
1463 }
1464 .wp-chatbot-hours input{
1465 display: inline-block;
1466 width: 40%;
1467 padding-right: 10px;
1468 text-align: center;
1469 }
1470 .wp-chatbot-hours-remove{
1471 display: inline-block;
1472 /*width:20%;*/
1473 }
1474 </style>
1475 <div class="row" id="wp-chatbot-hours-wrapper">
1476 <div class="col-xs-12">
1477 <h4 class="qc-opt-title"><?php esc_html_e('WPBot Bot Activity Hours', 'wpchatbot'); ?> </h4>
1478 <?php
1479
1480 if(get_option('wpwbot_hours')){
1481 $wpwbot_times=unserialize(get_option('wpwbot_hours'));
1482 }else{
1483 $wpwbot_times=array();
1484 }
1485 ?>
1486 <div class="row">
1487 <div class="col-xs-3">Monday</div>
1488 <div class="col-xs-4 wp-chatbot-day">
1489 <?php
1490 $this->wp_chatbot_opening_hours('monday',$wpwbot_times);
1491 ?>
1492 </div>
1493 <div class="col-xs-3">
1494 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="monday">
1495 <i class="fa fa-plus" aria-hidden="true"></i> Add
1496 </button>
1497 </div>
1498 </div>
1499 <div class="row">
1500 <div class="col-xs-3">Tuesday</div>
1501 <div class="col-xs-4 wp-chatbot-day">
1502 <?php
1503 $this->wp_chatbot_opening_hours('tuesday',$wpwbot_times);
1504 ?>
1505 </div>
1506 <div class="col-xs-3">
1507 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="tuesday">
1508 <i class="fa fa-plus" aria-hidden="true"></i> Add
1509 </button>
1510 </div>
1511 </div>
1512 <div class="row">
1513 <div class="col-xs-3">Wednesday</div>
1514 <div class="col-xs-4 wp-chatbot-day">
1515 <?php
1516 $this->wp_chatbot_opening_hours('wednesday',$wpwbot_times);
1517 ?>
1518 </div>
1519 <div class="col-xs-3">
1520 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="wednesday">
1521 <i class="fa fa-plus" aria-hidden="true"></i> Add
1522 </button>
1523 </div>
1524 </div>
1525 <div class="row">
1526 <div class="col-xs-3">Thursday</div>
1527 <div class="col-xs-4 wp-chatbot-day">
1528 <?php
1529 $this->wp_chatbot_opening_hours('thursday',$wpwbot_times);
1530 ?>
1531 </div>
1532 <div class="col-xs-3">
1533 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="thursday">
1534 <i class="fa fa-plus" aria-hidden="true"></i> Add
1535 </button>
1536 </div>
1537 </div>
1538 <div class="row">
1539 <div class="col-xs-3">Friday</div>
1540 <div class="col-xs-4 wp-chatbot-day">
1541 <?php
1542 $this->wp_chatbot_opening_hours('friday',$wpwbot_times);
1543 ?>
1544 </div>
1545 <div class="col-xs-3">
1546 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="friday">
1547 <i class="fa fa-plus" aria-hidden="true"></i> Add
1548 </button>
1549 </div>
1550 </div>
1551 <div class="row">
1552 <div class="col-xs-3">Saturday</div>
1553 <div class="col-xs-4 wp-chatbot-day">
1554 <?php
1555 $this->wp_chatbot_opening_hours('saturday',$wpwbot_times);
1556 ?>
1557 </div>
1558 <div class="col-xs-3">
1559 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="saturday">
1560 <i class="fa fa-plus" aria-hidden="true"></i> Add
1561 </button>
1562 </div>
1563 </div>
1564 <div class="row">
1565 <div class="col-xs-3">Sunday</div>
1566 <div class="col-xs-4 wp-chatbot-day">
1567 <?php
1568 $this->wp_chatbot_opening_hours('sunday',$wpwbot_times);
1569 ?>
1570 </div>
1571 <div class="col-xs-3">
1572 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="sunday">
1573 <i class="fa fa-plus" aria-hidden="true"></i> Add
1574 </button>
1575 </div>
1576 </div>
1577 </div>
1578 </div>
1579 </div>
1580
1581 </section>-->
1582 <section id="section-flip-6">
1583 <div class="top-section">
1584 <div class="wp-chatbot-language-center-summmery">
1585 <p><?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1586 </div>
1587 <div class="row">
1588 <div class="col-xs-12">
1589 <p class="wpqcld_chk_seft">
1590 <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>
1591 </p>
1592 </div>
1593 </div>
1594 <div class="row">
1595 <div class="col-xs-12">
1596 <h4 class="qc-opt-title"><?php echo esc_html__('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1597 <div class="cxsc-settings-blocks">
1598 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1599 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1600 <label for="enable_wp_chatbot_dailogflow"><?php echo esc_html__('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1601 </div>
1602 </div>
1603 <div class="col-xs-12">
1604 <br>
1605 <p><?php echo esc_html__('Log in to DialogFlow Console from', 'wpchatbot'); ?>
1606 <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'); ?>
1607
1608 <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>
1609 </div>
1610
1611 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1612 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow API Version', 'wpchatbot'); ?></h4>
1613 <div class="form-group">
1614
1615 <label class="radio-inline">
1616 <input id="wp-chatbot-df-api" type="radio"
1617 name="wp_chatbot_df_api"
1618 value="v2" checked>
1619 <?php echo esc_html__('Dialogflow API V2', 'wpchatbot'); ?>
1620 </label>
1621
1622 </div>
1623
1624 <div id="wp-chatbot-df-section-v2" style="display:block">
1625 <!-- Dialogflow V2 Configuration -->
1626
1627 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
1628 <div class="form-group">
1629
1630 <br>
1631 <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>
1632 <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>
1633 <div class="qcld-wpbot-gcdownload-area">
1634 <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>
1635 <?php
1636 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
1637 echo '<span style="color:red;font-size: 12px;"><b>wp-content</b> folder is not writable.</span>';
1638 }
1639 ?>
1640 <br><br>
1641 <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>
1642 <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>
1643 <p>2. Unzip the <b>wpbotgc.zip</b> inside to your computer.</p>
1644 <p>3. Create a folder with name <b>wpbot-dfv2-client</b> under <b>wp-content</b> into your server.</p>
1645 <p>4. Upload the upziped files and folders into <b>wpbot-dfv2-client</b> via FTP.</p>
1646
1647
1648 <div class="qcld_wpbot_download_statuses">
1649
1650 </div>
1651 </div>
1652 <br>
1653
1654 </div>
1655 <?php else: ?>
1656 <div class="form-group">
1657 <h4 class="qc-opt-title" style="color:green"><?php echo esc_html__('Google Client Package is Installed on Your Website.', 'wpchatbot'); ?></h4>
1658 </div>
1659 <?php endif; ?>
1660
1661 <div class="form-group">
1662 <h4 class="qc-opt-title" >Please follow along with this <a href="https://dev.quantumcloud.com/wpbot-pro/dialogflow-integration/" target="_blank">tutorial</a>. It will help you to create a project id, private key and integrate WPBot with Dialogflow: <a href="https://dev.quantumcloud.com/wpbot-pro/dialogflow-integration/" target="_blank">Click Here</a></h4>
1663 </div>
1664
1665 <div class="form-group">
1666 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?></h4>
1667 <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>
1668 <input type="text" class="form-control qc-opt-dcs-font"
1669 name="qlcd_wp_chatbot_dialogflow_project_id"
1670 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'); ?>">
1671 </div>
1672 <?php
1673
1674 $placeholderPrivatekey = '{
1675 "type": "service_account",
1676 "project_id": "PLACEYOUROWNID",
1677 "private_key_id": "31e300128..........c48",
1678 "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",
1679 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
1680 "client_id": "1026.....032997",
1681 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
1682 "token_uri": "https://oauth2.googleapis.com/token",
1683 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
1684 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
1685 }';
1686
1687 ?>
1688 <div class="form-group">
1689 <h4 class="qc-opt-title"><?php echo esc_html__('Private Key', 'wpchatbot'); ?></h4>
1690 <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>
1691 <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>
1692 </div>
1693
1694
1695
1696 <!-- End Dialogflow V2 Configuration -->
1697 </div>
1698
1699
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>