| 1 |
<div id="wp-chatbot-shortcode-template-container" |
| 2 |
class="<?php |
| 3 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly |
| 4 |
echo esc_attr($wp_chatbot_enable_rtl);?> wp-chatbot-shortcode-template-container chatbot-shortcode-template-01"> |
| 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 id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div> |
| 13 |
<div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div> |
| 14 |
<div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div> |
| 15 |
<div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div> |
| 16 |
<div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div> |
| 17 |
<div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div> |
| 18 |
</div> |
| 19 |
<!--wp-chatbot-product-info-col--> |
| 20 |
<a class="wp-chatbot-product-close"></a> |
| 21 |
|
| 22 |
</div> |
| 23 |
<!-- wp-chatbot-product-details--> |
| 24 |
</div> |
| 25 |
<div class="chatbot-shortcode-row"> |
| 26 |
<div class="chatbot-sidebar chatbot-left-sidebar"> |
| 27 |
<div class="wp-chatbot-widget wp-chatbot-product-shortcode-container"> |
| 28 |
<?php echo do_shortcode('[wpwbot_products]'); ?> |
| 29 |
</div> |
| 30 |
<!--wp-chatbot-widget--> |
| 31 |
</div> |
| 32 |
<!--wp-chatbot-sidebar--> |
| 33 |
<div class="wp-chatbot-container"> |
| 34 |
<div class="wp-chatbot-header"> |
| 35 |
<h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') { |
| 36 |
$welcomes = unserialize(get_option('qlcd_wp_chatbot_welcome')); |
| 37 |
echo esc_html($welcomes[0] . ' ' . get_option('qlcd_wp_chatbot_host')); |
| 38 |
} ?></h3> |
| 39 |
</div> |
| 40 |
<!--wp-chatbot-header--> |
| 41 |
<div class="wp-chatbot-ball-inner wp-chatbot-content"> |
| 42 |
<div class="wp-chatbot-messages-wrapper"> |
| 43 |
<ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container"> |
| 44 |
</ul> |
| 45 |
</div> |
| 46 |
<!--wp-chatbot-messages-wrapper--> |
| 47 |
</div> |
| 48 |
<!--wp-chatbot-ball-inner--> |
| 49 |
<div class="wp-chatbot-footer"> |
| 50 |
<div id="wp-chatbot-editor-area" class="wp-chatbot-editor-area"> |
| 51 |
<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')))); ?>" |
| 52 |
> |
| 53 |
<button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"> |
| 54 |
<span class="dashicons dashicons-arrow-up-alt"></span></button> |
| 55 |
</div> |
| 56 |
<!--wp-chatbot-editor-container--> |
| 57 |
</div> |
| 58 |
<!--wp-chatbot-footer--> |
| 59 |
</div> |
| 60 |
<!--wp-chatbot-container--> |
| 61 |
<div class="chatbot-sidebar chatbot-left-sidebar"> |
| 62 |
<div class="wp-chatbot-widget"> |
| 63 |
<div class="chatbot-agent"> |
| 64 |
<img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL . 'agent-0.png'); ?>" alt="Agent Image"> |
| 65 |
<h3 class="chatbot-agent-name"><?php echo esc_html(get_option('qlcd_wp_chatbot_agent')); ?></h3> |
| 66 |
</div> |
| 67 |
<!--chatbot-agent--> |
| 68 |
</div> |
| 69 |
<!--wp-chatbot-widget--> |
| 70 |
<div class="wp-chatbot-widget wp-chatbot-cart-shortcode-container"> |
| 71 |
<?php echo do_shortcode('[wpwbot_cart]'); ?> |
| 72 |
</div> |
| 73 |
<!--wp-chatbot-widget--> |
| 74 |
</div> |
| 75 |
<!--wp-chatbot-sidebar--> |
| 76 |
|
| 77 |
</div> |
| 78 |
<!-- chatbot-shortcode-row--> |
| 79 |
</div> |
| 80 |
<!--wp-chatbot-ball-container--> |