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

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