| @@ -1,72 +1 @@ | ||
| 1 | -<div id="wp-chatbot-ball-container" class=" wp-chatbot-<?php | |
| 2 | -if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 3 | -echo esc_attr( $qcld_wb_chatbot_theme );?>"> | |
| 4 | - <div class="wp-chatbot-container"> | |
| 5 | - <div class="wp-chatbot-product-container"> | |
| 6 | - <div class="wp-chatbot-product-details"> | |
| 7 | - <div class="wp-chatbot-product-image-col"> | |
| 8 | - <div id="wp-chatbot-product-image"></div> | |
| 9 | - </div> | |
| 10 | - <!--wp-chatbot-product-image-col--> | |
| 11 | - <div class="wp-chatbot-product-info-col"> | |
| 12 | - <div class="wp-chatbot-product-reload"></div> | |
| 13 | - <div id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div> | |
| 14 | - <div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div> | |
| 15 | - <div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div> | |
| 16 | - <div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div> | |
| 17 | - <div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div> | |
| 18 | - <div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div> | |
| 19 | - </div> | |
| 20 | - <!--wp-chatbot-product-info-col--> | |
| 21 | - <a href="#" class="wp-chatbot-product-close"></a> | |
| 22 | - </div> | |
| 23 | - <!-- wp-chatbot-product-details--> | |
| 24 | - </div> | |
| 25 | - <!-- wp-chatbot-product-container--> | |
| 26 | - <div id="wp-chatbot-board-container" class="wp-chatbot-board-container"> | |
| 27 | - <div class="wp-chatbot-header"> | |
| 28 | - <h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') { | |
| 29 | - $welcomes = unserialize(get_option('qlcd_wp_chatbot_welcome')); | |
| 30 | - echo esc_html($welcomes[0].' '.get_option('qlcd_wp_chatbot_host')); | |
| 31 | - } ?> | |
| 32 | - </h3> | |
| 33 | - </div> | |
| 34 | - <!--wp-chatbot-header--> | |
| 35 | - <div class="wp-chatbot-ball-inner wp-chatbot-content"> | |
| 36 | - <!-- only show on Mobile app --> | |
| 37 | - <?php if(isset($template_app) && $template_app=='yes'){?> | |
| 38 | - <div class="wp-chatbot-cart-checkout-wrapper"> | |
| 39 | - <div id="wp-chatbot-cart-short-code"> | |
| 40 | - </div> | |
| 41 | - <div id="wp-chatbot-checkout-short-code"> | |
| 42 | - </div> | |
| 43 | - </div> | |
| 44 | - <?php } ?> | |
| 45 | - <div class="wp-chatbot-messages-wrapper"> | |
| 46 | - <ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container"> | |
| 47 | - </ul> | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - <div class="wp-chatbot-footer"> | |
| 51 | - <div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container"> | |
| 52 | - <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')))); ?>" | |
| 53 | - > | |
| 54 | - <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><?php esc_html_e('send', 'chatbot'); ?></button> | |
| 55 | - </div> | |
| 56 | - <!--wp-chatbot-editor-container--> | |
| 57 | - <div class="wp-chatbot-tab-nav"> | |
| 58 | - | |
| 59 | - <ul> | |
| 60 | - <li><a class="wp-chatbot-operation-option" data-option="help" href="" title="<?php echo esc_html__('Help', 'chatbot'); ?>"></a></li> | |
| 61 | - | |
| 62 | - <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href="" title="<?php echo esc_html__('Chat', 'chatbot'); ?>"></a></li> | |
| 63 | - <li><a class="wp-chatbot-operation-option" data-option="support" href="" title="<?php echo esc_html__('Support', 'chatbot'); ?>"></a></li> | |
| 64 | - </ul> | |
| 65 | - </div> | |
| 66 | - <!--wp-chatbot-tab-nav--> | |
| 67 | - </div> | |
| 68 | - <!--wp-chatbot-footer--> | |
| 69 | - </div> | |
| 70 | - <!-- wp-chatbot-board-container--> | |
| 71 | - </div> | |
| 72 | -</div> | |
| 1 | +<div id="wp-chatbot-ball-container" class=" wp-chatbot-<?php echo $qcld_wb_chatbot_theme;?>"> <div class="wp-chatbot-container"> <div class="wp-chatbot-product-container"> <div class="wp-chatbot-product-details"> <div class="wp-chatbot-product-image-col"> <div id="wp-chatbot-product-image"></div> </div> <!--wp-chatbot-product-image-col--> <div class="wp-chatbot-product-info-col"> <div class="wp-chatbot-product-reload"></div> <div id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div> <div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div> <div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div> <div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div> <div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div> <div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div> </div> <!--wp-chatbot-product-info-col--> <a href="#" class="wp-chatbot-product-close"></a> </div> <!-- wp-chatbot-product-details--> </div> <!-- wp-chatbot-product-container--> <div id="wp-chatbot-board-container" class="wp-chatbot-board-container"> <div class="wp-chatbot-header"> <h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') { $welcomes = unserialize(get_option('qlcd_wp_chatbot_welcome')); echo $welcomes[0] . ' ' . get_option('qlcd_wp_chatbot_host'); } ?> </h3> </div> <!--wp-chatbot-header--> <div class="wp-chatbot-ball-inner wp-chatbot-content"> <!-- only show on Mobile app --> <?php if(isset($template_app) && $template_app=='yes'){?> <div class="wp-chatbot-cart-checkout-wrapper"> <div id="wp-chatbot-cart-short-code"> </div> <div id="wp-chatbot-checkout-short-code"> </div> </div> <?php } ?> <div class="wp-chatbot-messages-wrapper"> <ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container"> </ul> </div> </div> <div class="wp-chatbot-footer"> <div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container"> <input id="wp-chatbot-editor" class="wp-chatbot-editor" required placeholder="<?php echo wpb_randmom_message_handle(unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))); ?>" > <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><?php _e('send', 'wpchatbot'); ?></button> </div> <!--wp-chatbot-editor-container--> <div class="wp-chatbot-tab-nav"> <!--<ul> <li><a class="wp-chatbot-operation-option" data-option="help" href=""></a></li> <li><a class="wp-chatbot-operation-option" data-option="support" href=""></a></li> <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href=""></a></li> <li><a class="wp-chatbot-operation-option" data-option="recent" href=""></a></li> <li> <a class="wp-chatbot-operation-option" data-option="cart" href=""> <?php if (get_option('disable_wp_chatbot_cart_item_number') != 1) { ?> <span id="wp-chatbot-cart-numbers"><?php echo $cart_items_number; ?></span> <?php } ?> </a> </li> </ul>--> <ul> <li><a class="wp-chatbot-operation-option" data-option="help" href=""></a></li> <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href=""></a></li> <li><a class="wp-chatbot-operation-option" data-option="support" href=""></a></li> </ul> </div> <!--wp-chatbot-tab-nav--> </div> <!--wp-chatbot-footer--> </div> <!-- wp-chatbot-board-container--> </div> </div> | |