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

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