PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 2.9.0
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v2.9.0
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.0, at admin_ui.php

1,529 lines 118.9 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 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 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 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
523 </ul>
524 </div>
525 <!-- cxsc-settings-blocks-->
526 </div>
527 </div>
528 <!--<div class="row">
529 <div class="col-xs-12">
530 <h4 class="qc-opt-title"> <?php _e('Custom Agent Icon', 'wpchatbot'); ?> </h4>
531 <div class="cxsc-settings-blocks">
532 <input type="hidden" name="wp_chatbot_custom_agent_path"
533 id="wp_chatbot_custom_agent_path"
534 value="<?php echo $wp_chatbot_custom_agent_path; ?>"/>
535 <button type="button" class="wp_chatbot_custom_agent_button button"><?php _e('Upload Agent Icon', 'wpchatbot'); ?></button>
536 </div>
537 </div>
538 </div>-->
539 </div>
540 <div id="top-section">
541 <div class="row">
542 <div class="col-sm-12">
543 <h4 class="qc-opt-title"> <?php _e('WPBot Themes', 'wpchatbot'); ?></h4>
544 </div>
545 </div>
546 <div class="row">
547 <div class="col-sm-3">
548 <label for="qcld_wb_chatbot_theme_0">
549 <img class="thumbnail theme_prev"
550 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-00.JPG"
551 alt="Theme Basic">
552 <input id="qcld_wb_chatbot_theme_0" type="radio"
553 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? 'checked' : ''); ?>
554 value="template-00">
555 <?php _e('Theme Basic', 'wpchatbot'); ?></label>
556 </div>
557
558 </div>
559 </div>
560 <!--<hr>
561 <div id="top-section">
562 <div class="row">
563 <div class="col-sm-12">
564 <h4 class="qc-opt-title"> <?php _e('Custom Backgroud', 'wpchatbot'); ?></h4>
565 <div class="cxsc-settings-blocks">
566 <input value="1" id="qcld_wb_chatbot_change_bg" type="checkbox"
567 name="qcld_wb_chatbot_change_bg" <?php echo(get_option('qcld_wb_chatbot_change_bg') == 1 ? 'checked' : ''); ?>>
568 <label for="qcld_wb_chatbot_change_bg"><?php _e('Change the wpwBot message board background for Theme 2 and Theme 3.', 'wpchatbot'); ?> </label>
569 </div>
570 </div>
571 </div>
572 <div class="row qcld-wp-chatbot-board-bg-container" <?php if (get_option('qcld_wb_chatbot_change_bg') != 1) {
573 echo 'style="display:none"';
574 } ?>>
575 <div class="col-xs-6">
576 <p class="wp-chatbot-settings-instruction"> <?php _e('Upload wpwBot message board background (Ideal image size 376px X 688px).', 'wpchatbot'); ?> </p>
577 <div class="cxsc-settings-blocks">
578 <?php
579 if (get_option('qcld_wb_chatbot_board_bg_path') != "") {
580 $qcld_wb_chatbot_board_bg_path = get_option('qcld_wb_chatbot_board_bg_path');
581 } else {
582 $qcld_wb_chatbot_board_bg_path = QCLD_wpCHATBOT_IMG_URL . 'background/background.png';
583 }
584 ?>
585 <input type="hidden" name="qcld_wb_chatbot_board_bg_path"
586 id="qcld_wb_chatbot_board_bg_path"
587 value="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"/>
588 <button type="button" class="qcld_wb_chatbot_board_bg_button button"><?php _e('Upload WpBot background.', 'wpchatbot'); ?></button>
589 </div>
590 </div>
591
592 <div class="col-xs-6">
593 <p class="wp-chatbot-settings-instruction"> <?php _e('Custom message board background', 'wpchatbot'); ?> </p>
594 <img id="qcld_wb_chatbot_board_bg_image" style="height:100%;width:100%"
595 src="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"
596 alt="Custom Background">
597 </div>
598 </div>
599 </div>-->
600 </section>
601 <section id="section-flip-3">
602 <div class="row">
603 <div class="col-xs-12">
604
605
606
607 </div>
608 </div>
609 <div class="top-section">
610 <h4 class="qc-opt-title"><?php _e('Build FAQ Query and Answers', 'wpchatbot'); ?></h4>
611 <div class="block-inner ui-sortable" id="wp-chatbot-support-builder">
612 <?php
613 $support_quereis=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_query')));
614 $support_ans=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_ans')));
615 if (count($support_ans) >= 1) {
616 //foreach (get_option('support_ans') as $support_ans){
617 $query_ans_counter=0;
618 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
619 ?>
620 <div class="row">
621 <span class="pull-right"> </span>
622 <div class="col-xs-12">
623 <button type="button"
624 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
625 <i class="fa fa-times" aria-hidden="true"></i>
626 </button>
627 <span class="wp-chatbot-support-cross pull-right" >
628 <i class="fa fa-crosshairs" aria-hidden="true"></i>
629 </span>
630 <div class="cxsc-settings-blocks">
631 <p class="qc-opt-dcs-font"><?php _e('FAQ query ', 'wpchatbot'); ?></p>
632 <input type="text" class="form-control" name="support_query[]"
633 placeholder="<?php _e('FAQ query ', 'wpchatbot'); ?>" value="<?php echo $query ?>">
634 <br>
635 <p class="qc-opt-dcs-font"><?php _e('FAQ answer', 'wpchatbot'); ?></p>
636 <?php wp_editor(html_entity_decode(stripcslashes($ans)), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
637 'support_ans[]',
638 'textarea_rows' => 20,
639 'editor_height' => 100,
640 'disabled' => 'disabled',
641 'media_buttons' => false,
642 'tinymce' => array(
643 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
644 )); ?>
645 </div>
646 </div>
647 </div>
648 <?php
649 $query_ans_counter++;
650 }
651 //}
652 } else {
653 ?>
654 <div class="row">
655 <div class="col-xs-12">
656 <button type="button"
657 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
658 <i class="fa fa-times" aria-hidden="true"></i>
659 </button>
660 <span class="wp-chatbot-support-cross pull-right" >
661 <i class="fa fa-crosshairs" aria-hidden="true"></i>
662 </span>
663 <div class="cxsc-settings-blocks">
664 <p class="qc-opt-dcs-font"><?php _e('Support query', 'wpchatbot'); ?> </p>
665 <input type="text" class="form-control" name="support_query[]"
666 placeholder="<?php _e('Support query ', 'wpchatbot'); ?>">
667 <br>
668 <p class="qc-opt-dcs-font"><strong><?php _e('Support answer', 'wpchatbot'); ?></strong></p>
669 <?php wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
670 'support_ans[]',
671 'textarea_rows' => 20,
672 'editor_height' => 100,
673 'disabled' => 'disabled',
674 'media_buttons' => false,
675 'tinymce' => array(
676 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
677 )); ?>
678 </div>
679 <br>
680 </div>
681 </div>
682 <?php
683 }
684 ?>
685 </div>
686 <div class="row">
687 <div class="col-sm-6 text-left"></div>
688 <div class="col-sm-6 text-right">
689 <button class="btn btn-success btn-sm" type="button"
690 id="add-more-support-query"><i
691 class="fa fa-plus" aria-hidden="true"></i> <?php _e('Add More Questions and Answers', 'wpchatbot'); ?>
692 </button>
693 </div>
694 </div>
695 </div>
696 </section>
697 <!--<section id="section-flip-4">
698 <div class="top-section">
699 <div class="notification-block-inner">
700 <div class="row">
701 <div class="col-xs-12">
702 <div class="cxsc-settings-blocks">
703 <?php $notification_interval = get_option('qlcd_wp_chatbot_notification_interval') != "" ? get_option('qlcd_wp_chatbot_notification_interval') : 5 ?>
704 <h4 class="qc-opt-title"><?php _e('Interval between notifications (in Seconds).', 'wpchatbot'); ?></h4>
705 <input type="text" class="form-control"
706 name="qlcd_wp_chatbot_notification_interval"
707 value="<?php echo $notification_interval ?>">
708 </div>
709 </div>
710 </div>
711
712 <?php
713 $notifications = $this->qcld_wb_chatbot_str_replace(unserialize(get_option('qlcd_wp_chatbot_notifications')));
714 if (!empty($notifications)) {
715 $chatbot_notif_counter=0;
716 foreach ($notifications as $notification) {
717 ?>
718 <div class="row">
719 <div class="col-xs-12">
720 <button type="button"
721 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
722 <i class="fa fa-times" aria-hidden="true"></i>
723 </button>
724 <div class="cxsc-settings-blocks">
725 <?php wp_editor(html_entity_decode(stripcslashes($notification)), 'qlcd_wp_chatbot_notifications_'.$chatbot_notif_counter, array('textarea_name' =>
726 'qlcd_wp_chatbot_notifications[]',
727 'textarea_rows' => 20,
728 'editor_height' => 100,
729 'disabled' => 'disabled',
730 'media_buttons' => false,
731 'tinymce' => array(
732 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
733 )); ?>
734 </div>
735 </div>
736
737 </div>
738
739 <?php
740 $chatbot_notif_counter++;
741 }
742 //}
743 } else {
744 ?>
745 <div class="row">
746 <div class="col-xs-12">
747 <button type="button"
748 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
749 <i class="fa fa-times" aria-hidden="true"></i>
750 </button>
751 <div class="cxsc-settings-blocks">
752 <?php wp_editor(html_entity_decode(stripcslashes('')), 'qlcd_wp_chatbot_notifications_0', array('textarea_name' =>
753 'qlcd_wp_chatbot_notifications[]',
754 'textarea_rows' => 20,
755 'editor_height' => 100,
756 'disabled' => 'disabled',
757 'media_buttons' => false,
758 'tinymce' => array(
759 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
760 )); ?>
761 </div>
762 </div>
763 </div>
764 <?php
765 }
766 ?>
767 </div>
768 <div class="row">
769 <div class="col-sm-6 text-left"></div>
770 <div class="col-sm-6 text-right">
771 <button class="btn btn-success btn-sm" type="button"
772 id="add-more-notification-message">
773 <i class="fa fa-plus" aria-hidden="true"></i> <?php _e('Add', 'wpchatbot'); ?>
774 </button>
775 </div>
776 </div>
777
778 </div>
779
780 </section>-->
781 <section id="section-flip-5">
782 <div class="wp-chatbot-language-center-summmery">
783
784 </div>
785 <ul class="nav nav-tabs">
786 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general"><?php _e('General', 'wpchatbot'); ?></a></li>
787
788 <li><a data-toggle="tab" href="#wp-chatbot-lng-support"><?php _e('FAQ', 'wpchatbot'); ?></a></li>
789
790 <li><a data-toggle="tab" href="#wp-chatbot-lng-system-keyword"><?php _e('System Keywords', 'wpchatbot'); ?></a></li>
791 </ul>
792 <div class="tab-content">
793 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
794 <div class="top-section">
795 <div class="row">
796 <div class="col-xs-12" id="wp-chatbot-language-section">
797 <div class="form-group">
798 <h4 class="qc-opt-title"><?php _e('Your Company or Website Name', 'wpchatbot'); ?></h4>
799 <input type="text" class="form-control qc-opt-dcs-font"
800 name="qlcd_wp_chatbot_host"
801 value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?>">
802 </div>
803 <div class="form-group">
804 <h4 class="qc-opt-title"><?php _e('Agent name', 'wpchatbot'); ?></h4>
805 <input type="text" class="form-control qc-opt-dcs-font"
806 name="qlcd_wp_chatbot_agent"
807 value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>">
808 </div>
809 <div class="form-group">
810 <h4 class="qc-opt-title"><?php _e('User demo name', 'wpchatbot'); ?></h4>
811 <input type="text" class="form-control qc-opt-dcs-font"
812 name="qlcd_wp_chatbot_shopper_demo_name"
813 value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?>">
814 </div>
815 <div class="form-group">
816 <h4 class="qc-opt-title"><?php _e('YES', 'wpchatbot'); ?></h4>
817 <input type="text" class="form-control qc-opt-dcs-font"
818 name="qlcd_wp_chatbot_yes"
819 value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>">
820 </div>
821 <div class="form-group">
822 <h4 class="qc-opt-title"><?php _e('NO', 'wpchatbot'); ?></h4>
823 <input type="text" class="form-control qc-opt-dcs-font"
824 name="qlcd_wp_chatbot_no"
825 value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>">
826 </div>
827 <div class="form-group">
828 <h4 class="qc-opt-title"><?php _e('OR', 'wpchatbot'); ?></h4>
829 <input type="text" class="form-control qc-opt-dcs-font"
830 name="qlcd_wp_chatbot_or"
831 value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>">
832 </div>
833 <div class="form-group">
834 <h4 class="qc-opt-title"><?php _e('Sorry', 'wpchatbot'); ?></h4>
835 <input type="text" class="form-control qc-opt-dcs-font"
836 name="qlcd_wp_chatbot_sorry"
837 value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>">
838 </div>
839 <div class="form-group">
840 <?php
841 $agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join'));
842 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
843 $agent_join_text = __('has joined the conversation', 'wpchatbot');
844 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
845 ?>
846 </div>
847 </div>
848 <!--col-xs-12-->
849 <div class="col-xs-12" id="wp-chatbot-language-section">
850 <h4 class="text-success"><?php _e(' Message setting for Greetings: ', 'wpchatbot'); ?></h4>
851 <div class="form-group">
852 <?php
853 $welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome'));
854 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
855 $welcome_to_text =__('Welcome to', 'wpchatbot');
856 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
857 ?>
858 </div>
859 <div class="form-group">
860 <?php
861 $welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
862 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
863 $welcome_back_text = __('Welcome back', 'wpchatbot');
864 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
865 ?>
866 </div>
867 <div class="form-group">
868 <?php
869 $back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
870 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
871 $back_to_start_text = __('Back to Start', 'wpchatbot');
872 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
873 ?>
874 </div>
875 <div class="form-group">
876 <?php
877 $hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there'));
878 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
879 $hi_there_text = __('Hi There!', 'wpchatbot');
880 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
881 ?>
882 </div>
883 <div class="form-group">
884 <?php
885 $asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name'));
886 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
887 $asking_name_text = __('May I know your name?', 'wpchatbot');
888 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
889 ?>
890 </div>
891 <div class="form-group">
892 <?php
893 $i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am'));
894 $i_am_option = 'qlcd_wp_chatbot_i_am';
895 $i_am_text = __('I am', 'wpchatbot');
896 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
897 ?>
898 </div>
899 <div class="form-group">
900 <?php
901 $name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
902 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
903 $name_greeting_text = __('Nice to meet you', 'wpchatbot');
904 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
905 ?>
906 </div>
907 <div class="form-group">
908 <?php
909 $wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
910 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
911 $wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpchatbot');
912 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
913 ?>
914 </div>
915 <div class="form-group">
916 <?php
917 $empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
918 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
919 $empty_filter_msg_text = __('Sorry, I did not understand that', 'wpchatbot');
920 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
921 ?>
922 </div>
923
924 <h4 class="text-success"> <?php _e('Message setting for Editor Box ', 'wpchatbot'); ?></h4>
925 <div class="form-group">
926 <?php
927 $is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing'));
928 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
929 $is_typing_text = __('is typing...', 'wpchatbot');
930 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
931 ?>
932 </div>
933 <div class="form-group">
934 <?php
935 $send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
936 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
937 $send_a_msg_text =__('Send a message', 'wpchatbot');
938 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
939 ?>
940 </div>
941 <div class="form-group">
942 <?php
943 $choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option'));
944 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
945 $choose_option_text = __('Choose an option', 'wpchatbot');
946 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
947 ?>
948 </div>
949
950
951
952 <div class="form-group">
953 <?php
954 $asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email'));
955 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
956 $asking_email_text = __('Please provide your email address', 'wpchatbot');
957 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
958 ?>
959 </div>
960 <div class="form-group">
961 <?php
962 $invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
963 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
964 $invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpchatbot');
965 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
966 ?>
967 </div>
968 <div class="form-group">
969 <?php
970 $asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
971 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
972 $asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpchatbot');
973 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
974 ?>
975 </div>
976
977
978
979 <div class="form-group">
980 <h4 class="qc-opt-title"><?php _e('WPBot Support Mail Subject', 'wpchatbot'); ?></h4>
981 <input type="text" class="form-control qc-opt-dcs-font"
982 name="qlcd_wp_chatbot_email_sub"
983 value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? get_option('qlcd_wp_chatbot_email_sub') : 'Support Email Subject'); ?>">
984 </div>
985
986 <div class="form-group">
987 <?php
988 $support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
989 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
990 $support_option_again_text = __('You may choose option from below.', 'wpchatbot');
991 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
992 ?>
993 </div>
994
995 <div class="form-group">
996 <h4 class="qc-opt-title"><?php _e('Your email was sent successfully.Thanks!', 'wpchatbot'); ?></h4>
997 <input type="text" class="form-control qc-opt-dcs-font"
998 name="qlcd_wp_chatbot_email_sent"
999 value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?>">
1000 </div>
1001 <div class="form-group">
1002 <h4 class="qc-opt-title"><?php _e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1003 <input type="text" class="form-control qc-opt-dcs-font"
1004 name="qlcd_wp_chatbot_email_fail"
1005 value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? get_option('qlcd_wp_chatbot_email_fail') : 'Sorry! fail to send email'); ?>">
1006 </div>
1007
1008
1009
1010 <div class="form-group">
1011 <?php
1012 $support_phone_options = unserialize(get_option('qlcd_wp_chatbot_support_phone'));
1013 $support_phone_option = 'qlcd_wp_chatbot_support_phone';
1014 $support_phone_text = __('Leave your number. We will call you back!', 'wpchatbot');
1015 $this->qcld_wb_chatbot_dynamic_multi_option($support_phone_options, $support_phone_option, $support_phone_text);
1016 ?>
1017 </div>
1018 <div class="form-group">
1019 <?php
1020 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1021 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1022 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1023 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1024 ?>
1025 </div>
1026 <div class="form-group">
1027 <?php
1028 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1029 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1030 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1031 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1032 ?>
1033 </div>
1034
1035 <div class="form-group">
1036 <h4 class="qc-opt-title"><?php _e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1037 <input type="text" class="form-control qc-opt-dcs-font"
1038 name="qlcd_wp_chatbot_phone_sent"
1039 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!'); ?>">
1040 </div>
1041 <div class="form-group">
1042 <h4 class="qc-opt-title"><?php _e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1043 <input type="text" class="form-control qc-opt-dcs-font"
1044 name="qlcd_wp_chatbot_phone_fail"
1045 value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? get_option('qlcd_wp_chatbot_phone_fail') : 'Sorry! I could not collect phone number!'); ?>">
1046 </div>
1047
1048
1049
1050
1051
1052
1053 </div>
1054 </div>
1055 </div>
1056 </div>
1057
1058 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1059 <div class="top-section">
1060 <div class="row">
1061 <div class="col-xs-12" id="wp-chatbot-language-section">
1062 <div class="form-group">
1063 <?php
1064 $wildcard_support_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_support'));
1065 $wildcard_support_option = 'qlcd_wp_chatbot_wildcard_support';
1066 $wildcard_support_text = __('FAQ', 'wpchatbot');
1067 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_support_options, $wildcard_support_option, $wildcard_support_text);
1068 ?>
1069 </div>
1070 <div class="form-group">
1071 <?php
1072 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1073 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1074 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1075 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1076 ?>
1077 </div>
1078 <!--<div class="form-group">
1079 <?php
1080 $support_email_options = unserialize(get_option('qlcd_wp_chatbot_support_email'));
1081 $support_email_option = 'qlcd_wp_chatbot_support_email';
1082 $support_email_text = __('Click me if you want to send us a email.', 'wpchatbot');
1083 $this->qcld_wb_chatbot_dynamic_multi_option($support_email_options, $support_email_option, $support_email_text);
1084 ?>
1085 </div>-->
1086
1087
1088 <!--<div class="form-group">
1089 <?php
1090 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1091 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1092 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1093 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1094 ?>
1095 </div>-->
1096
1097
1098 </div>
1099 </div>
1100 </div>
1101 </div>
1102
1103 <div id="wp-chatbot-lng-system-keyword" class="tab-pane fade">
1104 <div class="top-section">
1105 <div class="row">
1106 <div class="col-xs-12" id="wp-chatbot-language-section">
1107 <div class="form-group">
1108 <h4 class="qc-opt-title"><?php _e('Start Keyword', 'wpchatbot'); ?></h4>
1109 <input type="text" class="form-control qc-opt-dcs-font"
1110 name="qlcd_wp_chatbot_sys_key_help"
1111 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1112 </div>
1113
1114
1115
1116 <div class="form-group">
1117 <h4 class="qc-opt-title"><strong><?php _e('FAQ', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1118 <input type="text" class="form-control qc-opt-dcs-font"
1119 name="qlcd_wp_chatbot_sys_key_support"
1120 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1121 </div>
1122 <div class="form-group">
1123 <h4 class="qc-opt-title"><strong><?php _e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1124 <input type="text" class="form-control qc-opt-dcs-font"
1125 name="qlcd_wp_chatbot_sys_key_reset"
1126 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1127 </div>
1128 <div class="form-group">
1129 <?php
1130 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1131 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1132 $help_welcome_text = 'Welcome to Help Section';
1133 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1134 ?>
1135 </div>
1136 <div class="form-group">
1137 <?php
1138 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1139 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1140 $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.';
1141 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1142 ?>
1143 </div>
1144 <div class="form-group">
1145 <?php
1146 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1147 $reset_option = 'qlcd_wp_chatbot_reset';
1148 $reset_text = 'Do you want to clear our chat history and start over?';
1149 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1150 ?>
1151 </div>
1152 </div>
1153 <!-- col-xs-12-->
1154 </div>
1155 <!-- row-->
1156 </div>
1157 <!-- top-section-->
1158 </div>
1159 <!-- wp-chatbot-lng-system-keyword-->
1160 </div>
1161 <!-- tab-content-->
1162 </section>
1163
1164
1165 <!--<section id="section-flip-8">
1166 <div class="top-section">
1167 <div class="wp-chatbot-language-center-summmery">
1168 <p><?php _e('WPBot will be opened based on the following settings', 'wpchatbot'); ?> </p>
1169 </div>
1170 <div class="row">
1171 <div class="col-xs-12">
1172 <h4 class="qc-opt-title"><?php _e('Enable Bot Activity Hour', 'wpchatbot'); ?> </h4>
1173 <div class="cxsc-settings-blocks" style="padding:0 20px;">
1174 <input value="1" id="enable_wp_chatbot_opening_hour" type="checkbox"
1175 name="enable_wp_chatbot_opening_hour" <?php echo(get_option('enable_wp_chatbot_opening_hour') == 1 ? 'checked' : ''); ?>>
1176 <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>
1177 </div>
1178 </div>
1179 </div>
1180 <style>
1181 .wp-chatbot-hours-container{
1182 padding:0px 0 15px 0;
1183 display: flex;
1184 justify-content: space-between;
1185 }
1186 .wp-chatbot-hours{
1187 /*width:75%;*/
1188 display: inline-block;
1189 }
1190 .wp-chatbot-hours input{
1191 display: inline-block;
1192 width: 40%;
1193 padding-right: 10px;
1194 text-align: center;
1195 }
1196 .wp-chatbot-hours-remove{
1197 display: inline-block;
1198 /*width:20%;*/
1199 }
1200 </style>
1201 <div class="row" id="wp-chatbot-hours-wrapper">
1202 <div class="col-xs-12">
1203 <h4 class="qc-opt-title"><?php _e('WPBot Bot Activity Hours', 'wpchatbot'); ?> </h4>
1204 <?php
1205
1206 if(get_option('wpwbot_hours')){
1207 $wpwbot_times=unserialize(get_option('wpwbot_hours'));
1208 }else{
1209 $wpwbot_times=array();
1210 }
1211 ?>
1212 <div class="row">
1213 <div class="col-xs-3">Monday</div>
1214 <div class="col-xs-4 wp-chatbot-day">
1215 <?php
1216 $this->wp_chatbot_opening_hours('monday',$wpwbot_times);
1217 ?>
1218 </div>
1219 <div class="col-xs-3">
1220 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="monday">
1221 <i class="fa fa-plus" aria-hidden="true"></i> Add
1222 </button>
1223 </div>
1224 </div>
1225 <div class="row">
1226 <div class="col-xs-3">Tuesday</div>
1227 <div class="col-xs-4 wp-chatbot-day">
1228 <?php
1229 $this->wp_chatbot_opening_hours('tuesday',$wpwbot_times);
1230 ?>
1231 </div>
1232 <div class="col-xs-3">
1233 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="tuesday">
1234 <i class="fa fa-plus" aria-hidden="true"></i> Add
1235 </button>
1236 </div>
1237 </div>
1238 <div class="row">
1239 <div class="col-xs-3">Wednesday</div>
1240 <div class="col-xs-4 wp-chatbot-day">
1241 <?php
1242 $this->wp_chatbot_opening_hours('wednesday',$wpwbot_times);
1243 ?>
1244 </div>
1245 <div class="col-xs-3">
1246 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="wednesday">
1247 <i class="fa fa-plus" aria-hidden="true"></i> Add
1248 </button>
1249 </div>
1250 </div>
1251 <div class="row">
1252 <div class="col-xs-3">Thursday</div>
1253 <div class="col-xs-4 wp-chatbot-day">
1254 <?php
1255 $this->wp_chatbot_opening_hours('thursday',$wpwbot_times);
1256 ?>
1257 </div>
1258 <div class="col-xs-3">
1259 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="thursday">
1260 <i class="fa fa-plus" aria-hidden="true"></i> Add
1261 </button>
1262 </div>
1263 </div>
1264 <div class="row">
1265 <div class="col-xs-3">Friday</div>
1266 <div class="col-xs-4 wp-chatbot-day">
1267 <?php
1268 $this->wp_chatbot_opening_hours('friday',$wpwbot_times);
1269 ?>
1270 </div>
1271 <div class="col-xs-3">
1272 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="friday">
1273 <i class="fa fa-plus" aria-hidden="true"></i> Add
1274 </button>
1275 </div>
1276 </div>
1277 <div class="row">
1278 <div class="col-xs-3">Saturday</div>
1279 <div class="col-xs-4 wp-chatbot-day">
1280 <?php
1281 $this->wp_chatbot_opening_hours('saturday',$wpwbot_times);
1282 ?>
1283 </div>
1284 <div class="col-xs-3">
1285 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="saturday">
1286 <i class="fa fa-plus" aria-hidden="true"></i> Add
1287 </button>
1288 </div>
1289 </div>
1290 <div class="row">
1291 <div class="col-xs-3">Sunday</div>
1292 <div class="col-xs-4 wp-chatbot-day">
1293 <?php
1294 $this->wp_chatbot_opening_hours('sunday',$wpwbot_times);
1295 ?>
1296 </div>
1297 <div class="col-xs-3">
1298 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="sunday">
1299 <i class="fa fa-plus" aria-hidden="true"></i> Add
1300 </button>
1301 </div>
1302 </div>
1303 </div>
1304 </div>
1305 </div>
1306
1307 </section>-->
1308 <section id="section-flip-9">
1309 <div class="top-section">
1310 <div class="wp-chatbot-language-center-summmery">
1311 <p><?php _e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1312 </div>
1313 <div class="row">
1314 <div class="col-xs-12">
1315 <p class="wpqcld_chk_seft">
1316 <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>
1317 </p>
1318 </div>
1319 </div>
1320 <div class="row">
1321 <div class="col-xs-12">
1322 <h4 class="qc-opt-title"><?php _e('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1323 <div class="cxsc-settings-blocks">
1324 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1325 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1326 <label for="enable_wp_chatbot_dailogflow"><?php _e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1327 </div>
1328 </div>
1329 <div class="col-xs-12">
1330 <br>
1331 <p><?php _e('You will need an Access Token from DialogFlow. Log in to DialogFlow Console from', 'wpchatbot'); ?>
1332 <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>
1333
1334 <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>
1335 </div>
1336
1337 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1338 <div class="form-group">
1339 <h4 class="qc-opt-title"><?php _e('DialogFlow client Access Token', 'wpchatbot'); ?></h4>
1340 <input type="text" class="form-control qc-opt-dcs-font"
1341 name="qlcd_wp_chatbot_dialogflow_client_token"
1342 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'); ?>">
1343 </div>
1344 <div class="form-group">
1345 <h4 class="qc-opt-title"><?php _e('DialofFlow Defualt reply', 'wpchatbot'); ?></h4>
1346 <input type="text" class="form-control qc-opt-dcs-font"
1347 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
1348 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'); ?>">
1349 </div>
1350
1351
1352 <div class="form-group">
1353 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpchatbot'); ?></h4>
1354 <input type="text" class="form-control qc-opt-dcs-font"
1355 name="qlcd_wp_chatbot_dialogflow_agent_language"
1356 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'); ?>">
1357 </div>
1358
1359 </div>
1360 </div>
1361 </div>
1362
1363 </section>
1364 <!--<section id="section-flip-10">
1365 <div class="wp-chatbot-language-center-summmery">
1366 <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>
1367 </div>
1368 <div class="top-section">
1369 <div class="row">
1370 <div class="col-xs-12">
1371 <h4 class="qc-opt-title"><?php _e('Mobile App Pages', 'wpchatbot'); ?> </h4>
1372 <div class="cxsc-settings-blocks">
1373 <input value="1" id="wp_chatbot_app_pages" type="checkbox"
1374 name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>>
1375 <label for="wp_chatbot_app_pages"><?php _e('Create pages for WpBot Mobile App', 'wpchatbot'); ?> </label>
1376 </div>
1377 <br>
1378 <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>
1379 <ol>
1380 <li><?php _e('WpBot Mobile App', 'wpchatbot'); ?></li>
1381 <li><?php _e('WpBot App Checkout', 'wpchatbot'); ?></li>
1382 <li><?php _e('WpBot App Order Thank You', 'wpchatbot'); ?></li>
1383 </ol>
1384 <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>
1385 <ol>
1386 <li><?php _e('WpBot Ionic FrameWork package', 'wpchatbot'); ?></li>
1387 <li><?php _e('WpBot PhoneGap package', 'wpchatbot'); ?></li>
1388 </ol>
1389 </div>
1390 </div>
1391 </div>
1392
1393 </section>-->
1394
1395
1396 <section id="section-flip-12">
1397 <div class="top-section">
1398 <div class="row">
1399 <div class="col-xs-12">
1400
1401 <?php wp_enqueue_style( 'qcpd-google-font-lato', 'https://fonts.googleapis.com/css?family=Lato' ); ?>
1402 <?php wp_enqueue_style( 'qcpd-style-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/style.css' ); ?>
1403 <?php wp_enqueue_style( 'qcpd-style-responsive-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/responsive.css' ); ?>
1404
1405 <div class="qc_support_container"><!--qc_support_container-->
1406
1407 <div class="qc_tabcontent clearfix-div">
1408 <div class="qc-row">
1409
1410 <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>
1411 <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>
1412 <div class="qc-column-12"><!-- qc-column-4 -->
1413 <!-- Feature Box 1 -->
1414 <div class="support-block ">
1415 <div class="support-block-img">
1416 <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>
1417 </div>
1418 <div class="support-block-info">
1419 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Master Theme</a></h4>
1420 <p style="margin-top: -24px;margin-bottom: 50px;">Get a ChatBot Powered Theme!</p>
1421 </div>
1422 </div>
1423 </div><!--/qc-column-4 -->
1424
1425 <div class="qc-column-6"><!-- qc-column-4 -->
1426 <!-- Feature Box 1 -->
1427 <div class="support-block support-block-custom">
1428 <div class="support-block-img">
1429 <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>
1430 </div>
1431 <div class="support-block-info">
1432 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Extended Search</a></h4>
1433 <p>Extend WPBot’s search power to include almost any Custom Post Type including WooCommerce</p>
1434
1435 </div>
1436 </div>
1437 </div><!--/qc-column-4 -->
1438
1439 <div class="qc-column-6"><!-- qc-column-4 -->
1440 <!-- Feature Box 1 -->
1441 <div class="support-block support-block-custom">
1442 <div class="support-block-img">
1443 <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>
1444 </div>
1445 <div class="support-block-info">
1446 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Messenger ChatBot Addon</a></h4>
1447 <p>Utilize the WPBot on your website as a hub to respond to customer questions on FB Page & Messenger</p>
1448
1449 </div>
1450 </div>
1451 </div><!--/qc-column-4 -->
1452
1453
1454 <div class="qc-column-6"><!-- qc-column-4 -->
1455 <!-- Feature Box 1 -->
1456 <div class="support-block support-block-custom">
1457 <div class="support-block-img">
1458 <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>
1459 </div>
1460 <div class="support-block-info">
1461 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Session Save Addon</a></h4>
1462 <p>This AddOn saves the user chat sessions and helps you fine tune the bot for better support and performance.</p>
1463
1464 </div>
1465 </div>
1466 </div><!--/qc-column-4 -->
1467
1468
1469 <div class="qc-column-6"><!-- qc-column-4 -->
1470 <!-- Feature Box 1 -->
1471 <div class="support-block support-block-custom">
1472 <div class="support-block-img">
1473 <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>
1474 </div>
1475 <div class="support-block-info">
1476 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">LiveChat Addon</a></h4>
1477 <p>Live Human Chat integrated with WPBot<p/>
1478 </div>
1479 </div>
1480 </div><!--/qc-column-4 -->
1481
1482 <div class="qc-column-6"><!-- qc-column-4 -->
1483 <!-- Feature Box 1 -->
1484 <div class="support-block support-block-custom">
1485 <div class="support-block-img">
1486 <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>
1487 </div>
1488 <div class="support-block-info">
1489 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">White Label WPBot</a></h4>
1490 <p>Replace the QuantumCloud Logo and branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients.<p/>
1491 </div>
1492 </div>
1493 </div><!--/qc-column-4 -->
1494
1495 </div>
1496 <!--qc row-->
1497 </div>
1498
1499 </div><!--qc_support_container-->
1500
1501
1502
1503 </div>
1504 </div>
1505 <!-- row-->
1506 </div>
1507 </section>
1508
1509
1510 </div><!-- /content -->
1511 </div><!-- /wp-chatbot-tabs -->
1512 <footer class="wp-chatbot-admin-footer">
1513 <div class="row">
1514 <div class="text-left col-sm-3 col-sm-offset-3">
1515 <input type="button" class="btn btn-warning submit-button"
1516 id="qcld-wp-chatbot-reset-option"
1517 value="<?php _e('Reset all options to Default', 'wpchatbot'); ?>"/>
1518 </div>
1519 <div class="text-right col-sm-6">
1520 <input type="submit" class="btn btn-primary submit-button" name="submit"
1521 id="submit" value="<?php _e('Save Settings', 'wpchatbot'); ?>"/>
1522 </div>
1523 </div>
1524 <!-- row-->
1525 </footer>
1526 </section>
1527 </div>
1528 <?php wp_nonce_field('wp_chatbot'); ?>
1529 </form>