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

1,816 lines 140.6 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 <li tab-data="startmenu"><a href="<?php echo esc_attr($action); ?>&tab=startmenu">
57 <span class="wpwbot-admin-tab-icon">
58 <i class="fa fa-bars"></i>
59 </span>
60 <span class="wpwbot-admin-tab-name"><?php echo esc_html__('Start Menu', 'wpchatbot'); ?></span>
61 </a></li>
62
63 <!--<li tab-data="hours"><a href="<?php echo esc_attr($action); ?>&tab=hours">
64 <span class="wpwbot-admin-tab-icon">
65 <i class="fa fa-calendar"></i>
66 </span>
67 <span class="wpwbot-admin-tab-name"><?php _e('Bot Activity Hour', 'wpchatbot'); ?></span>
68 </a></li>-->
69 <li tab-data="ai"><a href="<?php echo esc_attr($action); ?>&tab=ai">
70 <span class="wpwbot-admin-tab-icon">
71 <i class="fa fa-500px"></i>
72 </span>
73 <span class="wpwbot-admin-tab-name"><?php _e('Dialogflow', 'wpchatbot'); ?></span>
74 </a></li>
75 <!--<li tab-data="app"><a href="<?php echo esc_attr($action); ?>&tab=app">
76 <span class="wpwbot-admin-tab-icon">
77 <i class="fa fa-mobile"></i>
78 </span>
79 <span class="wpwbot-admin-tab-name"><?php _e('MOBILE APP', 'wpchatbot'); ?></span>
80 </a></li>
81 <li tab-data="custom"><a href="<?php echo esc_attr($action); ?>&tab=custom">
82 <span class="wpwbot-admin-tab-icon">
83 <i class="fa fa-code"></i>
84 </span>
85 <span class="wpwbot-admin-tab-name"><?php _e('Custom CSS', 'wpchatbot'); ?> </span>
86 </a></li>-->
87 <li tab-data="addons"><a href="<?php echo esc_attr($action); ?>&tab=addons">
88 <span class="wpwbot-admin-tab-icon">
89 <i class="fa fa-puzzle-piece" aria-hidden="true"></i>
90 </span>
91 <span class="wpwbot-admin-tab-name"><?php echo esc_html__('Addons', 'wpchatbot'); ?> </span>
92 </a></li>
93 </ul>
94 <a class="wpbot_free_messenger_adds" href="https://wordpress.org/plugins/conversational-forms/" target="_blank">Try our new Conversational Form Addon for WPBot</a>
95
96 <a class="wpbot_free_messenger_adds" href="https://wordpress.org/plugins/chatbot-for-messenger/" target="_blank">Try our new ChatBot for Messenger WPBot addon free</a>
97 </nav>
98 <div class="content-wrap">
99 <section id="section-flip-1">
100 <div class="top-section">
101 <div class="row">
102 <div class="col-xs-12">
103 <div class="cxsc-settings-blocks">
104 <div class="form-group">
105 <?php
106 $url = get_site_url();
107 $url = parse_url($url);
108 $domain = $url['host'];
109
110 $admin_email = get_option('admin_email');
111 ?>
112 <h4 class="qc-opt-title"><?php echo esc_html__('Emails Will be Sent to', 'wpchatbot'); ?></h4>
113 <input type="text" class="form-control qc-opt-dcs-font"
114 name="qlcd_wp_chatbot_admin_email"
115 value="<?php echo(get_option('qlcd_wp_chatbot_admin_email') != '' ? get_option('qlcd_wp_chatbot_admin_email') : $admin_email); ?>">
116 <label for="disable_wp_chatbot"><?php echo esc_html__('Support and Call Back requests will be sent to this address', 'wpchatbot'); ?> </label>
117 </div>
118 </div>
119
120 </div>
121 </div>
122 <div class="row">
123 <div class="col-xs-12">
124 <h4 class="qc-opt-title"> <?php _e('Disable WPBot', 'wpchatbot'); ?> </h4>
125 <div class="cxsc-settings-blocks">
126 <input value="1" id="disable_wp_chatbot" type="checkbox"
127 name="disable_wp_chatbot" <?php echo(get_option('disable_wp_chatbot') == 1 ? 'checked' : ''); ?>>
128 <label for="disable_wp_chatbot"><?php _e('Disable WPBot to Load', 'wpchatbot'); ?> </label>
129 </div>
130 </div>
131 </div>
132 <!--<div class="row">
133 <div class="col-xs-12">
134 <h4 class="qc-opt-title"> <?php _e('Disable WPbot on Mobile Device', 'wpchatbot'); ?> </h4>
135 <div class="cxsc-settings-blocks">
136 <input value="1" id="disable_wp_chatbot_on_mobile" type="checkbox"
137 name="disable_wp_chatbot_on_mobile" <?php echo(get_option('disable_wp_chatbot_on_mobile') == 1 ? 'checked' : ''); ?>>
138 <label for="disable_wp_chatbot_on_mobile"><?php _e('Disable WpBot to Load on Mobile Device', 'wpchatbot'); ?> </label>
139 </div>
140 </div>
141 </div>-->
142 <!--<div class="row">
143 <div class="col-xs-12">
144 <h4 class="qc-opt-title"> <?php _e('Sound on Page Load', 'wpchatbot'); ?> </h4>
145 <div class="form-group">
146 <input value="1" id="enable_wp_chatbot_sound_initial" type="checkbox"
147 name="enable_wp_chatbot_sound_initial" <?php echo(get_option('enable_wp_chatbot_sound_initial') == 1 ? 'checked' : ''); ?>>
148 <label for="enable_wp_chatbot_sound_initial"><?php _e('Enable to play sound on initial page load', 'wpchatbot'); ?> </label>
149 </div>
150 </div>
151 </div>-->
152
153 <!-- row-->
154 <!--<div class="row">
155 <div class="col-xs-12">
156 <h4 class="qc-opt-title"> <?php _e('Disable WpBot Icon Animation', 'wpchatbot'); ?> </h4>
157 <div class="cxsc-settings-blocks">
158 <input value="1" id="disable_wp_chatbot_icon_animation" type="checkbox"
159 name="disable_wp_chatbot_icon_animation" <?php echo(get_option('disable_wp_chatbot_icon_animation') == 1 ? 'checked' : ''); ?>>
160 <label for="disable_wp_chatbot_icon_animation"><?php _e('Disable WpBot icon border animation', 'wpchatbot'); ?> </label>
161 </div>
162 </div>
163 </div>-->
164
165
166
167 <!--<div class="row">
168 <div class="col-xs-12">
169 <h4 class="qc-opt-title"><?php _e('Disable WpBot Opening Notification', 'wpchatbot'); ?> </h4>
170 <div class="cxsc-settings-blocks">
171 <input value="1" id="disable_wp_chatbot_notification" type="checkbox"
172 name="disable_wp_chatbot_notification" <?php echo(get_option('disable_wp_chatbot_notification') == 1 ? 'checked' : ''); ?>>
173 <label for="disable_wp_chatbot_notification"><?php _e('Disable WpBot Opening notification messages', 'wpchatbot'); ?> </label>
174 </div>
175 </div>
176 </div>-->
177 <div class="row">
178 <div class="col-xs-12">
179 <h4 class="qc-opt-title"><?php _e('Enable RTL', 'wpchatbot'); ?> </h4>
180 <div class="cxsc-settings-blocks">
181 <input value="1" id="enable_wp_chatbot_rtl" type="checkbox"
182 name="enable_wp_chatbot_rtl" <?php echo(get_option('enable_wp_chatbot_rtl') == 1 ? 'checked' : ''); ?>>
183 <label for="enable_wp_chatbot_rtl"><?php _e('Enable RTL (Right to Left language) Support for Chat', 'wpchatbot'); ?> </label>
184 </div>
185 </div>
186 </div>
187 <!--<div class="row">
188 <div class="col-xs-12">
189 <h4 class="qc-opt-title"><?php _e('Disable Call Me', 'wpchatbot'); ?> </h4>
190 <div class="cxsc-settings-blocks">
191 <input value="1" id="disable_wp_chatbot_call_sup" type="checkbox"
192 name="disable_wp_chatbot_call_sup" <?php echo(get_option('disable_wp_chatbot_call_sup') == 1 ? 'checked' : ''); ?>>
193 <label for="disable_wp_chatbot_call_sup"><?php _e('Disable Call Me button', 'wpchatbot'); ?> </label>
194 </div>
195 </div>
196 </div>-->
197
198 <!-- row-->
199 <div class="row">
200 <div class="col-xs-12">
201 <h4 class="qc-opt-title"><?php _e('WPBot Open Full Screen in Mobile', 'wpchatbot'); ?> </h4>
202 <div class="cxsc-settings-blocks">
203 <input value="1" id="enable_wp_chatbot_mobile_full_screen" type="checkbox"
204 name="enable_wp_chatbot_mobile_full_screen" <?php echo(get_option('enable_wp_chatbot_mobile_full_screen') == 1 ? 'checked' : ''); ?>>
205 <label for="enable_wp_chatbot_mobile_full_screen"><?php _e('Enable WpBot Open Full Screen in Mobile', 'wpchatbot'); ?> </label>
206 </div>
207 </div>
208 </div>
209 <div class="row">
210 <div class="col-xs-12">
211 <h4 class="qc-opt-title"><?php _e('Override WPBot Icon\'s Position', 'wpchatbot'); ?> </h4>
212 <div class="cxsc-settings-blocks">
213 <?php
214 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
215 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
216 $qcld_wb_chatbot_position_x = __("120", "wp_chatbot");
217 }
218 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
219 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
220 $qcld_wb_chatbot_position_y = __("120", "wp_chatbot");
221 } ?>
222 <input type="number" class="qc-opt-dcs-font"
223 name="wp_chatbot_position_x"
224 id=""
225 value="<?php echo($qcld_wb_chatbot_position_x); ?>"
226 placeholder="<?php _e('From Right In px', 'wpchatbot'); ?>"> <span class="qc-opt-dcs-font"><?php _e('From Right In px', 'wpchatbot'); ?></span>
227 <input type="number" class="qc-opt-dcs-font"
228 name="wp_chatbot_position_y"
229 id=""
230 value="<?php echo($qcld_wb_chatbot_position_y); ?>"
231 placeholder="<?php _e('From Bottom In Px', 'wpchatbot'); ?>"> <span class="qc-opt-dcs-font"><?php _e('From Bottom In px', 'wpchatbot'); ?></span>
232 </div>
233 </div>
234 <!--.col-sm-12-->
235 </div>
236 <!-- row-->
237
238 <div class="row">
239 <div class="col-xs-12">
240 <h4 class="qc-opt-title"><strong> <?php _e('WPBot', 'wpchatbot'); ?></strong> <?php _e('Loading Control Options', 'wpchatbot'); ?> </h4>
241 <div class="cxsc-settings-blocks">
242 <div class="row">
243 <div class="col-sm-4 text-right">
244 <span class="qc-opt-title-font"><?php _e('Show on Home Page', 'wpchatbot'); ?></span>
245 </div>
246 <div class="col-sm-8">
247 <label class="radio-inline">
248 <input id="wp-chatbot-show-home-page" type="radio"
249 name="wp_chatbot_show_home_page"
250 value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? 'checked' : ''); ?>>
251 <?php _e('YES', 'wpchatbot'); ?>
252 </label>
253 <label class="radio-inline">
254 <input id="wp-chatbot-show-home-page" type="radio"
255 name="wp_chatbot_show_home_page"
256 value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? 'checked' : ''); ?>>
257 <?php _e('NO', 'wpchatbot'); ?>
258 </label>
259 </div>
260 </div>
261 <!-- row-->
262 <div class="row">
263 <div class="col-sm-4 text-right">
264 <span class="qc-opt-title-font"><?php _e('Show on blog posts', 'wpchatbot'); ?></span>
265 </div>
266 <div class="col-sm-8">
267 <label class="radio-inline">
268 <input class="wp-chatbot-show-posts" type="radio"
269 name="wp_chatbot_show_posts"
270 value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? 'checked' : ''); ?>>
271 <?php _e('YES', 'wpchatbot'); ?>
272 </label>
273 <label class="radio-inline">
274 <input class="wp-chatbot-show-posts" type="radio"
275 name="wp_chatbot_show_posts"
276 value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? 'checked' : ''); ?>>
277 <?php _e('NO', 'wpchatbot'); ?>
278 </label>
279 </div>
280 </div>
281 <!-- row-->
282 <div class="row">
283 <div class="col-md-4 text-right">
284 <span class="qc-opt-title-font"><?php _e('Show on pages', 'wpchatbot'); ?></span>
285 </div>
286 <div class="col-md-8">
287 <label class="radio-inline">
288 <input class="wp-chatbot-show-pages" type="radio"
289 name="wp_chatbot_show_pages"
290 value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? 'checked' : ''); ?>>
291 <?php _e('All Pages', 'wpchatbot'); ?>
292 </label>
293 <label class="radio-inline">
294 <input class="wp-chatbot-show-pages" type="radio"
295 name="wp_chatbot_show_pages"
296 value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? 'checked' : ''); ?>>
297 <?php _e('Selected Pages Only ', 'wpchatbot'); ?></label>
298 <div id="wp-chatbot-show-pages-list">
299 <ul class="checkbox-list">
300 <?php
301 $wp_chatbot_pages = get_pages();
302 $wp_chatbot_select_pages = unserialize(get_option('wp_chatbot_show_pages_list'));
303 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
304 ?>
305 <li>
306 <input
307 id="wp_chatbot_show_page_<?php echo $wp_chatbot_page->ID; ?>"
308 type="checkbox"
309 name="wp_chatbot_show_pages_list[]"
310 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) {
311 echo 'checked';
312 } ?> >
313 <label
314 for="wp_chatbot_show_page_<?php echo $wp_chatbot_page->ID; ?>"> <?php echo $wp_chatbot_page->post_title; ?></label>
315 </li>
316 <?php } ?>
317 </ul>
318 </div>
319 </div>
320 </div>
321
322 </div>
323 <!-- cxsc-settings-blocks-->
324 </div>
325 <!-- col-xs-12-->
326 </div>
327 <!-- row-->
328
329 </div>
330 <!-- top-section-->
331 </section>
332 <section id="section-flip-2">
333 <div class="top-section">
334
335 <div class="row">
336 <div class="col-xs-12">
337
338 <div class="row">
339 <div class="col-xs-12">
340 <p class="wpqcld_chk_seft">
341 <a target="_blank" href="https://www.quantumcloud.com/products/themes/chatbot-theme/"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL ?>/chatbot-theme.jpg" alt="" /></a>
342 </p>
343 </div>
344 </div>
345
346 <h4 class="qc-opt-title"><?php _e('WPBot Icon', 'wpchatbot'); ?></h4>
347 <div class="cxsc-settings-blocks">
348 <ul class="radio-list">
349 <!--<li><label for="wp_chatbot_icon_0" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-0.png"
350 alt=""> <input id="wp_chatbot_icon_0" type="radio"
351 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? 'checked' : ''); ?>
352 value="icon-0.png">
353 <?php _e('Icon - 0', 'wpchatbot'); ?></label>
354 </li>
355 <li><label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-1.png"
356 alt=""> <input id="wp_chatbot_icon_1" type="radio"
357 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? 'checked' : ''); ?>
358 value="icon-1.png">
359 <?php _e('Icon - 1', 'wpchatbot'); ?></label>
360 </li>-->
361 <li><label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-2.png"
362 alt=""> <input id="wp_chatbot_icon_2" type="radio"
363 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? 'checked' : ''); ?>
364 value="icon-2.png">
365 <?php _e('Icon - 2', 'wpchatbot'); ?></label>
366 </li>
367 <li><label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-3.png"
368 alt=""> <input id="wp_chatbot_icon_3" type="radio"
369 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? 'checked' : ''); ?>
370 value="icon-3.png">
371 <?php _e('Icon - 3', 'wpchatbot'); ?></label>
372 </li>
373 <li><label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-4.png"
374 alt=""> <input id="wp_chatbot_icon_4" type="radio"
375 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? 'checked' : ''); ?>
376 value="icon-4.png">
377 <?php _e('Icon - 4', 'wpchatbot'); ?></label>
378 </li>
379 <li><label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-5.png"
380 alt=""> <input id="wp_chatbot_icon_5" type="radio"
381 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? 'checked' : ''); ?>
382 value="icon-5.png">
383 <?php _e('Icon - 5', 'wpchatbot'); ?></label>
384 </li>
385 <li><label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-6.png"
386 alt=""> <input id="wp_chatbot_icon_6" type="radio"
387 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? 'checked' : ''); ?>
388 value="icon-6.png">
389 <?php _e('Icon - 6', 'wpchatbot'); ?></label>
390 </li>
391 <li><label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-7.png"
392 alt=""> <input id="wp_chatbot_icon_7" type="radio"
393 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? 'checked' : ''); ?>
394 value="icon-7.png">
395 <?php _e('Icon - 7', 'wpchatbot'); ?></label>
396 </li>
397 <li><label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-8.png"
398 alt=""> <input id="wp_chatbot_icon_8" type="radio"
399 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? 'checked' : ''); ?>
400 value="icon-8.png">
401 <?php _e('Icon - 8', 'wpchatbot'); ?></label>
402 </li>
403 <li><label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-9.png"
404 alt=""> <input id="wp_chatbot_icon_9" type="radio"
405 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? 'checked' : ''); ?>
406 value="icon-9.png">
407 <?php _e('Icon - 9', 'wpchatbot'); ?></label>
408 </li>
409 <li><label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-10.png"
410 alt=""> <input id="wp_chatbot_icon_10" type="radio"
411 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? 'checked' : ''); ?>
412 value="icon-10.png">
413 <?php _e('Icon - 10', 'wpchatbot'); ?></label>
414 </li>
415 <li><label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-11.png"
416 alt=""> <input id="wp_chatbot_icon_11" type="radio"
417 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? 'checked' : ''); ?>
418 value="icon-11.png">
419 <?php _e('Icon - 11', 'wpchatbot'); ?></label>
420 </li>
421 <li><label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-12.png"
422 alt=""> <input id="wp_chatbot_icon_12" type="radio"
423 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? 'checked' : ''); ?>
424 value="icon-12.png">
425 <?php _e('Icon - 12', 'wpchatbot'); ?></label>
426 </li>
427 <li><label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-13.png"
428 alt=""> <input id="wp_chatbot_icon_13" type="radio"
429 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? 'checked' : ''); ?>
430 value="icon-13.png">
431 <?php _e('Icon - 13', 'wpchatbot'); ?></label>
432 </li>
433
434 <li>
435 <?php
436 if (get_option('wp_chatbot_custom_icon_path') != "") {
437 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
438 } else {
439 $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png';
440 }
441 ?>
442 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font">
443 <img id="wp_chatbot_custom_icon_src"
444 src="<?php echo $wp_chatbot_custom_icon_path; ?>" alt="">
445 <input id="wp_chatbot_custom_icon_input" type="radio"
446 name="wp_chatbot_icon"
447 value="custom.png" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? 'checked' : ''); ?>>
448 <?php _e('Custom Icon', 'wpchatbot'); ?></label>
449 </li>
450
451 </ul>
452 </div>
453 <!-- cxsc-settings-blocks-->
454 </div>
455 </div>
456 <div class="row">
457 <div class="col-xs-12">
458 <h4 class="qc-opt-title"><?php _e(' Upload custom Icon ', 'wpchatbot'); ?></h4>
459 <div class="cxsc-settings-blocks">
460 <input type="hidden" name="wp_chatbot_custom_icon_path"
461 id="wp_chatbot_custom_icon_path"
462 value="<?php echo $wp_chatbot_custom_icon_path; ?>"/>
463 <button type="button" class="wp_chatbot_custom_icon_button button"><?php _e('Upload Icon', 'wpchatbot'); ?> </button>
464 </div>
465
466 </div>
467 </div>
468 </div>
469
470 <div class="top-section">
471 <div class="row">
472 <div class="col-xs-12">
473 <h4 class="qc-opt-title"><?php _e(' WPBot Agent Image', 'wpchatbot'); ?></h4>
474 <div class="cxsc-settings-blocks">
475 <ul class="radio-list">
476 <li>
477 <label for="wp_chatbot_agent_image_def" class="qc-opt-dcs-font">
478 <img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>icon-0.png"
479 alt=""> <input id="wp_chatbot_agent_image_def" type="radio"
480 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? 'checked' : ''); ?>
481 value="agent-0.png">
482
483 <?php _e('Default Agent', 'wpchatbot'); ?></label>
484 </li>
485 <li>
486 <?php
487 if (get_option('wp_chatbot_custom_agent_path') != "") {
488 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
489 } else {
490 $wp_chatbot_custom_agent_path = QCLD_wpCHATBOT_IMG_URL . 'custom-agent.png';
491 }
492 ?>
493 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font">
494 <img id="wp_chatbot_custom_agent_src"
495 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
496 alt="Agent">
497 <input type="radio" name="wp_chatbot_agent_image"
498 id="wp_chatbot_agent_image_custom"
499 value="custom-agent.png" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? 'checked' : ''); ?>>
500 <?php echo esc_html__('Custom Agent', 'wpchatbot'); ?></label>
501 </li>
502
503 </ul>
504 </div>
505 <!-- cxsc-settings-blocks-->
506 </div>
507 </div>
508 <div class="row">
509 <div class="col-xs-12">
510 <h4 class="qc-opt-title"> <?php _e('Custom Agent Icon', 'wpchatbot'); ?> </h4>
511 <div class="cxsc-settings-blocks">
512 <input type="hidden" name="wp_chatbot_custom_agent_path"
513 id="wp_chatbot_custom_agent_path"
514 value="<?php echo $wp_chatbot_custom_agent_path; ?>"/>
515 <button type="button" class="wp_chatbot_custom_agent_button button"><?php _e('Upload Agent Icon', 'wpchatbot'); ?></button>
516 </div>
517 </div>
518 </div>
519 </div>
520 <div id="top-section">
521 <div class="row">
522 <div class="col-sm-12">
523 <h4 class="qc-opt-title"> <?php _e('WPBot Themes', 'wpchatbot'); ?></h4>
524 </div>
525 </div>
526 <div class="row">
527 <div class="col-sm-3">
528 <label for="qcld_wb_chatbot_theme_0">
529 <img class="thumbnail theme_prev"
530 src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-00.JPG"
531 alt="Theme Basic">
532 <input id="qcld_wb_chatbot_theme_0" type="radio"
533 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? 'checked' : ''); ?>
534 value="template-00">
535 <?php _e('Theme Basic', 'wpchatbot'); ?></label>
536 </div>
537
538 </div>
539 </div>
540 <!--<hr>
541 <div id="top-section">
542 <div class="row">
543 <div class="col-sm-12">
544 <h4 class="qc-opt-title"> <?php _e('Custom Backgroud', 'wpchatbot'); ?></h4>
545 <div class="cxsc-settings-blocks">
546 <input value="1" id="qcld_wb_chatbot_change_bg" type="checkbox"
547 name="qcld_wb_chatbot_change_bg" <?php echo(get_option('qcld_wb_chatbot_change_bg') == 1 ? 'checked' : ''); ?>>
548 <label for="qcld_wb_chatbot_change_bg"><?php _e('Change the wpwBot message board background for Theme 2 and Theme 3.', 'wpchatbot'); ?> </label>
549 </div>
550 </div>
551 </div>
552 <div class="row qcld-wp-chatbot-board-bg-container" <?php if (get_option('qcld_wb_chatbot_change_bg') != 1) {
553 echo 'style="display:none"';
554 } ?>>
555 <div class="col-xs-6">
556 <p class="wp-chatbot-settings-instruction"> <?php _e('Upload wpwBot message board background (Ideal image size 376px X 688px).', 'wpchatbot'); ?> </p>
557 <div class="cxsc-settings-blocks">
558 <?php
559 if (get_option('qcld_wb_chatbot_board_bg_path') != "") {
560 $qcld_wb_chatbot_board_bg_path = get_option('qcld_wb_chatbot_board_bg_path');
561 } else {
562 $qcld_wb_chatbot_board_bg_path = QCLD_wpCHATBOT_IMG_URL . 'background/background.png';
563 }
564 ?>
565 <input type="hidden" name="qcld_wb_chatbot_board_bg_path"
566 id="qcld_wb_chatbot_board_bg_path"
567 value="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"/>
568 <button type="button" class="qcld_wb_chatbot_board_bg_button button"><?php _e('Upload WpBot background.', 'wpchatbot'); ?></button>
569 </div>
570 </div>
571
572 <div class="col-xs-6">
573 <p class="wp-chatbot-settings-instruction"> <?php _e('Custom message board background', 'wpchatbot'); ?> </p>
574 <img id="qcld_wb_chatbot_board_bg_image" style="height:100%;width:100%"
575 src="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"
576 alt="Custom Background">
577 </div>
578 </div>
579 </div>-->
580 </section>
581 <section id="section-flip-3">
582 <div class="row">
583 <div class="col-xs-12">
584
585
586
587 </div>
588 </div>
589 <div class="top-section">
590 <h4 class="qc-opt-title"><?php _e('Build FAQ Query and Answers', 'wpchatbot'); ?></h4>
591 <div class="block-inner ui-sortable" id="wp-chatbot-support-builder">
592 <?php
593 $support_quereis=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_query')));
594 $support_ans=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_ans')));
595 if (count($support_ans) >= 1) {
596 //foreach (get_option('support_ans') as $support_ans){
597 $query_ans_counter=0;
598 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
599 ?>
600 <div class="row">
601 <span class="pull-right"> </span>
602 <div class="col-xs-12">
603 <button type="button"
604 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
605 <i class="fa fa-times" aria-hidden="true"></i>
606 </button>
607 <span class="wp-chatbot-support-cross pull-right" >
608 <i class="fa fa-crosshairs" aria-hidden="true"></i>
609 </span>
610 <div class="cxsc-settings-blocks">
611 <p class="qc-opt-dcs-font"><?php _e('FAQ query ', 'wpchatbot'); ?></p>
612 <input type="text" class="form-control" name="support_query[]"
613 placeholder="<?php _e('FAQ query ', 'wpchatbot'); ?>" value="<?php echo $query ?>">
614 <br>
615 <p class="qc-opt-dcs-font"><?php _e('FAQ answer', 'wpchatbot'); ?></p>
616 <?php wp_editor(html_entity_decode(stripcslashes($ans)), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
617 'support_ans[]',
618 'textarea_rows' => 20,
619 'editor_height' => 100,
620 'disabled' => 'disabled',
621 'media_buttons' => false,
622 'tinymce' => array(
623 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
624 )); ?>
625 </div>
626 </div>
627 </div>
628 <?php
629 $query_ans_counter++;
630 }
631 //}
632 } else {
633 ?>
634 <div class="row">
635 <div class="col-xs-12">
636 <button type="button"
637 class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right">
638 <i class="fa fa-times" aria-hidden="true"></i>
639 </button>
640 <span class="wp-chatbot-support-cross pull-right" >
641 <i class="fa fa-crosshairs" aria-hidden="true"></i>
642 </span>
643 <div class="cxsc-settings-blocks">
644 <p class="qc-opt-dcs-font"><?php _e('Support query', 'wpchatbot'); ?> </p>
645 <input type="text" class="form-control" name="support_query[]"
646 placeholder="<?php _e('Support query ', 'wpchatbot'); ?>">
647 <br>
648 <p class="qc-opt-dcs-font"><strong><?php _e('Support answer', 'wpchatbot'); ?></strong></p>
649 <?php wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
650 'support_ans[]',
651 'textarea_rows' => 20,
652 'editor_height' => 100,
653 'disabled' => 'disabled',
654 'media_buttons' => false,
655 'tinymce' => array(
656 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
657 )); ?>
658 </div>
659 <br>
660 </div>
661 </div>
662 <?php
663 }
664 ?>
665 </div>
666 <div class="row">
667 <div class="col-sm-6 text-left"></div>
668 <div class="col-sm-6 text-right">
669 <button class="btn btn-success btn-sm" type="button"
670 id="add-more-support-query"><i
671 class="fa fa-plus" aria-hidden="true"></i> <?php _e('Add More Questions and Answers', 'wpchatbot'); ?>
672 </button>
673 </div>
674 </div>
675 </div>
676 </section>
677 <!--<section id="section-flip-4">
678 <div class="top-section">
679 <div class="notification-block-inner">
680 <div class="row">
681 <div class="col-xs-12">
682 <div class="cxsc-settings-blocks">
683 <?php $notification_interval = get_option('qlcd_wp_chatbot_notification_interval') != "" ? get_option('qlcd_wp_chatbot_notification_interval') : 5 ?>
684 <h4 class="qc-opt-title"><?php _e('Interval between notifications (in Seconds).', 'wpchatbot'); ?></h4>
685 <input type="text" class="form-control"
686 name="qlcd_wp_chatbot_notification_interval"
687 value="<?php echo $notification_interval ?>">
688 </div>
689 </div>
690 </div>
691
692 <?php
693 $notifications = $this->qcld_wb_chatbot_str_replace(unserialize(get_option('qlcd_wp_chatbot_notifications')));
694 if (!empty($notifications)) {
695 $chatbot_notif_counter=0;
696 foreach ($notifications as $notification) {
697 ?>
698 <div class="row">
699 <div class="col-xs-12">
700 <button type="button"
701 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
702 <i class="fa fa-times" aria-hidden="true"></i>
703 </button>
704 <div class="cxsc-settings-blocks">
705 <?php wp_editor(html_entity_decode(stripcslashes($notification)), 'qlcd_wp_chatbot_notifications_'.$chatbot_notif_counter, array('textarea_name' =>
706 'qlcd_wp_chatbot_notifications[]',
707 'textarea_rows' => 20,
708 'editor_height' => 100,
709 'disabled' => 'disabled',
710 'media_buttons' => false,
711 'tinymce' => array(
712 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
713 )); ?>
714 </div>
715 </div>
716
717 </div>
718
719 <?php
720 $chatbot_notif_counter++;
721 }
722 //}
723 } else {
724 ?>
725 <div class="row">
726 <div class="col-xs-12">
727 <button type="button"
728 class="btn btn-danger btn-sm wp-chatbot-remove-notification pull-right">
729 <i class="fa fa-times" aria-hidden="true"></i>
730 </button>
731 <div class="cxsc-settings-blocks">
732 <?php wp_editor(html_entity_decode(stripcslashes('')), 'qlcd_wp_chatbot_notifications_0', array('textarea_name' =>
733 'qlcd_wp_chatbot_notifications[]',
734 'textarea_rows' => 20,
735 'editor_height' => 100,
736 'disabled' => 'disabled',
737 'media_buttons' => false,
738 'tinymce' => array(
739 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
740 )); ?>
741 </div>
742 </div>
743 </div>
744 <?php
745 }
746 ?>
747 </div>
748 <div class="row">
749 <div class="col-sm-6 text-left"></div>
750 <div class="col-sm-6 text-right">
751 <button class="btn btn-success btn-sm" type="button"
752 id="add-more-notification-message">
753 <i class="fa fa-plus" aria-hidden="true"></i> <?php _e('Add', 'wpchatbot'); ?>
754 </button>
755 </div>
756 </div>
757
758 </div>
759
760 </section>-->
761 <section id="section-flip-4">
762 <div class="wp-chatbot-language-center-summmery">
763
764 </div>
765 <ul class="nav nav-tabs">
766 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general"><?php _e('General', 'wpchatbot'); ?></a></li>
767
768 <li><a data-toggle="tab" href="#wp-chatbot-lng-support"><?php _e('FAQ', 'wpchatbot'); ?></a></li>
769
770 <li><a data-toggle="tab" href="#wp-chatbot-lng-system-keyword"><?php _e('System Keywords', 'wpchatbot'); ?></a></li>
771 </ul>
772 <div class="tab-content">
773 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
774 <div class="top-section">
775 <div class="row">
776 <div class="col-xs-12" id="wp-chatbot-language-section">
777
778 <p>After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).</p>
779 <p>You could use &lt;br&gt; tag for line break.</p>
780
781 <div class="form-group">
782 <h4 class="qc-opt-title"><?php _e('Your Company or Website Name', 'wpchatbot'); ?></h4>
783 <input type="text" class="form-control qc-opt-dcs-font"
784 name="qlcd_wp_chatbot_host"
785 value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?>">
786 </div>
787 <div class="form-group">
788 <h4 class="qc-opt-title"><?php _e('Agent name', 'wpchatbot'); ?></h4>
789 <input type="text" class="form-control qc-opt-dcs-font"
790 name="qlcd_wp_chatbot_agent"
791 value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>">
792 </div>
793 <div class="form-group">
794 <h4 class="qc-opt-title"><?php _e('User demo name', 'wpchatbot'); ?></h4>
795 <input type="text" class="form-control qc-opt-dcs-font"
796 name="qlcd_wp_chatbot_shopper_demo_name"
797 value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?>">
798 </div>
799 <div class="form-group">
800 <h4 class="qc-opt-title"><?php _e('YES', 'wpchatbot'); ?></h4>
801 <input type="text" class="form-control qc-opt-dcs-font"
802 name="qlcd_wp_chatbot_yes"
803 value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>">
804 </div>
805 <div class="form-group">
806 <h4 class="qc-opt-title"><?php _e('NO', 'wpchatbot'); ?></h4>
807 <input type="text" class="form-control qc-opt-dcs-font"
808 name="qlcd_wp_chatbot_no"
809 value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>">
810 </div>
811 <div class="form-group">
812 <h4 class="qc-opt-title"><?php _e('OR', 'wpchatbot'); ?></h4>
813 <input type="text" class="form-control qc-opt-dcs-font"
814 name="qlcd_wp_chatbot_or"
815 value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>">
816 </div>
817 <div class="form-group">
818 <h4 class="qc-opt-title"><?php _e('Sorry', 'wpchatbot'); ?></h4>
819 <input type="text" class="form-control qc-opt-dcs-font"
820 name="qlcd_wp_chatbot_sorry"
821 value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>">
822 </div>
823 <div class="form-group">
824 <?php
825 $agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join'));
826 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
827 $agent_join_text = __('has joined the conversation', 'wpchatbot');
828 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
829 ?>
830 </div>
831 </div>
832 <!--col-xs-12-->
833 <div class="col-xs-12" id="wp-chatbot-language-section">
834 <h4 class="text-success"><?php _e(' Message setting for Greetings: ', 'wpchatbot'); ?></h4>
835 <div class="form-group">
836 <?php
837 $welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome'));
838 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
839 $welcome_to_text =__('Welcome to', 'wpchatbot');
840 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
841 ?>
842 </div>
843 <div class="form-group">
844 <?php
845 $welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
846 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
847 $welcome_back_text = __('Welcome back', 'wpchatbot');
848 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
849 ?>
850 </div>
851 <div class="form-group">
852 <?php
853 $back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
854 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
855 $back_to_start_text = __('Back to Start', 'wpchatbot');
856 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
857 ?>
858 </div>
859 <div class="form-group">
860 <?php
861 $hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there'));
862 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
863 $hi_there_text = __('Hi There!', 'wpchatbot');
864 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
865 ?>
866 </div>
867 <div class="form-group">
868 <?php
869 $asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name'));
870 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
871 $asking_name_text = __('May I know your name?', 'wpchatbot');
872 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
873 ?>
874 </div>
875 <div class="form-group">
876 <?php
877 $i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am'));
878 $i_am_option = 'qlcd_wp_chatbot_i_am';
879 $i_am_text = __('I am', 'wpchatbot');
880 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
881 ?>
882 </div>
883 <div class="form-group">
884 <?php
885 $name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
886 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
887 $name_greeting_text = __('Nice to meet you', 'wpchatbot');
888 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
889 ?>
890 </div>
891 <div class="form-group">
892 <?php
893 $wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
894 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
895 $wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpchatbot');
896 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
897 ?>
898 </div>
899 <div class="form-group">
900 <?php
901 $empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
902 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
903 $empty_filter_msg_text = __('Sorry, I did not understand that', 'wpchatbot');
904 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
905 ?>
906 </div>
907
908 <h4 class="text-success"> <?php _e('Message setting for Editor Box ', 'wpchatbot'); ?></h4>
909 <div class="form-group">
910 <?php
911 $is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing'));
912 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
913 $is_typing_text = __('is typing...', 'wpchatbot');
914 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
915 ?>
916 </div>
917 <div class="form-group">
918 <?php
919 $send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
920 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
921 $send_a_msg_text =__('Send a message', 'wpchatbot');
922 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
923 ?>
924 </div>
925 <div class="form-group">
926 <?php
927 $choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option'));
928 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
929 $choose_option_text = __('Choose an option', 'wpchatbot');
930 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
931 ?>
932 </div>
933
934
935
936 <div class="form-group">
937 <?php
938 $asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email'));
939 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
940 $asking_email_text = __('Please provide your email address', 'wpchatbot');
941 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
942 ?>
943 </div>
944 <div class="form-group">
945 <?php
946 $invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
947 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
948 $invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpchatbot');
949 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
950 ?>
951 </div>
952 <div class="form-group">
953 <?php
954 $asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
955 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
956 $asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpchatbot');
957 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
958 ?>
959 </div>
960
961
962
963 <div class="form-group">
964 <h4 class="qc-opt-title"><?php _e('WPBot Support Mail Subject', 'wpchatbot'); ?></h4>
965 <input type="text" class="form-control qc-opt-dcs-font"
966 name="qlcd_wp_chatbot_email_sub"
967 value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? get_option('qlcd_wp_chatbot_email_sub') : 'Support Email Subject'); ?>">
968 </div>
969
970 <div class="form-group">
971 <?php
972 $support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
973 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
974 $support_option_again_text = __('You may choose option from below.', 'wpchatbot');
975 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
976 ?>
977 </div>
978
979 <div class="form-group">
980 <h4 class="qc-opt-title"><?php _e('Your email was sent successfully.Thanks!', 'wpchatbot'); ?></h4>
981 <input type="text" class="form-control qc-opt-dcs-font"
982 name="qlcd_wp_chatbot_email_sent"
983 value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?>">
984 </div>
985 <div class="form-group">
986 <h4 class="qc-opt-title"><?php _e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpchatbot'); ?></h4>
987 <input type="text" class="form-control qc-opt-dcs-font"
988 name="qlcd_wp_chatbot_email_fail"
989 value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? get_option('qlcd_wp_chatbot_email_fail') : 'Sorry! fail to send email'); ?>">
990 </div>
991
992
993
994 <div class="form-group">
995 <?php
996 $support_phone_options = unserialize(get_option('qlcd_wp_chatbot_support_phone'));
997 $support_phone_option = 'qlcd_wp_chatbot_support_phone';
998 $support_phone_text = __('Leave your number. We will call you back!', 'wpchatbot');
999 $this->qcld_wb_chatbot_dynamic_multi_option($support_phone_options, $support_phone_option, $support_phone_text);
1000 ?>
1001 </div>
1002 <div class="form-group">
1003 <?php
1004 $asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1005 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1006 $asking_phone_text = __('Please provide your Phone number', 'wpchatbot');
1007 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1008 ?>
1009 </div>
1010 <div class="form-group">
1011 <?php
1012 $thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1013 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1014 $thanks_phone_text = __('Thank you for Phone number', 'wpchatbot');
1015 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1016 ?>
1017 </div>
1018
1019 <div class="form-group">
1020 <h4 class="qc-opt-title"><?php _e('Thanks for your phone number. We will call you ASAP!', 'wpchatbot'); ?></h4>
1021 <input type="text" class="form-control qc-opt-dcs-font"
1022 name="qlcd_wp_chatbot_phone_sent"
1023 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!'); ?>">
1024 </div>
1025 <div class="form-group">
1026 <h4 class="qc-opt-title"><?php _e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpchatbot'); ?></h4>
1027 <input type="text" class="form-control qc-opt-dcs-font"
1028 name="qlcd_wp_chatbot_phone_fail"
1029 value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? get_option('qlcd_wp_chatbot_phone_fail') : 'Sorry! I could not collect phone number!'); ?>">
1030 </div>
1031
1032
1033
1034
1035
1036
1037 </div>
1038 </div>
1039 </div>
1040 </div>
1041
1042 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1043 <div class="top-section">
1044 <div class="row">
1045 <div class="col-xs-12" id="wp-chatbot-language-section">
1046 <div class="form-group">
1047 <?php
1048 $wildcard_support_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_support'));
1049 $wildcard_support_option = 'qlcd_wp_chatbot_wildcard_support';
1050 $wildcard_support_text = __('FAQ', 'wpchatbot');
1051 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_support_options, $wildcard_support_option, $wildcard_support_text);
1052 ?>
1053 </div>
1054 <div class="form-group">
1055 <?php
1056 $support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1057 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1058 $support_welcome_text = __('Welcome to FAQ Section', 'wpchatbot');
1059 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1060 ?>
1061 </div>
1062 <!--<div class="form-group">
1063 <?php
1064 $support_email_options = unserialize(get_option('qlcd_wp_chatbot_support_email'));
1065 $support_email_option = 'qlcd_wp_chatbot_support_email';
1066 $support_email_text = __('Click me if you want to send us a email.', 'wpchatbot');
1067 $this->qcld_wb_chatbot_dynamic_multi_option($support_email_options, $support_email_option, $support_email_text);
1068 ?>
1069 </div>-->
1070
1071
1072 <!--<div class="form-group">
1073 <?php
1074 $feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1075 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1076 $feedback_label_text = __('Send Feedback!', 'wpchatbot');
1077 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1078 ?>
1079 </div>-->
1080
1081
1082 </div>
1083 </div>
1084 </div>
1085 </div>
1086
1087 <div id="wp-chatbot-lng-system-keyword" class="tab-pane fade">
1088 <div class="top-section">
1089 <div class="row">
1090 <div class="col-xs-12" id="wp-chatbot-language-section">
1091 <div class="form-group">
1092 <h4 class="qc-opt-title"><?php _e('Start Keyword', 'wpchatbot'); ?></h4>
1093 <input type="text" class="form-control qc-opt-dcs-font"
1094 name="qlcd_wp_chatbot_sys_key_help"
1095 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?>">
1096 </div>
1097
1098
1099
1100 <div class="form-group">
1101 <h4 class="qc-opt-title"><strong><?php _e('FAQ', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1102 <input type="text" class="form-control qc-opt-dcs-font"
1103 name="qlcd_wp_chatbot_sys_key_support"
1104 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?>">
1105 </div>
1106 <div class="form-group">
1107 <h4 class="qc-opt-title"><strong><?php _e('Converstion History Clear', 'wpchatbot'); ?></strong> <?php _e('Keyword', 'wpchatbot'); ?></h4>
1108 <input type="text" class="form-control qc-opt-dcs-font"
1109 name="qlcd_wp_chatbot_sys_key_reset"
1110 value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?>">
1111 </div>
1112 <div class="form-group">
1113 <?php
1114 $help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome'));
1115 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1116 $help_welcome_text = 'Welcome to Help Section';
1117 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1118 ?>
1119 </div>
1120 <div class="form-group">
1121 <?php
1122 $help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg'));
1123 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1124 $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.';
1125 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1126 ?>
1127 </div>
1128 <div class="form-group">
1129 <?php
1130 $reset_options = unserialize(get_option('qlcd_wp_chatbot_reset'));
1131 $reset_option = 'qlcd_wp_chatbot_reset';
1132 $reset_text = 'Do you want to clear our chat history and start over?';
1133 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1134 ?>
1135 </div>
1136 </div>
1137 <!-- col-xs-12-->
1138 </div>
1139 <!-- row-->
1140 </div>
1141 <!-- top-section-->
1142 </div>
1143 <!-- wp-chatbot-lng-system-keyword-->
1144 </div>
1145 <!-- tab-content-->
1146 </section>
1147
1148
1149 <section id="section-flip-5">
1150 <?php
1151 wp_enqueue_style('qcld-wp-chatbot-common-style', plugins_url(basename(plugin_dir_path(__FILE__)) . '/css/common-style.css', basename(__FILE__)), '', QCLD_wpCHATBOT_VERSION, 'screen');
1152 ?>
1153 <div class="top-section">
1154 <div class="notification-block-inner">
1155 <div class="row">
1156 <div class="col-xs-12">
1157
1158 <div class="row">
1159 <div class="col-xs-12">
1160 <h2>Predefined Intents</h2>
1161
1162
1163 <div class="row">
1164 <div class="col-xs-12">
1165 <h4 class="qc-opt-title"><?php _e('Disable Call Me', 'wpchatbot'); ?> </h4>
1166 <div class="cxsc-settings-blocks">
1167 <input value="1" id="disable_wp_chatbot_call_gen" type="checkbox"
1168 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? 'checked' : ''); ?>>
1169 <label for="disable_wp_chatbot_call_gen"><?php _e('Disable Call Me feature and button on Start Menu', 'wpchatbot'); ?> </label>
1170 </div>
1171 </div>
1172 </div>
1173 <div class="row">
1174 <div class="col-xs-12">
1175 <h4 class="qc-opt-title"><?php _e('Disable Email', 'wpchatbot'); ?> </h4>
1176 <div class="cxsc-settings-blocks">
1177 <input value="1" id="disable_wp_chatbot_feedback" type="checkbox"
1178 name="disable_wp_chatbot_feedback" <?php echo(get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''); ?>>
1179 <label for="disable_wp_chatbot_feedback"><?php _e('Disable Email feature and button on Start Menu', 'wpchatbot'); ?> </label>
1180 </div>
1181 </div>
1182 </div>
1183 <div class="row">
1184 <div class="col-xs-12">
1185 <h4 class="qc-opt-title"><?php _e('Disable FAQ', 'wpchatbot'); ?> </h4>
1186 <div class="cxsc-settings-blocks">
1187 <input value="1" id="disable_wp_chatbot_faq" type="checkbox"
1188 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? 'checked' : ''); ?>>
1189 <label for="disable_wp_chatbot_faq"><?php _e('Disable FAQ feature and button on Start Menu', 'wpchatbot'); ?> </label>
1190 </div>
1191 </div>
1192 </div>
1193
1194
1195 </div>
1196 </div>
1197 <div class="qc_menu_setup_area">
1198
1199 <h2>Menu Sorting & Customization Area</h2>
1200 <p>In this section you can control the UI of the menu.<br> To adjust the <b>Active Menu</b> ordering just drag it up or down. To add a menu item in <b>Active Menu</b> simply drag a menu item from <b>Available Menu</b> and drop it to <b>Active Menu</b> . To remove a menu item from <b>Active Menu</b> simple drag the menu item and drop it to <b>Available Menu</b>.</p>
1201 <br>
1202
1203 <div class="qc_menu_area">
1204 <h4>Acitve Menu</h4>
1205
1206 <div class="qc_menu_area_container" id="qc_menu_area">
1207
1208 <?php
1209 if(get_option('qc_wpbot_menu_order')!=''):
1210 echo stripslashes(get_option('qc_wpbot_menu_order'));
1211 else:?>
1212 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1213 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_wildcard_support'))); ?></span>
1214 <?php endif; ?>
1215
1216 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1217 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="messenger"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span>
1218 <?php endif; ?>
1219
1220 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1221 <span class="qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="whatsapp"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span>
1222 <?php endif; ?>
1223
1224 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1225 <span class="qcld-chatbot-suggest-email qc_draggable_item_remove">Send Us Email</span>
1226 <?php endif; ?>
1227
1228 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1229 <span class="qcld-chatbot-suggest-phone qc_draggable_item_remove" ><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_support_phone'))); ?></span>
1230 <?php endif; ?>
1231
1232 <?php
1233 if(class_exists('Qcformbuilder_Forms_Admin')){
1234 global $wpdb;
1235
1236 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1237 if(!empty($results)){
1238 ?>
1239 <?php
1240 foreach($results as $result){
1241 $form = unserialize($result->config);
1242 ?>
1243 <span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span>
1244 <?php
1245 }
1246 ?>
1247 <?php
1248 }
1249 }
1250 ?>
1251
1252 <?php endif; ?>
1253 </div>
1254 </div>
1255
1256 <div class="qc_menu_list_area">
1257 <h4>Available Menu</h4>
1258 <div class="qc_menu_list_container">
1259 <p>Predefined Intents</p>
1260 <ul>
1261
1262
1263
1264
1265 <li>
1266 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1267 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_wildcard_support'))); ?></span>
1268 <?php endif; ?>
1269
1270 </li>
1271 <li>
1272 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1273 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="messenger"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span>
1274 <?php endif; ?>
1275
1276 </li>
1277
1278 <li>
1279 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1280 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="whatsapp"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span>
1281 <?php endif; ?>
1282
1283 </li>
1284
1285 <li>
1286 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1287 <span class="qcld-chatbot-suggest-email qc_draggable_item">Send Us Email</span>
1288 <?php endif; ?>
1289
1290 </li>
1291
1292
1293
1294 <li>
1295 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1296 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_support_phone'))); ?></span>
1297 <?php endif; ?>
1298
1299 </li>
1300
1301
1302 </ul>
1303
1304
1305
1306
1307 <?php
1308 if(class_exists('Qcformbuilder_Forms_Admin')){
1309 global $wpdb;
1310
1311 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1312 if(!empty($results)){
1313 ?>
1314 <p>Conversational Form</p>
1315 <ul>
1316 <?php
1317 foreach($results as $result){
1318 $form = unserialize($result->config);
1319 ?>
1320 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span></li>
1321 <?php
1322 }
1323 ?>
1324 </ul>
1325 <?php
1326 }
1327 }
1328 ?>
1329
1330
1331 </div>
1332
1333 </div>
1334
1335 </div>
1336
1337 <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo stripslashes(get_option('qc_wpbot_menu_order')); ?>' />
1338
1339 </div>
1340 </div>
1341 </div>
1342 </div>
1343 </section>
1344
1345 <!--<section id="section-flip-8">
1346 <div class="top-section">
1347 <div class="wp-chatbot-language-center-summmery">
1348 <p><?php _e('WPBot will be opened based on the following settings', 'wpchatbot'); ?> </p>
1349 </div>
1350 <div class="row">
1351 <div class="col-xs-12">
1352 <h4 class="qc-opt-title"><?php _e('Enable Bot Activity Hour', 'wpchatbot'); ?> </h4>
1353 <div class="cxsc-settings-blocks" style="padding:0 20px;">
1354 <input value="1" id="enable_wp_chatbot_opening_hour" type="checkbox"
1355 name="enable_wp_chatbot_opening_hour" <?php echo(get_option('enable_wp_chatbot_opening_hour') == 1 ? 'checked' : ''); ?>>
1356 <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>
1357 </div>
1358 </div>
1359 </div>
1360 <style>
1361 .wp-chatbot-hours-container{
1362 padding:0px 0 15px 0;
1363 display: flex;
1364 justify-content: space-between;
1365 }
1366 .wp-chatbot-hours{
1367 /*width:75%;*/
1368 display: inline-block;
1369 }
1370 .wp-chatbot-hours input{
1371 display: inline-block;
1372 width: 40%;
1373 padding-right: 10px;
1374 text-align: center;
1375 }
1376 .wp-chatbot-hours-remove{
1377 display: inline-block;
1378 /*width:20%;*/
1379 }
1380 </style>
1381 <div class="row" id="wp-chatbot-hours-wrapper">
1382 <div class="col-xs-12">
1383 <h4 class="qc-opt-title"><?php _e('WPBot Bot Activity Hours', 'wpchatbot'); ?> </h4>
1384 <?php
1385
1386 if(get_option('wpwbot_hours')){
1387 $wpwbot_times=unserialize(get_option('wpwbot_hours'));
1388 }else{
1389 $wpwbot_times=array();
1390 }
1391 ?>
1392 <div class="row">
1393 <div class="col-xs-3">Monday</div>
1394 <div class="col-xs-4 wp-chatbot-day">
1395 <?php
1396 $this->wp_chatbot_opening_hours('monday',$wpwbot_times);
1397 ?>
1398 </div>
1399 <div class="col-xs-3">
1400 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="monday">
1401 <i class="fa fa-plus" aria-hidden="true"></i> Add
1402 </button>
1403 </div>
1404 </div>
1405 <div class="row">
1406 <div class="col-xs-3">Tuesday</div>
1407 <div class="col-xs-4 wp-chatbot-day">
1408 <?php
1409 $this->wp_chatbot_opening_hours('tuesday',$wpwbot_times);
1410 ?>
1411 </div>
1412 <div class="col-xs-3">
1413 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="tuesday">
1414 <i class="fa fa-plus" aria-hidden="true"></i> Add
1415 </button>
1416 </div>
1417 </div>
1418 <div class="row">
1419 <div class="col-xs-3">Wednesday</div>
1420 <div class="col-xs-4 wp-chatbot-day">
1421 <?php
1422 $this->wp_chatbot_opening_hours('wednesday',$wpwbot_times);
1423 ?>
1424 </div>
1425 <div class="col-xs-3">
1426 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="wednesday">
1427 <i class="fa fa-plus" aria-hidden="true"></i> Add
1428 </button>
1429 </div>
1430 </div>
1431 <div class="row">
1432 <div class="col-xs-3">Thursday</div>
1433 <div class="col-xs-4 wp-chatbot-day">
1434 <?php
1435 $this->wp_chatbot_opening_hours('thursday',$wpwbot_times);
1436 ?>
1437 </div>
1438 <div class="col-xs-3">
1439 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="thursday">
1440 <i class="fa fa-plus" aria-hidden="true"></i> Add
1441 </button>
1442 </div>
1443 </div>
1444 <div class="row">
1445 <div class="col-xs-3">Friday</div>
1446 <div class="col-xs-4 wp-chatbot-day">
1447 <?php
1448 $this->wp_chatbot_opening_hours('friday',$wpwbot_times);
1449 ?>
1450 </div>
1451 <div class="col-xs-3">
1452 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="friday">
1453 <i class="fa fa-plus" aria-hidden="true"></i> Add
1454 </button>
1455 </div>
1456 </div>
1457 <div class="row">
1458 <div class="col-xs-3">Saturday</div>
1459 <div class="col-xs-4 wp-chatbot-day">
1460 <?php
1461 $this->wp_chatbot_opening_hours('saturday',$wpwbot_times);
1462 ?>
1463 </div>
1464 <div class="col-xs-3">
1465 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="saturday">
1466 <i class="fa fa-plus" aria-hidden="true"></i> Add
1467 </button>
1468 </div>
1469 </div>
1470 <div class="row">
1471 <div class="col-xs-3">Sunday</div>
1472 <div class="col-xs-4 wp-chatbot-day">
1473 <?php
1474 $this->wp_chatbot_opening_hours('sunday',$wpwbot_times);
1475 ?>
1476 </div>
1477 <div class="col-xs-3">
1478 <button class="btn btn-success btn-sm wp-chatbot-hours-add-btn" type="button" data-day="sunday">
1479 <i class="fa fa-plus" aria-hidden="true"></i> Add
1480 </button>
1481 </div>
1482 </div>
1483 </div>
1484 </div>
1485 </div>
1486
1487 </section>-->
1488 <section id="section-flip-6">
1489 <div class="top-section">
1490 <div class="wp-chatbot-language-center-summmery">
1491 <p><?php _e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpchatbot'); ?> </p>
1492 </div>
1493 <div class="row">
1494 <div class="col-xs-12">
1495 <p class="wpqcld_chk_seft">
1496 <a target="_blank" href="https://www.quantumcloud.com/custom-chatbot-services/"><img src="<?php echo QCLD_wpCHATBOT_IMG_URL ?>/chatbot-custom-service.jpg" alt="" /></a>
1497 </p>
1498 </div>
1499 </div>
1500 <div class="row">
1501 <div class="col-xs-12">
1502 <h4 class="qc-opt-title"><?php echo esc_html__('Enable DialogFlow as AI Engine to Detect Intent', 'wpchatbot'); ?> </h4>
1503 <div class="cxsc-settings-blocks">
1504 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
1505 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>>
1506 <label for="enable_wp_chatbot_dailogflow"><?php echo esc_html__('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpchatbot'); ?> </label>
1507 </div>
1508 </div>
1509 <div class="col-xs-12">
1510 <br>
1511 <p><?php echo esc_html__('Log in to DialogFlow Console from', 'wpchatbot'); ?>
1512 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/'); ?>" target="_blank"><?php echo esc_html__('Here', 'wpchatbot'); ?></a> <?php echo esc_html__('with your gmail account.', 'wpchatbot'); ?>
1513
1514 <a class="wpbot_df_instruction" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php echo esc_html__('Download', 'wpchatbot'); ?></a> <?php echo esc_html__('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following system intents which are', 'wpchatbot'); ?> <b>email, email subscription, faq, get email, get name, help, phone, reset, site search and start.</b> </p>
1515 </div>
1516
1517 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
1518 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow API Version', 'wpchatbot'); ?></h4>
1519 <div class="form-group">
1520
1521 <label class="radio-inline">
1522 <input id="wp-chatbot-df-api" type="radio"
1523 name="wp_chatbot_df_api"
1524 value="v1" <?php echo(get_option('wp_chatbot_df_api') == 'v1' ? 'checked' : ''); ?>>
1525 <?php echo esc_html__('Dialogflow API V1', 'wpchatbot'); ?>
1526 </label>
1527 <label class="radio-inline">
1528 <input id="wp-chatbot-df-api" type="radio"
1529 name="wp_chatbot_df_api"
1530 value="v2" <?php echo(get_option('wp_chatbot_df_api') == 'v2' ? 'checked' : ''); ?>>
1531 <?php echo esc_html__('Dialogflow API V2', 'wpchatbot'); ?>
1532 </label>
1533
1534 </div>
1535
1536 <div id="wp-chatbot-df-section-v2">
1537 <!-- Dialogflow V2 Configuration -->
1538
1539 <div class="form-group">
1540 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?></h4>
1541 <p>You can follow the <a href="https://dialogflow.com/docs/reference/v2-auth-setup" target="_blank">tutorial</a> to get the Project ID. </p>
1542 <input type="text" class="form-control qc-opt-dcs-font"
1543 name="qlcd_wp_chatbot_dialogflow_project_id"
1544 value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_id') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_id') : ''); ?>" placeholder="<?php echo esc_html__('DialogFlow Project ID', 'wpchatbot'); ?>">
1545 </div>
1546
1547 <div class="form-group">
1548 <h4 class="qc-opt-title"><?php echo esc_html__('Private Key', 'wpchatbot'); ?></h4>
1549 <p>Put your google service account's private key JSON string here. You can follow the <a href="https://dialogflow.com/docs/reference/v2-auth-setup" target="_blank">tutorial</a> to get private key JSON file. </p>
1550 <textarea class="form-control" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key"><?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''); ?></textarea>
1551 </div>
1552
1553 <?php if(!file_exists(ABSPATH.QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
1554 <div class="form-group">
1555
1556 <br>
1557 <h4 class="qc-opt-title" style="color:red"><?php echo esc_html__('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'wpchatbot'); ?></h4>
1558 <p>Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress's <b>/wp-content</b> folder. This package is around <b>10 MB</b> in zip file format and it will be about <b>49 MB</b> after unzipping. Please make sure that your server has enough space to store that package.</p>
1559 <div class="qcld-wpbot-gcdownload-area">
1560 <button class="btn btn-primary" id="qc_wpbot_gc_download">Download Google Client</button>
1561 <div class="qcld_wpbot_download_statuses">
1562
1563 </div>
1564 </div>
1565 <br>
1566
1567 </div>
1568 <?php else: ?>
1569 <div class="form-group">
1570 <h4 class="qc-opt-title" style="color:green"><?php echo esc_html__('Google Client Package is Installed on Your System.', 'wpchatbot'); ?></h4>
1571 </div>
1572 <?php endif; ?>
1573
1574 <!-- End Dialogflow V2 Configuration -->
1575 </div>
1576
1577 <div id="wp-chatbot-df-section-v1">
1578
1579 <div class="form-group">
1580 <p style="color:red" class="qc-opt-title"><?php echo esc_html__('DialogFlow API V1 is going to be retired on October 23, 2019. Please move on to API V2 now so do not face any service interruption.', 'wpchatbot'); ?></>
1581 </div>
1582
1583 <div class="form-group">
1584 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow client Access Token', 'wpchatbot'); ?></h4>
1585 <input type="text" class="form-control qc-opt-dcs-font"
1586 name="qlcd_wp_chatbot_dialogflow_client_token"
1587 value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_client_token') != '' ? get_option('qlcd_wp_chatbot_dialogflow_client_token') : ''); ?>" placeholder="<?php echo esc_html__('DialogFlow Client Access Token', 'wpchatbot'); ?>">
1588 </div>
1589 </div>
1590
1591 <div class="form-group">
1592 <h4 class="qc-opt-title"><?php _e('DialofFlow Defualt reply', 'wpchatbot'); ?></h4>
1593 <input type="text" class="form-control qc-opt-dcs-font"
1594 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
1595 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'); ?>">
1596 </div>
1597
1598
1599 <div class="form-group">
1600 <h4 class="qc-opt-title"><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpchatbot'); ?></h4>
1601 <input type="text" class="form-control qc-opt-dcs-font"
1602 name="qlcd_wp_chatbot_dialogflow_agent_language"
1603 value="<?php echo (get_option('qlcd_wp_chatbot_dialogflow_agent_language') != '' ? get_option('qlcd_wp_chatbot_dialogflow_agent_language') : 'en'); ?>" placeholder="<?php echo esc_html__('DialogFlow Agent Language', 'wpchatbot'); ?>">
1604 </div>
1605
1606 </div>
1607 </div>
1608 </div>
1609
1610 </section>
1611 <!--<section id="section-flip-10">
1612 <div class="wp-chatbot-language-center-summmery">
1613 <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>
1614 </div>
1615 <div class="top-section">
1616 <div class="row">
1617 <div class="col-xs-12">
1618 <h4 class="qc-opt-title"><?php _e('Mobile App Pages', 'wpchatbot'); ?> </h4>
1619 <div class="cxsc-settings-blocks">
1620 <input value="1" id="wp_chatbot_app_pages" type="checkbox"
1621 name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>>
1622 <label for="wp_chatbot_app_pages"><?php _e('Create pages for WpBot Mobile App', 'wpchatbot'); ?> </label>
1623 </div>
1624 <br>
1625 <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>
1626 <ol>
1627 <li><?php _e('WpBot Mobile App', 'wpchatbot'); ?></li>
1628 <li><?php _e('WpBot App Checkout', 'wpchatbot'); ?></li>
1629 <li><?php _e('WpBot App Order Thank You', 'wpchatbot'); ?></li>
1630 </ol>
1631 <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>
1632 <ol>
1633 <li><?php _e('WpBot Ionic FrameWork package', 'wpchatbot'); ?></li>
1634 <li><?php _e('WpBot PhoneGap package', 'wpchatbot'); ?></li>
1635 </ol>
1636 </div>
1637 </div>
1638 </div>
1639
1640 </section>-->
1641
1642
1643 <section id="section-flip-7">
1644 <div class="top-section">
1645 <div class="row">
1646 <div class="col-xs-12">
1647
1648 <?php wp_enqueue_style( 'qcpd-google-font-lato', 'https://fonts.googleapis.com/css?family=Lato' ); ?>
1649 <?php wp_enqueue_style( 'qcpd-style-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/style.css' ); ?>
1650 <?php wp_enqueue_style( 'qcpd-style-responsive-addon-page', QCLD_wpCHATBOT_PLUGIN_URL.'qc-support-promo-page/css/responsive.css' ); ?>
1651
1652 <div class="qc_support_container"><!--qc_support_container-->
1653
1654 <div class="qc_tabcontent clearfix-div">
1655 <div class="qc-row">
1656 <div class="wpbot-chatbot-pro-link">
1657 <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank" >Get the ChatBot Pro <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/wp-bot-logo.png'); ?>" /></a>
1658 </div>
1659 <h2 class="plugin-title wpbot_page_title" style="text-align:center" >Extend <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">WPBot Pro</a> and give it more Super Powers</h2>
1660 <p style="text-align:center">Following AddOns and Themes are available for the <a href="https://www.quantumcloud.com/products/chatbot-for-wordpress/" target="_blank">WPBot pro!</a></p>
1661 <div class="qc-column-12"><!-- qc-column-4 -->
1662 <!-- Feature Box 1 -->
1663 <div class="support-block ">
1664 <div class="support-block-img">
1665 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/themes/chatbot-theme/'); ?>" target="_blank"> <img class="wp_addon_fullwidth" src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/ChatBot-Master-theme.png'); ?>" alt=""></a>
1666 </div>
1667 <div class="support-block-info">
1668 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Master Theme</a></h4>
1669 <p style="margin-top: -24px;margin-bottom: 50px;">Get a ChatBot Powered Theme!</p>
1670 </div>
1671 </div>
1672 </div><!--/qc-column-4 -->
1673 <div class="qc-column-6"><!-- qc-column-4 -->
1674 <!-- Feature Box 1 -->
1675 <div class="support-block support-block-custom">
1676 <div class="support-block-img">
1677 <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/conversational-forns.png'); ?>" alt="">
1678 </div>
1679 <div class="support-block-info">
1680 <h4 style="font-weight: normal !important;">Conversational Form Addon</h4>
1681 <p>Use the Conversational form builder AddOn to create conversations and forms for a native WordPress ChatBot experience without any 3rd party integrations. Conversational forms can also be emailed to you.</p>
1682 <p><a href="https://wordpress.org/plugins/conversational-forms/" target="_blank">Download Free</a>|<a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Download Pro</a></p>
1683
1684 </div>
1685 </div>
1686 </div><!--/qc-column-4 -->
1687 <div class="qc-column-6"><!-- qc-column-4 -->
1688 <!-- Feature Box 1 -->
1689 <div class="support-block support-block-custom">
1690 <div class="support-block-img">
1691 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/custom-post-type-addon-logo.png'); ?>" alt=""></a>
1692 </div>
1693 <div class="support-block-info">
1694 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Extended Search</a></h4>
1695 <p>Extend WPBot’s search power to include almost any Custom Post Type including WooCommerce</p>
1696
1697 </div>
1698 </div>
1699 </div><!--/qc-column-4 -->
1700
1701 <div class="qc-column-6"><!-- qc-column-4 -->
1702 <!-- Feature Box 1 -->
1703 <div class="support-block support-block-custom">
1704 <div class="support-block-img">
1705 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/messenger-chatbot.png'); ?>" alt=""></a>
1706 </div>
1707 <div class="support-block-info">
1708 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Messenger ChatBot Addon</a></h4>
1709 <p>Utilize the WPBot on your website as a hub to respond to customer questions on FB Page & Messenger</p>
1710
1711 </div>
1712 </div>
1713 </div><!--/qc-column-4 -->
1714
1715
1716 <div class="qc-column-6"><!-- qc-column-4 -->
1717 <!-- Feature Box 1 -->
1718 <div class="support-block support-block-custom">
1719 <div class="support-block-img">
1720 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/chatbot-sesssion-save.png'); ?>" alt=""></a>
1721 </div>
1722 <div class="support-block-info">
1723 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">ChatBot Session Save Addon</a></h4>
1724 <p>This AddOn saves the user chat sessions and helps you fine tune the bot for better support and performance.</p>
1725
1726 </div>
1727 </div>
1728 </div><!--/qc-column-4 -->
1729
1730
1731 <div class="qc-column-6"><!-- qc-column-4 -->
1732 <!-- Feature Box 1 -->
1733 <div class="support-block support-block-custom">
1734 <div class="support-block-img">
1735 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/WPBot-LiveChat.png'); ?>" alt=""></a>
1736 </div>
1737 <div class="support-block-info">
1738 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">LiveChat Addon</a></h4>
1739 <p>Live Human Chat integrated with WPBot<p/>
1740 </div>
1741 </div>
1742 </div><!--/qc-column-4 -->
1743
1744 <div class="qc-column-6"><!-- qc-column-4 -->
1745 <!-- Feature Box 1 -->
1746 <div class="support-block support-block-custom">
1747 <div class="support-block-img">
1748 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/white-label.png'); ?>" alt=""></a>
1749 </div>
1750 <div class="support-block-info">
1751 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">White Label WPBot</a></h4>
1752 <p>Replace the QuantumCloud Logo and branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients.<p/>
1753 </div>
1754 </div>
1755 </div><!--/qc-column-4 -->
1756
1757 <div class="qc-column-6"><!-- qc-column-4 -->
1758 <!-- Feature Box 1 -->
1759 <div class="support-block support-block-custom">
1760 <div class="support-block-img">
1761 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/mailing-list-integrationt (1).png'); ?>" alt=""></a>
1762 </div>
1763 <div class="support-block-info">
1764 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">Mailing List Integration AddOn</a></h4>
1765 <p>Mailing List Integration is an addon that lets you connect our ChatBot with Mailchimp and Zapier accounts. You can add new subscribers to your Mailchimp Lists and unsubscribe them.<p/>
1766 </div>
1767 </div>
1768 </div><!--/qc-column-4 -->
1769 <div class="qc-column-6"><!-- qc-column-4 -->
1770 <!-- Feature Box 1 -->
1771 <div class="support-block support-block-custom">
1772 <div class="support-block-img">
1773 <a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/chatbot-addons.png'); ?>" alt=""></a>
1774 </div>
1775 <div class="support-block-info">
1776 <h4><a href="<?php echo esc_url('https://www.quantumcloud.com/products/chatbot-addons/'); ?>" target="_blank">More Addons</a></h4>
1777 <p>Check out all the available ChatBot AddOns<p/>
1778 </div>
1779 </div>
1780 </div><!--/qc-column-4 -->
1781
1782 </div>
1783 <!--qc row-->
1784 </div>
1785
1786 </div><!--qc_support_container-->
1787
1788
1789
1790 </div>
1791 </div>
1792 <!-- row-->
1793 </div>
1794 </section>
1795
1796
1797 </div><!-- /content -->
1798 </div><!-- /wp-chatbot-tabs -->
1799 <footer class="wp-chatbot-admin-footer">
1800 <div class="row">
1801 <div class="text-left col-sm-3 col-sm-offset-3">
1802 <input type="button" class="btn btn-warning submit-button"
1803 id="qcld-wp-chatbot-reset-option"
1804 value="<?php _e('Reset all options to Default', 'wpchatbot'); ?>"/>
1805 </div>
1806 <div class="text-right col-sm-6">
1807 <input type="submit" class="btn btn-primary submit-button" name="submit"
1808 id="submit" value="<?php _e('Save Settings', 'wpchatbot'); ?>"/>
1809 </div>
1810 </div>
1811 <!-- row-->
1812 </footer>
1813 </section>
1814 </div>
1815 <?php wp_nonce_field('wp_chatbot'); ?>
1816 </form>