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

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