| 1 |
<div id="wp-chatbot-ball-container" class="wp-chatbot-template-01"> |
| 2 |
<div class="wp-chatbot-container"> |
| 3 |
<div class="wp-chatbot-product-container"> |
| 4 |
<div class="wp-chatbot-product-details"> |
| 5 |
<div class="wp-chatbot-product-image-col"> |
| 6 |
<div id="wp-chatbot-product-image"></div> |
| 7 |
</div> |
| 8 |
<!--wp-chatbot-product-image-col--> |
| 9 |
<div class="wp-chatbot-product-info-col"> |
| 10 |
<div class="wp-chatbot-product-reload"></div> |
| 11 |
<div id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div> |
| 12 |
<div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div> |
| 13 |
<div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div> |
| 14 |
<div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div> |
| 15 |
<div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div> |
| 16 |
<div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div> |
| 17 |
</div> |
| 18 |
<!--wp-chatbot-product-info-col--> |
| 19 |
<a href="#" class="wp-chatbot-product-close"></a> |
| 20 |
</div> |
| 21 |
<!-- wp-chatbot-product-details--> |
| 22 |
</div> |
| 23 |
<!-- wp-chatbot-product-container--> |
| 24 |
<?php $avatar_loc = get_option('qcld_chatbot_avatar_location', 'inside'); ?> |
| 25 |
<div id="wp-chatbot-board-container" class="wp-chatbot-board-container wp-chatbot-avatar-<?php echo esc_attr($avatar_loc); ?>"> |
| 26 |
<div class="wp-chatbot-header"> |
| 27 |
|
| 28 |
<div class="wp-chatbot-header-welcome-text"> |
| 29 |
|
| 30 |
|
| 31 |
<div id="wp-chatbot-desktop-expand" title="<?php esc_attr_e('Expand', 'chatbot'); ?>"><span class="dashicons dashicons-fullscreen-alt"></span></div> |
| 32 |
|
| 33 |
<?php |
| 34 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly |
| 35 |
if (get_option('wp_chatbot_icon') == "custom.png") { |
| 36 |
$wp_chatbot_custom_icon_path = (!empty(get_option('wp_chatbot_custom_icon_path'))) ? get_option('wp_chatbot_custom_icon_path') : QCLD_wpCHATBOT_IMG_URL . 'icon-1.png'; |
| 37 |
|
| 38 |
} else if (get_option('wp_chatbot_icon') != "custom.png") { |
| 39 |
$wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon'); |
| 40 |
} else { |
| 41 |
$wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png'; |
| 42 |
} |
| 43 |
?> |
| 44 |
<img src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" |
| 45 |
alt="wpChatIcon" qcld_agent="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" > |
| 46 |
|
| 47 |
|
| 48 |
</div> |
| 49 |
|
| 50 |
<div class="wp-chatbot-header-icon-right"> |
| 51 |
<div id="wp-chatbot-desktop-reload" title="Reset"><span class="dashicons dashicons-update-alt"></span></div> |
| 52 |
|
| 53 |
<div id="wp-chatbot-desktop-close" title="<?php echo esc_attr(get_option('qlcd_wp_chatbot_close_lan') != '' ? get_option('qlcd_wp_chatbot_close_lan') : 'Close'); ?>"><span class="dashicons dashicons-no"></span></div> |
| 54 |
|
| 55 |
</div> |
| 56 |
|
| 57 |
|
| 58 |
</div> |
| 59 |
<!--wp-chatbot-header--> |
| 60 |
<div class="wp-chatbot-ball-inner wp-chatbot-content"> |
| 61 |
<!-- only show on Mobile app --> |
| 62 |
<?php if(isset($template_app) && $template_app=='yes'){?> |
| 63 |
<div class="wp-chatbot-cart-checkout-wrapper"> |
| 64 |
<div id="wp-chatbot-cart-short-code"> |
| 65 |
</div> |
| 66 |
<div id="wp-chatbot-checkout-short-code"> |
| 67 |
</div> |
| 68 |
</div> |
| 69 |
<?php } ?> |
| 70 |
<div class="wp-chatbot-messages-wrapper"> |
| 71 |
<ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container"> |
| 72 |
</ul> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
<div class="wp-chatbot-footer"> |
| 76 |
<div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container"> |
| 77 |
<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')))); ?>" |
| 78 |
> |
| 79 |
<button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><span class="dashicons dashicons-arrow-up-alt"></span></button> |
| 80 |
</div> |
| 81 |
<!--wp-chatbot-editor-container--> |
| 82 |
<div class="wp-chatbot-tab-nav"> |
| 83 |
<ul> |
| 84 |
<li><a class="wp-chatbot-operation-option" data-option="help" href="" title="<?php echo esc_html__('Help', 'chatbot'); ?>"></a></li> |
| 85 |
|
| 86 |
<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> |
| 87 |
<li><a class="wp-chatbot-operation-option" data-option="support" href="" title="<?php echo esc_html__('Support', 'chatbot'); ?>" ></a></li> |
| 88 |
</ul> |
| 89 |
</div> |
| 90 |
<!--wp-chatbot-tab-nav--> |
| 91 |
</div> |
| 92 |
<!--wp-chatbot-footer--> |
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
</div> |
| 98 |
<!-- wp-chatbot-board-container--> |
| 99 |
</div> |
| 100 |
</div> |