PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 2.9.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v2.9.2
8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 All 534 releases
chatbot / admin_ui.php

admin_ui.php in WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services 2.9.2, at admin_ui.php

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