PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 4.8.9
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v4.8.9
8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 All 533 releases
chatbot / templates / template-horizontal / template.php

template.php in WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services 4.8.9, at templates/template-horizontal/template.php

109 lines 5.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if(get_option('enable_wp_chatbot_custom_color')==1 && get_option('wp_chatbot_theme_primary_color') && get_option('wp_chatbot_theme_primary_color')!=''): ?>
2 <style>
3 .wp-chatbot-tab-nav{
4 background-color: <?php echo get_option('wp_chatbot_theme_primary_color') ?> !important;
5 }
6 .wp-chatbot-board-container:after {
7 border-top: 30px solid <?php echo get_option('wp_chatbot_theme_primary_color') ?> !important;
8 }
9 </style>
10 <?php endif; ?>
11 <?php if(get_option('enable_wp_chatbot_custom_color')==1 && get_option('wp_chatbot_theme_secondary_color') && get_option('wp_chatbot_theme_secondary_color')!=''): ?>
12 <style>
13
14 .wp-chatbot-tab-nav ul li.wp-chatbot-operation-active a:before, .wp-chatbot-tab-nav ul li:hover a:before {
15 border: 2px solid <?php echo get_option('wp_chatbot_theme_secondary_color') ?> !important;
16 }
17 .wp-chatbot-tab-nav ul li a[data-option="chat"]:after {
18
19 border: 3px solid <?php echo get_option('wp_chatbot_theme_secondary_color') ?> !important;
20 }
21
22 </style>
23 <?php endif; ?>
24 <div id="wp-chatbot-ball-container" class="template-vertical" aria-haspopup aria-live="polite" aria-expanded="false">
25 <?php do_action('render_start_menu'); ?>
26 <div class="wpbot-saas-live-chat">
27
28 </div>
29 <div class="wp-chatbot-container">
30
31 <?php
32 if(function_exists('qcpd_wpwc_addon_lang_init')){
33 do_action('qcld_wpwc_product_details_woocommerce');
34 }
35
36 ?>
37 <!-- wp-chatbot-product-container-->
38 <div id="wp-chatbot-board-container" class="wp-chatbot-board-container">
39
40 <div class="wp-chatbot-header">
41 <?php do_action('render_back_to_menu_button'); ?>
42 <div id="wp-chatbot-desktop-reload" title="<?php echo(get_option('qlcd_wp_chatbot_reset_lan') != '' ? get_option('qlcd_wp_chatbot_reset_lan') : 'Reset'); ?>"><span class="dashicons dashicons-update-alt"></span></div>
43
44 <div id="wp-chatbot-desktop-close" title="<?php echo(get_option('qlcd_wp_chatbot_close_lan') != '' ? get_option('qlcd_wp_chatbot_close_lan') : 'Close'); ?>"><span class="dashicons dashicons-no"></span</div>
45
46 <?php
47 if( function_exists( 'qcld_wpbotml' ) && count( qcld_wpbotml()->languages ) > 1){
48 do_action('ml_render_lan_dropdown');
49 }
50 ?>
51 </div>
52
53 <!--wp-chatbot-header-->
54 <div class="wp-chatbot-ball-inner wp-chatbot-content">
55 <!-- only show on Mobile app -->
56 <?php if (isset($template_app) && $template_app == 'yes') { ?>
57 <div class="wp-chatbot-cart-checkout-wrapper">
58 <div id="wp-chatbot-cart-short-code">
59 </div>
60 <div id="wp-chatbot-checkout-short-code">
61 </div>
62 </div>
63 <?php } ?>
64 <div class="wp-chatbot-messages-wrapper">
65 <ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container">
66 </ul>
67 </div>
68 <?php do_action('wpbot_voice_record_wrapper'); ?>
69 </div>
70 <div class="wp-chatbot-footer">
71
72 <div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container">
73 <input id="wp-chatbot-editor" class="wp-chatbot-editor" required placeholder="<?php echo esc_attr(wpb_randmom_message_handle(unserialize(get_option('qlcd_wp_chatbot_send_a_msg')))); ?>"
74 >
75 <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><?php esc_html_e('', 'wpchatbot'); ?></button>
76 </div>
77 <!--wp-chatbot-editor-container-->
78 <?php if(get_option('enable_wp_chatbot_disable_allicon')!='1'): ?>
79 <div class="wp-chatbot-tab-nav">
80 <ul>
81 <?php if(get_option('enable_wp_chatbot_disable_helpicon')!='1'): ?>
82 <li><a class="wp-chatbot-operation-option" data-option="help" href="" title="<?php echo (get_option('qlcd_wp_chatbot_help')?qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_help'))):__('Help', 'wpchatbot')); ?>"></a></li>
83 <?php endif; ?>
84 <?php if(get_option('enable_wp_chatbot_disable_supporticon')!='1'): ?>
85 <li><a class="wp-chatbot-operation-option" data-option="support" href="" title="<?php echo (get_option('qlcd_wp_chatbot_support')?qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_support'))):__('Support', 'wpchatbot')); ?>"></a></li>
86 <?php endif; ?>
87
88
89 <?php
90 if(function_exists('qcpd_wpwc_addon_lang_init')){
91 do_action('qcld_wpwc_template_bottom_icon_woocommerce', $cart_items_number);
92 }
93
94 ?>
95
96 <?php if(get_option('enable_wp_chatbot_disable_chaticon')!='1'): ?>
97 <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href="" title="<?php echo (get_option('qlcd_wp_chatbot_skip_conversation')?qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_skip_conversation'))):'Click this button to skip the conversation'); ?>"></a></li>
98 <?php endif; ?>
99 </ul>
100 </div>
101 <?php endif; ?>
102 <!--wp-chatbot-tab-nav-->
103 </div>
104 <!--wp-chatbot-footer-->
105 </div>
106 <!-- wp-chatbot-board-container-->
107 </div>
108 </div>
109