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

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