PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 2.9.3
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v2.9.3
8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 8.5.0 8.4.9 All 531 releases
chatbot / admin_ui.php

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

1,552 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 <p>You could use &lt;br&gt; tag for line break.</p>
817
818 <div class="form-group">
819 <h4 class="qc-opt-title"><?php _e('Your Company or Website Name', 'wpchatbot'); ?></h4>
820 <input type="text" class="form-control qc-opt-dcs-font"
821 name="qlcd_wp_chatbot_host"
822 value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?>">
823 </div>
824 <div class="form-group">
825 <h4 class="qc-opt-title"><?php _e('Agent name', 'wpchatbot'); ?></h4>
826 <input type="text" class="form-control qc-opt-dcs-font"
827 name="qlcd_wp_chatbot_agent"
828 value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>">
829 </div>
830 <div class="form-group">
831 <h4 class="qc-opt-title"><?php _e('User demo name', 'wpchatbot'); ?></h4>
832 <input type="text" class="form-control qc-opt-dcs-font"
833 name="qlcd_wp_chatbot_shopper_demo_name"
834 value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?>">
835 </div>
836 <div class="form-group">
837 <h4 class="qc-opt-title"><?php _e('YES', 'wpchatbot'); ?></h4>
838 <input type="text" class="form-control qc-opt-dcs-font"
839 name="qlcd_wp_chatbot_yes"
840 value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>">
841 </div>
842 <div class="form-group">
843 <h4 class="qc-opt-title"><?php _e('NO', 'wpchatbot'); ?></h4>
844 <input type="text" class="form-control qc-opt-dcs-font"
845 name="qlcd_wp_chatbot_no"
846 value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>">
847 </div>
848 <div class="form-group">
849 <h4 class="qc-opt-title"><?php _e('OR', 'wpchatbot'); ?></h4>
850 <input type="text" class="form-control qc-opt-dcs-font"
851 name="qlcd_wp_chatbot_or"
852 value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>">
853 </div>
854 <div class="form-group">
855 <h4 class="qc-opt-title"><?php _e('Sorry', 'wpchatbot'); ?></h4>
856 <input type="text" class="form-control qc-opt-dcs-font"
857 name="qlcd_wp_chatbot_sorry"
858 value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>">
859 </div>
860 <div class="form-group">
861 <?php
862 $agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join'));
863 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
864 $agent_join_text = __('has joined the conversation', 'wpchatbot');
865 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
866 ?>
867 </div>
868 </div>
869 <!--col-xs-12-->
870 <div class="col-xs-12" id="wp-chatbot-language-section">
871 <h4 class="text-success"><?php _e(' Message setting for Greetings: ', 'wpchatbot'); ?></h4>
872 <div class="form-group">
873 <?php
874 $welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome'));
875 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
876 $welcome_to_text =__('Welcome to', 'wpchatbot');
877 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
878 ?>
879 </div>
880 <div class="form-group">
881 <?php
882 $welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
883 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
884 $welcome_back_text = __('Welcome back', 'wpchatbot');
885 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
886 ?>
887 </div>
888 <div class="form-group">
889 <?php
890 $back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
891 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
892 $back_to_start_text = __('Back to Start', 'wpchatbot');
893 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
894 ?>
895 </div>
896 <div class="form-group">
897 <?php
898 $hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there'));
899 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
900 $hi_there_text = __('Hi There!', 'wpchatbot');
901 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
902 ?>
903 </div>
904 <div class="form-group">
905 <?php
906 $asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name'));
907 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
908 $asking_name_text = __('May I know your name?', 'wpchatbot');
909 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
910 ?>
911 </div>
912 <div class="form-group">
913 <?php
914 $i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am'));
915 $i_am_option = 'qlcd_wp_chatbot_i_am';
916 $i_am_text = __('I am', 'wpchatbot');
917 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
918 ?>
919 </div>
920 <div class="form-group">
921 <?php
922 $name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
923 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
924 $name_greeting_text = __('Nice to meet you', 'wpchatbot');
925 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
926 ?>
927 </div>
928 <div class="form-group">
929 <?php
930 $wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
931 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
932 $wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpchatbot');
933 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
934 ?>
935 </div>
936 <div class="form-group">
937 <?php
938 $empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
939 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
940 $empty_filter_msg_text = __('Sorry, I did not understand that', 'wpchatbot');
941 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
942 ?>
943 </div>
944
945 <h4 class="text-success"> <?php _e('Message setting for Editor Box ', 'wpchatbot'); ?></h4>
946 <div class="form-group">
947 <?php
948 $is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing'));
949 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
950 $is_typing_text = __('is typing...', 'wpchatbot');
951 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
952 ?>
953 </div>
954 <div class="form-group">
955 <?php
956 $send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
957 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
958 $send_a_msg_text =__('Send a message', 'wpchatbot');
959 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
960 ?>
961 </div>
962 <div class="form-group">
963 <?php
964 $choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option'));
965 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
966 $choose_option_text = __('Choose an option', 'wpchatbot');
967 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
968 ?>
969 </div>
970
971
972
973 <div class="form-group">
974 <?php
975 $asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email'));
976 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
977 $asking_email_text = __('Please provide your email address', 'wpchatbot');
978 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
979 ?>
980 </div>
981 <div class="form-group">
982 <?php
983 $invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
984 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
985 $invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpchatbot');
986 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
987 ?>
988 </div>
989 <div class="form-group">
990 <?php
991 $asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
992 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
993 $asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpchatbot');
994 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
995 ?>
996 </div>
997
998
999
1000 <div class="form-group">
1001 <h4 class="qc-opt-title"><?php _e('WPBot Support Mail Subject', 'wpchatbot'); ?></h4>
1002 <input type="text" class="form-control qc-opt-dcs-font"
1003 name="qlcd_wp_chatbot_email_sub"
1004 value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? get_option('qlcd_wp_chatbot_email_sub') : 'Support Email Subject'); ?>">
1005 </div>
1006
1007 <div class="form-group">
1008 <?php
1009 $support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1010 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1011 $support_option_again_text = __('You may choose option from below.', 'wpchatbot');
1012 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1013 ?>
1014 </div>
1015
1016 <div class="form-group">
1017 <h4 class="qc-opt-title"><?php _e('Your email was sent successfully.Thanks!', 'wpchatbot'); ?></h4>
1018 <input type="text" class="form-control qc-opt-dcs-font"
1019 name="qlcd_wp_chatbot_email_sent"
1020 value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?>">
1021 </div>
1022 <div class="form-group">
1023 <h4 class="qc-opt-title"><?php _e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1024 <input type="text" class="form-control qc-opt-dcs-font"
1025 name="qlcd_wp_chatbot_email_fail"
1026 value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? get_option('qlcd_wp_chatbot_email_fail') : 'Sorry! fail to send email'); ?>">
1027 </div>
1028
1029
1030
1031 <div class="form-group">
1032 <?php
1033 $support_phone_options = unserialize(get_option('qlcd_wp_chatbot_support_phone'));
1034 $support_phone_option = 'qlcd_wp_chatbot_support_phone';
1035 $support_phone_text = __('Leave your number. We will call you back!', 'wpchatbot');
1036 $this->qcld_wb_chatbot_dynamic_multi_option($support_phone_options, $support_phone_option, $support_phone_text);
1037 ?>
1038 </div>
1039 <div class="form-group">
1040 <?php
1041 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1042 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1043 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1044 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1045 ?>
1046 </div>
1047 <div class="form-group">
1048 <?php
1049 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1050 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1051 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1052 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1053 ?>
1054 </div>
1055
1056 <div class="form-group">
1057 <h4 class="qc-opt-title"><?php _e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1058 <input type="text" class="form-control qc-opt-dcs-font"
1059 name="qlcd_wp_chatbot_phone_sent"
1060 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!'); ?>">
1061 </div>
1062 <div class="form-group">
1063 <h4 class="qc-opt-title"><?php _e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1064 <input type="text" class="form-control qc-opt-dcs-font"
1065 name="qlcd_wp_chatbot_phone_fail"
1066 value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? get_option('qlcd_wp_chatbot_phone_fail') : 'Sorry! I could not collect phone number!'); ?>">
1067 </div>
1068
1069
1070
1071
1072
1073
1074 </div>
1075 </div>
1076 </div>
1077 </div>
1078
1079 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1080 <div class="top-section">
1081 <div class="row">
1082 <div class="col-xs-12" id="wp-chatbot-language-section">
1083 <div class="form-group">
1084 <?php
1085 $wildcard_support_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_support'));
1086 $wildcard_support_option = 'qlcd_wp_chatbot_wildcard_support';
1087 $wildcard_support_text = __('FAQ', 'wpchatbot');
1088 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_support_options, $wildcard_support_option, $wildcard_support_text);
1089 ?>
1090 </div>
1091 <div class="form-group">
1092 <?php
1093 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1094 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1095 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1096 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1097 ?>
1098 </div>
1099 <!--<div class="form-group">
1100 <?php
1101 $support_email_options = unserialize(get_option('qlcd_wp_chatbot_support_email'));
1102 $support_email_option = 'qlcd_wp_chatbot_support_email';
1103 $support_email_text = __('Click me if you want to send us a email.', 'wpchatbot');
1104 $this->qcld_wb_chatbot_dynamic_multi_option($support_email_options, $support_email_option, $support_email_text);
1105 ?>
1106 </div>-->
1107
1108
1109 <!--<div class="form-group">
1110 <?php
1111 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1112 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1113 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1114 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1115 ?>
1116 </div>-->
1117
1118
1119 </div>
1120 </div>
1121 </div>
1122 </div>
1123
1124 <div id="wp-chatbot-lng-system-keyword" class="tab-pane fade">
1125 <div class="top-section">
1126 <div class="row">
1127 <div class="col-xs-12" id="wp-chatbot-language-section">
1128 <div class="form-group">
1129 <h4 class="qc-opt-title"><?php _e('Start Keyword', 'wpchatbot'); ?></h4>
1130 <input type="text" class="form-control qc-opt-dcs-font"
1131 name="qlcd_wp_chatbot_sys_key_help"
1132 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1133 </div>
1134
1135
1136
1137 <div class="form-group">
1138 <h4 class="qc-opt-title"><strong><?php _e('FAQ', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1139 <input type="text" class="form-control qc-opt-dcs-font"
1140 name="qlcd_wp_chatbot_sys_key_support"
1141 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1142 </div>
1143 <div class="form-group">
1144 <h4 class="qc-opt-title"><strong><?php _e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1145 <input type="text" class="form-control qc-opt-dcs-font"
1146 name="qlcd_wp_chatbot_sys_key_reset"
1147 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1148 </div>
1149 <div class="form-group">
1150 <?php
1151 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1152 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1153 $help_welcome_text = 'Welcome to Help Section';
1154 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1155 ?>
1156 </div>
1157 <div class="form-group">
1158 <?php
1159 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1160 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1161 $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.';
1162 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1163 ?>
1164 </div>
1165 <div class="form-group">
1166 <?php
1167 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1168 $reset_option = 'qlcd_wp_chatbot_reset';
1169 $reset_text = 'Do you want to clear our chat history and start over?';
1170 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1171 ?>
1172 </div>
1173 </div>
1174 <!-- col-xs-12-->
1175 </div>
1176 <!-- row-->
1177 </div>
1178 <!-- top-section-->
1179 </div>
1180 <!-- wp-chatbot-lng-system-keyword-->
1181 </div>
1182 <!-- tab-content-->
1183 </section>
1184
1185
1186 <!--<section id="section-flip-8">
1187 <div class="top-section">
1188 <div class="wp-chatbot-language-center-summmery">
1189 <p><?php _e('WPBot will be opened based on the following settings', 'wpchatbot'); ?> </p>
1190 </div>
1191 <div class="row">
1192 <div class="col-xs-12">
1193 <h4 class="qc-opt-title"><?php _e('Enable Bot Activity Hour', 'wpchatbot'); ?> </h4>
1194 <div class="cxsc-settings-blocks" style="padding:0 20px;">
1195 <input value="1" id="enable_wp_chatbot_opening_hour" type="checkbox"
1196 name="enable_wp_chatbot_opening_hour" <?php echo(get_option('enable_wp_chatbot_opening_hour') == 1 ? 'checked' : ''); ?>>
1197 <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>
1198 </div>
1199 </div>
1200 </div>
1201 <style>
1202 .wp-chatbot-hours-container{
1203 padding:0px 0 15px 0;
1204 display: flex;
1205 justify-content: space-between;
1206 }
1207 .wp-chatbot-hours{
1208 /*width:75%;*/
1209 display: inline-block;
1210 }
1211 .wp-chatbot-hours input{
1212 display: inline-block;
1213 width: 40%;
1214 padding-right: 10px;
1215 text-align: center;
1216 }
1217 .wp-chatbot-hours-remove{
1218 display: inline-block;
1219 /*width:20%;*/
1220 }
1221 </style>
1222 <div class="row" id="wp-chatbot-hours-wrapper">
1223 <div class="col-xs-12">
1224 <h4 class="qc-opt-title"><?php _e('WPBot Bot Activity Hours', 'wpchatbot'); ?> </h4>
1225 <?php
1226
1227 if(get_option('wpwbot_hours')){
1228 $wpwbot_times=unserialize(get_option('wpwbot_hours'));
1229 }else{
1230 $wpwbot_times=array();
1231 }
1232 ?>
1233 <div class="row">
1234 <div class="col-xs-3">Monday</div>
1235 <div class="col-xs-4 wp-chatbot-day">
1236 <?php
1237 $this->wp_chatbot_opening_hours('monday',$wpwbot_times);
1238 ?>
1239 </div>
1240 <div class="col-xs-3">
1241 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="monday">
1242 <i class="fa fa-plus" aria-hidden="true"></i> Add
1243 </button>
1244 </div>
1245 </div>
1246 <div class="row">
1247 <div class="col-xs-3">Tuesday</div>
1248 <div class="col-xs-4 wp-chatbot-day">
1249 <?php
1250 $this->wp_chatbot_opening_hours('tuesday',$wpwbot_times);
1251 ?>
1252 </div>
1253 <div class="col-xs-3">
1254 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="tuesday">
1255 <i class="fa fa-plus" aria-hidden="true"></i> Add
1256 </button>
1257 </div>
1258 </div>
1259 <div class="row">
1260 <div class="col-xs-3">Wednesday</div>
1261 <div class="col-xs-4 wp-chatbot-day">
1262 <?php
1263 $this->wp_chatbot_opening_hours('wednesday',$wpwbot_times);
1264 ?>
1265 </div>
1266 <div class="col-xs-3">
1267 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="wednesday">
1268 <i class="fa fa-plus" aria-hidden="true"></i> Add
1269 </button>
1270 </div>
1271 </div>
1272 <div class="row">
1273 <div class="col-xs-3">Thursday</div>
1274 <div class="col-xs-4 wp-chatbot-day">
1275 <?php
1276 $this->wp_chatbot_opening_hours('thursday',$wpwbot_times);
1277 ?>
1278 </div>
1279 <div class="col-xs-3">
1280 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="thursday">
1281 <i class="fa fa-plus" aria-hidden="true"></i> Add
1282 </button>
1283 </div>
1284 </div>
1285 <div class="row">
1286 <div class="col-xs-3">Friday</div>
1287 <div class="col-xs-4 wp-chatbot-day">
1288 <?php
1289 $this->wp_chatbot_opening_hours('friday',$wpwbot_times);
1290 ?>
1291 </div>
1292 <div class="col-xs-3">
1293 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="friday">
1294 <i class="fa fa-plus" aria-hidden="true"></i> Add
1295 </button>
1296 </div>
1297 </div>
1298 <div class="row">
1299 <div class="col-xs-3">Saturday</div>
1300 <div class="col-xs-4 wp-chatbot-day">
1301 <?php
1302 $this->wp_chatbot_opening_hours('saturday',$wpwbot_times);
1303 ?>
1304 </div>
1305 <div class="col-xs-3">
1306 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="saturday">
1307 <i class="fa fa-plus" aria-hidden="true"></i> Add
1308 </button>
1309 </div>
1310 </div>
1311 <div class="row">
1312 <div class="col-xs-3">Sunday</div>
1313 <div class="col-xs-4 wp-chatbot-day">
1314 <?php
1315 $this->wp_chatbot_opening_hours('sunday',$wpwbot_times);
1316 ?>
1317 </div>
1318 <div class="col-xs-3">
1319 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="sunday">
1320 <i class="fa fa-plus" aria-hidden="true"></i> Add
1321 </button>
1322 </div>
1323 </div>
1324 </div>
1325 </div>
1326 </div>
1327
1328 </section>-->
1329 <section id="section-flip-9">
1330 <div class="top-section">
1331 <div class="wp-chatbot-language-center-summmery">
1332 <p><?php _e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1333 </div>
1334 <div class="row">
1335 <div class="col-xs-12">
1336 <p class="wpqcld_chk_seft">
1337 <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>
1338 </p>
1339 </div>
1340 </div>
1341 <div class="row">
1342 <div class="col-xs-12">
1343 <h4 class="qc-opt-title"><?php _e('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1344 <div class="cxsc-settings-blocks">
1345 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1346 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1347 <label for="enable_wp_chatbot_dailogflow"><?php _e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1348 </div>
1349 </div>
1350 <div class="col-xs-12">
1351 <br>
1352 <p><?php _e('You will need an Access Token from DialogFlow. Log in to DialogFlow Console from', 'wpchatbot'); ?>
1353 <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>
1354
1355 <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>
1356 </div>
1357
1358 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1359 <div class="form-group">
1360 <h4 class="qc-opt-title"><?php _e('DialogFlow client Access Token', 'wpchatbot'); ?></h4>
1361 <input type="text" class="form-control qc-opt-dcs-font"
1362 name="qlcd_wp_chatbot_dialogflow_client_token"
1363 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'); ?>">
1364 </div>
1365 <div class="form-group">
1366 <h4 class="qc-opt-title"><?php _e('DialofFlow Defualt reply', 'wpchatbot'); ?></h4>
1367 <input type="text" class="form-control qc-opt-dcs-font"
1368 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
1369 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'); ?>">
1370 </div>
1371
1372
1373 <div class="form-group">
1374 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpchatbot'); ?></h4>
1375 <input type="text" class="form-control qc-opt-dcs-font"
1376 name="qlcd_wp_chatbot_dialogflow_agent_language"
1377 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'); ?>">
1378 </div>
1379
1380 </div>
1381 </div>
1382 </div>
1383
1384 </section>
1385 <!--<section id="section-flip-10">
1386 <div class="wp-chatbot-language-center-summmery">
1387 <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>
1388 </div>
1389 <div class="top-section">
1390 <div class="row">
1391 <div class="col-xs-12">
1392 <h4 class="qc-opt-title"><?php _e('Mobile App Pages', 'wpchatbot'); ?> </h4>
1393 <div class="cxsc-settings-blocks">
1394 <input value="1" id="wp_chatbot_app_pages" type="checkbox"
1395 name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>>
1396 <label for="wp_chatbot_app_pages"><?php _e('Create pages for WpBot Mobile App', 'wpchatbot'); ?> </label>
1397 </div>
1398 <br>
1399 <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>
1400 <ol>
1401 <li><?php _e('WpBot Mobile App', 'wpchatbot'); ?></li>
1402 <li><?php _e('WpBot App Checkout', 'wpchatbot'); ?></li>
1403 <li><?php _e('WpBot App Order Thank You', 'wpchatbot'); ?></li>
1404 </ol>
1405 <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>
1406 <ol>
1407 <li><?php _e('WpBot Ionic FrameWork package', 'wpchatbot'); ?></li>
1408 <li><?php _e('WpBot PhoneGap package', 'wpchatbot'); ?></li>
1409 </ol>
1410 </div>
1411 </div>
1412 </div>
1413
1414 </section>-->
1415
1416
1417 <section id="section-flip-12">
1418 <div class="top-section">
1419 <div class="row">
1420 <div class="col-xs-12">
1421
1422 <?php wp_enqueue_style( 'qcpd-google-font-lato', 'https://fonts.googleapis.com/css?family=Lato' ); ?>
1423 <?php wp_enqueue_style( 'qcpd-style-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/style.css' ); ?>
1424 <?php wp_enqueue_style( 'qcpd-style-responsive-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/responsive.css' ); ?>
1425
1426 <div class="qc_support_container"><!--qc_support_container-->
1427
1428 <div class="qc_tabcontent clearfix-div">
1429 <div class="qc-row">
1430 <div class="wpbot-chatbot-pro-link">
1431 <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>
1432 </div>
1433 <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>
1434 <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>
1435 <div class="qc-column-12"><!-- qc-column-4 -->
1436 <!-- Feature Box 1 -->
1437 <div class="support-block ">
1438 <div class="support-block-img">
1439 <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>
1440 </div>
1441 <div class="support-block-info">
1442 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Master Theme</a></h4>
1443 <p style="margin-top: -24px;margin-bottom: 50px;">Get a ChatBot Powered Theme!</p>
1444 </div>
1445 </div>
1446 </div><!--/qc-column-4 -->
1447
1448 <div class="qc-column-6"><!-- qc-column-4 -->
1449 <!-- Feature Box 1 -->
1450 <div class="support-block support-block-custom">
1451 <div class="support-block-img">
1452 <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>
1453 </div>
1454 <div class="support-block-info">
1455 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Extended Search</a></h4>
1456 <p>Extend WPBot’s search power to include almost any Custom Post Type including WooCommerce</p>
1457
1458 </div>
1459 </div>
1460 </div><!--/qc-column-4 -->
1461
1462 <div class="qc-column-6"><!-- qc-column-4 -->
1463 <!-- Feature Box 1 -->
1464 <div class="support-block support-block-custom">
1465 <div class="support-block-img">
1466 <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>
1467 </div>
1468 <div class="support-block-info">
1469 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Messenger ChatBot Addon</a></h4>
1470 <p>Utilize the WPBot on your website as a hub to respond to customer questions on FB Page & Messenger</p>
1471
1472 </div>
1473 </div>
1474 </div><!--/qc-column-4 -->
1475
1476
1477 <div class="qc-column-6"><!-- qc-column-4 -->
1478 <!-- Feature Box 1 -->
1479 <div class="support-block support-block-custom">
1480 <div class="support-block-img">
1481 <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>
1482 </div>
1483 <div class="support-block-info">
1484 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Session Save Addon</a></h4>
1485 <p>This AddOn saves the user chat sessions and helps you fine tune the bot for better support and performance.</p>
1486
1487 </div>
1488 </div>
1489 </div><!--/qc-column-4 -->
1490
1491
1492 <div class="qc-column-6"><!-- qc-column-4 -->
1493 <!-- Feature Box 1 -->
1494 <div class="support-block support-block-custom">
1495 <div class="support-block-img">
1496 <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>
1497 </div>
1498 <div class="support-block-info">
1499 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">LiveChat Addon</a></h4>
1500 <p>Live Human Chat integrated with WPBot<p/>
1501 </div>
1502 </div>
1503 </div><!--/qc-column-4 -->
1504
1505 <div class="qc-column-6"><!-- qc-column-4 -->
1506 <!-- Feature Box 1 -->
1507 <div class="support-block support-block-custom">
1508 <div class="support-block-img">
1509 <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>
1510 </div>
1511 <div class="support-block-info">
1512 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">White Label WPBot</a></h4>
1513 <p>Replace the QuantumCloud Logo and branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients.<p/>
1514 </div>
1515 </div>
1516 </div><!--/qc-column-4 -->
1517
1518 </div>
1519 <!--qc row-->
1520 </div>
1521
1522 </div><!--qc_support_container-->
1523
1524
1525
1526 </div>
1527 </div>
1528 <!-- row-->
1529 </div>
1530 </section>
1531
1532
1533 </div><!-- /content -->
1534 </div><!-- /wp-chatbot-tabs -->
1535 <footer class="wp-chatbot-admin-footer">
1536 <div class="row">
1537 <div class="text-left col-sm-3 col-sm-offset-3">
1538 <input type="button" class="btn btn-warning submit-button"
1539 id="qcld-wp-chatbot-reset-option"
1540 value="<?php _e('Reset all options to Default', 'wpchatbot'); ?>"/>
1541 </div>
1542 <div class="text-right col-sm-6">
1543 <input type="submit" class="btn btn-primary submit-button" name="submit"
1544 id="submit" value="<?php _e('Save Settings', 'wpchatbot'); ?>"/>
1545 </div>
1546 </div>
1547 <!-- row-->
1548 </footer>
1549 </section>
1550 </div>
1551 <?php wp_nonce_field('wp_chatbot'); ?>
1552 </form>