PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 3.2.0
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v3.2.0
8.7.8 8.7.7 8.7.6 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 All 534 releases
chatbot / admin_ui.php

admin_ui.php in WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services 3.2.0, at admin_ui.php

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