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