| 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 template-vertical"> |
| 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 |
|
| 11 |
<!--wp-chatbot-product-image-col--> |
| 12 |
<div class="wp-chatbot-product-info-col"> |
| 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 class="wp-chatbot-product-close"></a> |
| 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 |
|
| 29 |
</div> |
| 30 |
<!--wp-chatbot-widget--> |
| 31 |
</div> |
| 32 |
|
| 33 |
<div class="wpbot-saas-live-chat"> |
| 34 |
|
| 35 |
</div> |
| 36 |
<!--wp-chatbot-sidebar--> |
| 37 |
<div class="wp-chatbot-container"> |
| 38 |
<div class="wp-chatbot-header"> |
| 39 |
|
| 40 |
<h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') { |
| 41 |
$welcomes = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_welcome')))); |
| 42 |
$host = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_host')))); |
| 43 |
|
| 44 |
echo esc_html( $welcomes . ' ' . $host ); |
| 45 |
} ?></h3> |
| 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 |
<!--wp-chatbot-header--> |
| 53 |
<div class="wp-chatbot-ball-inner wp-chatbot-content"> |
| 54 |
<div class="wp-chatbot-messages-wrapper"> |
| 55 |
<ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container"> |
| 56 |
</ul> |
| 57 |
</div> |
| 58 |
<?php do_action('wpbot_voice_record_wrapper'); ?> |
| 59 |
<!--wp-chatbot-messages-wrapper--> |
| 60 |
</div> |
| 61 |
<!--wp-chatbot-ball-inner--> |
| 62 |
<div class="wp-chatbot-footer"> |
| 63 |
<div id="wp-chatbot-editor-area" class="wp-chatbot-editor-area"> |
| 64 |
|
| 65 |
<input id="wp-chatbot-editor" class="wp-chatbot-editor" required="" placeholder="<?php echo esc_attr( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))) ); ?>" |
| 66 |
> |
| 67 |
<?php do_action('wpbot_voice_icon'); ?> |
| 68 |
<button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><i class="dashicons dashicons-email" aria-hidden="true"></i></button> |
| 69 |
</div> |
| 70 |
<!--wp-chatbot-editor-container--> |
| 71 |
</div> |
| 72 |
<!--wp-chatbot-footer--> |
| 73 |
</div> |
| 74 |
<!--wp-chatbot-container--> |
| 75 |
<div class="chatbot-sidebar chatbot-left-sidebar"> |
| 76 |
<div class="wp-chatbot-widget"> |
| 77 |
<div class="chatbot-agent"> |
| 78 |
<?php |
| 79 |
if (get_option('wp_chatbot_icon') == "custom.png") { |
| 80 |
$wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path'); |
| 81 |
} else if (get_option('wp_chatbot_icon') != "custom.png") { |
| 82 |
$wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon'); |
| 83 |
} else { |
| 84 |
$wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png'; |
| 85 |
} |
| 86 |
?> |
| 87 |
<img src="<?php echo esc_url( $wp_chatbot_custom_icon_path ); ?>" alt="Agent Image"> |
| 88 |
<h3 class="chatbot-agent-name"><?php echo esc_html( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_agent'))) ); ?></h3> |
| 89 |
</div> |
| 90 |
<!--chatbot-agent--> |
| 91 |
</div> |
| 92 |
<!--wp-chatbot-widget--> |
| 93 |
<div class="wp-chatbot-widget wp-chatbot-cart-shortcode-container"> |
| 94 |
|
| 95 |
</div> |
| 96 |
<!--wp-chatbot-widget--> |
| 97 |
</div> |
| 98 |
<!--wp-chatbot-sidebar--> |
| 99 |
</div> |
| 100 |
<!-- .chatbot-shortcode-row--> |
| 101 |
</div> |
| 102 |
<!--wp-chatbot-ball-container--> |