This commit is contained in:
nguyen dung
2022-02-18 16:43:41 +07:00
commit 39b8cb3612
4470 changed files with 1378320 additions and 0 deletions

BIN
wp-content/plugins/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,136 @@
<?php
/**
* @package HTG
*/
/*
Plugin Name: Simple Contact
Plugin URI: https://tiepthitute.com/plugin-simple-contact/
Description: Tạo liên hệ nhanh trên website
Author: Developed by Tiepthitute
Author URI: https://tiepthitute.com/plugin-simple-contact/
License: GPLv2 or later
*/
function ht_social_contact_styles() {
wp_enqueue_style( 'ht-social', plugin_dir_url( __FILE__ ) . '/assets/css/style.css' );
wp_enqueue_script('jquery', plugin_dir_url( __FILE__ ) . '/assets/js/script.js');
}
add_action( 'wp_enqueue_scripts', 'ht_social_contact_styles' );
// create custom plugin settings menu
add_action('admin_menu', 'ht_social_create_menu');
function ht_social_create_menu() {
//create new top-level menu
add_menu_page('Simple Contact', 'Simple Contact', 'administrator', __FILE__, 'ht_social_plugin_settings_page' , plugins_url('/assets/images/target.svg', __FILE__),5 );
//call register settings function
add_action( 'admin_init', 'register_ht_social_plugin_settings' );
}
function my_admin_theme_style() {
wp_enqueue_style('my-admin-theme', plugins_url('plugin-admin.css', __FILE__));
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');
function register_ht_social_plugin_settings() {
//register our settings
register_setting( 'ht-social-settings-group', 'tdh_location' );
register_setting( 'ht-social-settings-group', 'location_desktop' );
register_setting( 'ht-social-settings-group', 'location_mobile' );
register_setting( 'ht-social-settings-group', 'tdh_mobile' );
register_setting( 'ht-social-settings-group', 'mobile_desktop' );
register_setting( 'ht-social-settings-group', 'mobile_mobile' );
register_setting( 'ht-social-settings-group', 'tdh_zalo' );
register_setting( 'ht-social-settings-group', 'zalo_desktop' );
register_setting( 'ht-social-settings-group', 'zalo_mobile' );
register_setting( 'ht-social-settings-group', 'tdh_zalo_oa' );
register_setting( 'ht-social-settings-group', 'zalo_oa_desktop' );
register_setting( 'ht-social-settings-group', 'zalo_oa_mobile' );
register_setting( 'ht-social-settings-group', 'tdh_messenger' );
register_setting( 'ht-social-settings-group', 'messenger_desktop' );
register_setting( 'ht-social-settings-group', 'messenger_mobile' );
register_setting( 'ht-social-settings-group', 'desktop_location' );
register_setting( 'ht-social-settings-group', 'mobile_location' );
}
function ht_social_plugin_settings_page() {
?>
<div class="wrap">
<h1>SIMPLE CONTACT</h1>
<div class="wrap">
<h2>CÀI ĐẶT</h2>
<form id="form-simple-admin" method="post" action="options.php">
<?php settings_fields( 'ht-social-settings-group' ); ?>
<?php do_settings_sections( 'ht-social-settings-group' ); ?>
<div class="setup_infor">
<ul class="lis-item">
<li class="method">Phương thức</li>
<li class="infomation">Thông tin</li>
<li class="desktop-enable">Máy tính</li>
<li class="mobile-enable">Điện thoại</li>
</ul>
<div class="list-item">
<div class="infor_child"><label>Vị trí</label>
<input type="text" name="tdh_location" size="45" value="<?php echo get_option('tdh_location'); ?>" />
<input type="checkbox" name="location_desktop" value="location_desktop" class="desktop_enable" <?php if(get_option('location_desktop')=='location_desktop'){ echo "checked";} ?> />
<input type="checkbox" class="mobile_enable" name="location_mobile" value="location_mobile" <?php if(get_option('location_mobile')=='location_mobile'){ echo "checked";} ?> />
</div>
<div class="infor_child">
<label>Điện thoại </label>
<input type="text" name="tdh_mobile" size="45" value="<?php echo get_option('tdh_mobile'); ?>" />
<input type="checkbox" name="mobile_desktop" value="mobile_desktop" class="desktop_enable" <?php if(get_option('mobile_desktop')=='mobile_desktop'){ echo "checked";} ?> />
<input type="checkbox" class="mobile_enable" name="mobile_mobile" value="mobile_mobile" <?php if(get_option('mobile_mobile')=='mobile_mobile'){ echo "checked";} ?> />
</div>
<div class="infor_child">
<label>Zalo</label>
<input type="text" name="tdh_zalo" size="45" value="<?php echo get_option('tdh_zalo'); ?>" />
<input type="checkbox" name="zalo_desktop" value="zalo_desktop" class="desktop_enable" <?php if(get_option('zalo_desktop')=='zalo_desktop'){ echo "checked";} ?> />
<input type="checkbox" class="mobile_enable" name="zalo_mobile" value="zalo_mobile" <?php if(get_option('zalo_mobile')=='zalo_mobile'){ echo "checked";} ?> />
</div>
<div class="infor_child">
<label>Zalo OA</label>
<input type="text" name="tdh_zalo_oa" size="45" value="<?php echo get_option('tdh_zalo_oa'); ?>" />
<input type="checkbox" name="zalo_oa_desktop" value="zalo_oa_desktop" class="desktop_enable" <?php if(get_option('zalo_oa_desktop')=='zalo_oa_desktop'){ echo "checked";} ?> />
<input type="checkbox" class="mobile_enable" name="zalo_oa_mobile" value="zalo_oa_mobile" <?php if(get_option('zalo_oa_mobile')=='zalo_oa_mobile'){ echo "checked";} ?> />
</div>
<div class="infor_child">
<label>Messenger</label>
<input type="text" name="tdh_messenger" size="45" value="<?php echo get_option('tdh_messenger'); ?>" />
<input type="checkbox" name="messenger_desktop" value="messenger_desktop" class="desktop_enable" <?php if(get_option('messenger_desktop')=='messenger_desktop'){ echo "checked";} ?> />
<input type="checkbox" class="mobile_enable" name="messenger_mobile" value="messenger_mobile" <?php if(get_option('messenger_mobile')=='messenger_mobile'){ echo "checked";} ?> />
</div>
</div>
</div>
<div class="device_location">
<label>Máy tinh</label>
<select name="desktop_location">
<option value="left" <?php if(get_option('desktop_location')=='left'){ echo "selected";} ?> >Trái</option>
<option value="right" <?php if(get_option('desktop_location')=='right'){ echo "selected";} ?> >Phải</option>
</select>
<label>Điện thoại</label>
<select name="mobile_location">
<option value="bottom-right" <?php if(get_option('mobile_location')=='bottom-right'){ echo "selected";} ?>>Dọc Phải</option>
<option value="bottom-center" <?php if(get_option('mobile_location')=='bottom-center'){ echo "selected";} ?>>Ngang dưới</option>
</select>
</div>
<div class="input-submit"><input type="submit" name="submit" class="button-primary" value="Lưu cài đặt" /></div>
</form>
</div>
<?php } ?>
<?php
add_action('wp_footer', 'ht_social_view');
function ht_social_view() {
include_once('template/template.php');
}
?>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="18" cy="18" r="18" fill="url(#paint0_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1434 8.27565C12.257 8.31429 12.4322 8.40449 12.5328 8.46894C13.1492 8.8749 14.8657 11.056 15.4271 12.145C15.7483 12.7668 15.8553 13.2275 15.7548 13.569C15.6509 13.9363 15.4789 14.1297 14.71 14.745C14.4017 14.993 14.1129 15.2476 14.0675 15.3153C13.9507 15.4828 13.8566 15.8114 13.8566 16.0434C13.8599 16.5814 14.2103 17.5577 14.671 18.3083C15.0279 18.8914 15.6671 19.6389 16.2999 20.2124C17.0429 20.889 17.6983 21.3497 18.4381 21.7138C19.3888 22.1841 19.9696 22.3034 20.3947 22.1068C20.5018 22.0585 20.6153 21.9941 20.651 21.9651C20.6834 21.9361 20.9333 21.6332 21.2059 21.2982C21.7315 20.6409 21.8515 20.5346 22.2117 20.4122C22.6692 20.2575 23.1365 20.2994 23.6069 20.5378C23.9639 20.7215 24.7426 21.2015 25.2455 21.5494C25.9074 22.0102 27.3221 23.1572 27.5136 23.3859C27.851 23.7983 27.9094 24.3266 27.6823 24.9098C27.4421 25.5251 26.5077 26.6786 25.8555 27.1715C25.2649 27.6161 24.8464 27.7868 24.2948 27.8126C23.8406 27.8352 23.6524 27.7965 23.0715 27.5581C18.516 25.6927 14.8787 22.9091 11.9909 19.0848C10.4821 17.0873 9.33346 15.0156 8.54822 12.8667C8.09075 11.6134 8.06805 11.0689 8.44439 10.4278C8.60666 10.1572 9.29777 9.48704 9.8007 9.11333C10.6379 8.49473 11.024 8.26597 11.3322 8.20155C11.5431 8.15643 11.9097 8.19187 12.1434 8.27565Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="18" y1="-5.94283e-09" x2="18.0997" y2="33.1738" gradientUnits="userSpaceOnUse">
<stop stop-color="#8AD336"/>
<stop offset="1" stop-color="#509600"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,10 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="22" cy="22" r="22" fill="url(#paint0_linear)"/>
<path d="M22 10C17.0374 10 13 13.7367 13 18.3297C13 24.0297 21.0541 32.3978 21.397 32.7512C21.7191 33.0832 22.2815 33.0826 22.603 32.7512C22.9459 32.3978 31 24.0297 31 18.3297C30.9999 13.7367 26.9626 10 22 10ZM22 22.5206C19.5032 22.5206 17.4719 20.6406 17.4719 18.3297C17.4719 16.0188 19.5032 14.1388 22 14.1388C24.4968 14.1388 26.528 16.0189 26.528 18.3297C26.528 20.6406 24.4968 22.5206 22 22.5206Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="22" y1="0" x2="22" y2="44" gradientUnits="userSpaceOnUse">
<stop stop-color="#07D8F8"/>
<stop offset="1" stop-color="#00A0D2"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 790 B

View File

@@ -0,0 +1,10 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="18" cy="18" r="18" fill="url(#paint0_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.18182 17.3143C8.18182 12.2459 12.6192 8.13727 18.093 8.13727C23.5668 8.13727 28.0041 12.2459 28.0041 17.3143C28.0041 22.3826 23.5668 26.4913 18.093 26.4913C17.1048 26.4913 16.1507 26.3567 15.2501 26.1075L11.8754 27.9596V24.4605C9.62307 22.7783 8.18182 20.2023 8.18182 17.3143ZM16.8953 17.8622L19.4403 20.5766L24.9027 14.7777L19.999 17.4921L17.3919 14.7777L11.9295 20.5766L16.8953 17.8622Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="17.7076" y1="35.4727" x2="17.7076" y2="0.350704" gradientUnits="userSpaceOnUse">
<stop stop-color="#1D77E2"/>
<stop offset="1" stop-color="#2CB7FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 852 B

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="-191 280.3 36 36" style="enable-background:new -191 280.3 36 36;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
.st1{opacity:0.24;fill:#FFFFFF;enable-background:new ;}
.st2{fill:#FFFFFF;}
</style>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-173" y1="317.56" x2="-173" y2="281.56" gradientTransform="matrix(1 0 0 -1 0 597.84)">
<stop offset="0" style="stop-color:#3A8BFF"/>
<stop offset="1" style="stop-color:#035ADA"/>
</linearGradient>
<circle class="st0" cx="-173" cy="298.3" r="18"/>
<path class="st1" d="M-166.1,289.3H-180c-1.4,0-2.6,1.2-2.6,2.6v13c0,1.4,1.2,2.6,2.6,2.6h13.9c1.4,0,2.6-1.2,2.6-2.6v-13
C-163.5,290.5-164.6,289.3-166.1,289.3z M-180,289.1c-1.6,0-2.9,1.3-2.9,2.9v13c0,1.6,1.3,2.9,2.9,2.9h13.9c1.6,0,2.9-1.3,2.9-2.9
v-13c0-1.6-1.3-2.9-2.9-2.9H-180z"/>
<path class="st2" d="M-163.2,302.5c-0.1,0-0.2,0-0.3,0.1c-0.3,0.2-0.6,0.4-1,0.7c-0.6,0.5-1.3,1-2,1.3c-2.8,0.9-5.3,1-7.9,0.3
c-0.2,0-0.2,0-0.3,0c-0.1,0-0.2,0-0.3,0l-0.1,0c-0.3,0-0.6,0-1.1,0.3c-1.1,0.3-2.5,0.4-3.2,0.3c0,0,0,0,0,0c0,0-0.1-0.1,0-0.1
c0,0,0,0,0.1,0c0,0,0.1-0.1,0.1-0.1c0.6-0.4,1.1-0.8,1.4-1.3c0.5-0.6,0.3-0.8-0.2-1.2l0,0c-2-2.1-2.6-4.3-2.4-7.2
c0.3-1.6,1-3,2.1-4.2c0.7-0.7,1.4-1.3,2.3-1.8c0,0,0,0,0,0c0,0,0.1,0,0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.5,0-1,0-1.4,0
c-0.9,0-1.9,0-2.8,0c-1.4,0-2.6,1-2.6,2.7c0,3,0,6,0,8.9v4.5c0,1.4,1.1,2.5,2.4,2.6c0.8,0,1.6,0,2.4,0c0.4,0,0.8,0,1.1,0
c0.1,0,0.2,0,0.3,0h7.7c1,0,2,0,3.1,0h0c1.4,0,2.6-1.2,2.6-2.6v-2.6C-163.2,302.6-163.2,302.5-163.2,302.5z M-177.1,307.5
L-177.1,307.5C-177.1,307.5-177.1,307.5-177.1,307.5C-177.1,307.5-177.1,307.5-177.1,307.5z M-174.3,298.2c-0.4,0-0.8,0-1.2,0h-0.7
c0.1-0.1,0.1-0.1,0.2-0.2c0.6-0.7,1.1-1.4,1.7-2.1c0.2-0.2,0.3-0.4,0.4-0.7c0.1-0.3,0-0.6-0.3-0.6c-0.1,0-0.3-0.1-0.4,0
c-0.8,0-1.5,0-2.3,0c-0.1,0-0.2,0-0.3,0c-0.2,0-0.3,0.2-0.3,0.3c0,0.2,0.1,0.5,0.3,0.5c0.1,0,0.2,0,0.3,0c0.2,0,0.5,0,0.7,0h0.7
c0,0,0.1,0,0.1,0c0,0-0.1,0.1-0.1,0.1c-0.7,0.8-1.3,1.7-2,2.5c-0.2,0.2-0.3,0.4-0.1,0.7s0.4,0.3,0.6,0.3c0.1,0,0.3,0,0.4,0h0.7
c0.5,0,1,0,1.6,0c0.4,0,0.6-0.2,0.5-0.6C-173.8,298.3-174,298.2-174.3,298.2z M-170.8,295.6c-0.2,0-0.3,0.2-0.4,0.3
c-0.5-0.5-1.1-0.5-1.7-0.1c-0.7,0.4-1,1.1-0.9,1.9c0.1,0.7,0.4,1.3,1.2,1.6c0.5,0.2,0.9,0.1,1.3-0.2c0.1-0.1,0.1-0.1,0.2,0
c0.1,0.2,0.4,0.3,0.6,0.2c0.2-0.1,0.3-0.3,0.3-0.5c0-0.9,0-1.7,0-2.6C-170.2,295.8-170.5,295.6-170.8,295.6z M-171.4,298
c0,0-0.1,0.1-0.1,0.1c-0.1,0.1-0.3,0.1-0.4,0.1c-0.1,0-0.3-0.1-0.4-0.1c0,0-0.1-0.1-0.1-0.1c-0.1-0.1-0.2-0.3-0.2-0.5
c0-0.6,0.3-1,0.8-0.9c0.1,0,0.1,0,0.2,0c0.1,0,0.3,0.1,0.3,0.2C-171.2,297.2-171.2,297.7-171.4,298z M-166.5,295.6
c-1,0-1.8,0.9-1.7,2c0,1.1,0.9,1.9,2,1.8c1-0.1,1.7-0.9,1.7-2C-164.7,296.3-165.5,295.5-166.5,295.6z M-165.9,298L-165.9,298
c-0.1,0.1-0.2,0.2-0.3,0.2c-0.1,0.1-0.3,0.1-0.5,0c-0.1,0-0.1-0.1-0.2-0.1c0,0-0.1-0.1-0.1-0.1h0c-0.1-0.2-0.2-0.4-0.2-0.6v0
c0-0.5,0.3-0.8,0.7-0.8h0.1c0.2,0,0.4,0.1,0.5,0.3c0,0,0,0,0,0.1c0.1,0.2,0.1,0.3,0.1,0.5C-165.7,297.6-165.8,297.9-165.9,298z
M-169.2,294.1c-0.3,0-0.5,0.2-0.5,0.5v4c0,0.3,0.2,0.5,0.4,0.5c0.1,0,0.1,0,0.2,0c0.3,0,0.5-0.3,0.5-0.6v-4
C-168.6,294.3-168.9,294.1-169.2,294.1z"/>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 485 485" style="enable-background:new 0 0 485 485;" xml:space="preserve">
<g>
<path d="M414.012,70.988C368.234,25.211,307.324,0,242.5,0S116.766,25.211,70.988,70.988C25.211,116.766,0,177.677,0,242.5
s25.211,125.734,70.988,171.512C116.766,459.789,177.676,485,242.5,485s125.734-25.211,171.512-70.988
C459.789,368.234,485,307.323,485,242.5S459.789,116.766,414.012,70.988z M242.5,455C125.327,455,30,359.673,30,242.5
S125.327,30,242.5,30S455,125.327,455,242.5S359.673,455,242.5,455z"/>
<path d="M351.241,133.759C322.217,104.735,283.598,88.75,242.5,88.75s-79.717,15.985-108.741,45.009S88.75,201.402,88.75,242.5
s15.984,79.717,45.009,108.741S201.402,396.25,242.5,396.25s79.717-15.985,108.741-45.009S396.25,283.598,396.25,242.5
S380.266,162.783,351.241,133.759z M242.5,366.25c-68.236,0-123.75-55.514-123.75-123.75s55.514-123.75,123.75-123.75
s123.75,55.514,123.75,123.75S310.736,366.25,242.5,366.25z"/>
<path d="M242.5,177.5c-35.841,0-65,29.159-65,65s29.159,65,65,65s65-29.159,65-65S278.341,177.5,242.5,177.5z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,10 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="22" cy="22" r="22" fill="url(#paint0_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.0087 9.35552C14.1581 9.40663 14.3885 9.52591 14.5208 9.61114C15.3315 10.148 17.5888 13.0324 18.3271 14.4726C18.7495 15.2949 18.8903 15.9041 18.758 16.3558C18.6214 16.8415 18.3953 17.0971 17.384 17.9109C16.9786 18.239 16.5988 18.5756 16.5391 18.6651C16.3855 18.8866 16.2617 19.3212 16.2617 19.628C16.266 20.3395 16.7269 21.6305 17.3328 22.6232C17.8021 23.3944 18.6428 24.3828 19.4749 25.1413C20.452 26.0361 21.314 26.6453 22.2869 27.1268C23.5372 27.7488 24.301 27.9064 24.86 27.6466C25.0008 27.5826 25.1501 27.4974 25.1971 27.4591C25.2397 27.4208 25.5683 27.0202 25.9268 26.5772C26.618 25.7079 26.7759 25.5674 27.2496 25.4055C27.8513 25.201 28.4657 25.2563 29.0844 25.5716C29.5538 25.8145 30.5779 26.4493 31.2393 26.9095C32.1098 27.5187 33.9703 29.0355 34.2221 29.3381C34.6658 29.8834 34.7427 30.5821 34.4439 31.3534C34.1281 32.1671 32.8992 33.6925 32.0415 34.3444C31.2649 34.9323 30.7145 35.1581 29.9891 35.1922C29.3917 35.222 29.1442 35.1709 28.3804 34.8556C22.3893 32.3887 17.6059 28.7075 13.8081 23.65C11.8239 21.0084 10.3134 18.2688 9.28067 15.427C8.67905 13.7696 8.64921 13.0495 9.14413 12.2017C9.35753 11.8438 10.2664 10.9575 10.9278 10.4633C12.0288 9.64524 12.5365 9.34273 12.9419 9.25754C13.2193 9.19787 13.7014 9.24473 14.0087 9.35552Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="22" y1="-7.26346e-09" x2="22.1219" y2="40.5458" gradientUnits="userSpaceOnUse">
<stop stop-color="#8AD336"/>
<stop offset="1" stop-color="#509600"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,10 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="22" cy="22" r="22" fill="url(#paint0_linear)"/>
<path d="M22 10C17.0374 10 13 13.7367 13 18.3297C13 24.0297 21.0541 32.3978 21.397 32.7512C21.7191 33.0832 22.2815 33.0826 22.603 32.7512C22.9459 32.3978 31 24.0297 31 18.3297C30.9999 13.7367 26.9626 10 22 10ZM22 22.5206C19.5032 22.5206 17.4719 20.6406 17.4719 18.3297C17.4719 16.0188 19.5032 14.1388 22 14.1388C24.4968 14.1388 26.528 16.0189 26.528 18.3297C26.528 20.6406 24.4968 22.5206 22 22.5206Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="22" y1="0" x2="22" y2="44" gradientUnits="userSpaceOnUse">
<stop stop-color="#07D8F8"/>
<stop offset="1" stop-color="#00A0D2"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 790 B

View File

@@ -0,0 +1,10 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="22" cy="22" r="22" fill="url(#paint0_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.0026 7.70215C14.1041 7.70215 7.70117 13.6308 7.70117 20.9442C7.70117 25.1115 9.78083 28.8286 13.0309 31.256V36.305L17.9004 33.6325C19.2 33.9922 20.5767 34.1863 22.0026 34.1863C29.9011 34.1863 36.304 28.2576 36.304 20.9442C36.304 13.6308 29.9011 7.70215 22.0026 7.70215ZM23.4221 25.5314L19.7801 21.6471L12.6738 25.5314L20.4908 17.2331L24.2216 21.1174L31.239 17.2331L23.4221 25.5314Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="21.6426" y1="43.3555" x2="21.6426" y2="0.428639" gradientUnits="userSpaceOnUse">
<stop stop-color="#1168CF"/>
<stop offset="1" stop-color="#2CB7FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 846 B

View File

@@ -0,0 +1,18 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="22" cy="22" r="22" fill="url(#paint0_linear)"/>
<g clip-path="url(#clip0)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.274 34.0907C15.7773 34.0856 16.2805 34.0804 16.783 34.0804C16.7806 34.0636 16.7769 34.0479 16.7722 34.0333C16.777 34.0477 16.7808 34.0632 16.7832 34.0798C16.8978 34.0798 17.0124 34.0854 17.127 34.0965H25.4058C26.0934 34.0965 26.7809 34.0977 27.4684 34.0989C28.8434 34.1014 30.2185 34.1039 31.5935 34.0965H31.6222C33.5357 34.0798 35.0712 32.5722 35.0597 30.7209V27.4784C35.0597 27.4582 35.0612 27.4333 35.0628 27.4071C35.0676 27.3257 35.0731 27.2325 35.0368 27.2345C34.9337 27.2401 34.7711 27.2757 34.7138 27.3311C34.2744 27.6145 33.8483 27.924 33.4222 28.2335C32.57 28.8525 31.7179 29.4715 30.7592 29.8817C27.0284 31.0993 23.7287 31.157 20.2265 30.3385C20.0349 30.271 19.9436 30.2786 19.7816 30.292C19.6773 30.3007 19.5436 30.3118 19.3347 30.3068C19.3093 30.3077 19.2829 30.3085 19.2554 30.3093C18.9099 30.3197 18.4083 30.3348 17.8088 30.6877C16.4051 31.1034 14.5013 31.157 13.5175 31.0147C13.522 31.0245 13.5247 31.0329 13.5269 31.0407C13.5236 31.0341 13.5204 31.0275 13.5173 31.0208C13.5036 31.0059 13.4864 30.9927 13.4696 30.98C13.4163 30.9393 13.3684 30.9028 13.46 30.8268C13.4867 30.8102 13.5135 30.7929 13.5402 30.7757C13.5937 30.7412 13.6472 30.7067 13.7006 30.6771C14.4512 30.206 15.1559 29.6905 15.6199 28.9311C16.2508 28.1911 15.9584 27.9025 15.4009 27.3524L15.3799 27.3317C12.6639 24.6504 11.8647 21.8054 12.148 17.9785C12.486 15.8778 13.4829 14.0708 14.921 12.4967C15.7918 11.5433 16.8288 10.7729 17.9632 10.1299C17.9796 10.1198 17.9987 10.1116 18.0182 10.1032C18.0736 10.0793 18.1324 10.0541 18.1408 9.98023C18.1475 9.92191 18.0507 9.90264 18.0163 9.90264C17.3698 9.90264 16.7316 9.89705 16.0964 9.89148C14.8346 9.88043 13.5845 9.86947 12.3041 9.90265C10.465 9.95254 8.78889 11.1779 8.81925 13.3614C8.82689 17.2194 8.82435 21.0749 8.8218 24.9296C8.82053 26.8567 8.81925 28.7835 8.81925 30.7104C8.81925 32.5007 10.2344 34.0028 12.085 34.0749C13.1465 34.1125 14.2107 34.1016 15.274 34.0907ZM13.5888 31.1403C13.5935 31.1467 13.5983 31.153 13.6032 31.1594C13.7036 31.2455 13.8031 31.3325 13.9021 31.4202C13.8063 31.3312 13.7072 31.2423 13.6035 31.1533C13.5982 31.1487 13.5933 31.1444 13.5888 31.1403ZM16.5336 33.8108C16.4979 33.7885 16.4634 33.7649 16.4337 33.7362C16.4311 33.7358 16.4283 33.7352 16.4254 33.7345C16.4281 33.7371 16.4308 33.7397 16.4335 33.7423C16.4632 33.7683 16.4978 33.79 16.5336 33.8108Z" fill="white"/>
<path d="M17.6768 21.6754C18.5419 21.6754 19.3555 21.6698 20.1633 21.6754C20.6159 21.6809 20.8623 21.8638 20.9081 22.213C20.9597 22.6509 20.6961 22.9447 20.2034 22.9502C19.2753 22.9613 18.3528 22.9558 17.4247 22.9558C17.1554 22.9558 16.8919 22.9669 16.6226 22.9502C16.2903 22.9336 15.9637 22.8671 15.8033 22.5345C15.6429 22.2019 15.7575 21.9026 15.9752 21.631C16.8575 20.5447 17.7455 19.4527 18.6336 18.3663C18.6851 18.2998 18.7367 18.2333 18.7883 18.1723C18.731 18.0781 18.6508 18.1224 18.582 18.1169C17.9633 18.1114 17.3388 18.1169 16.72 18.1114C16.5768 18.1114 16.4335 18.0947 16.296 18.067C15.9695 17.995 15.7689 17.679 15.8434 17.3686C15.895 17.158 16.0669 16.9862 16.2846 16.9363C16.4221 16.903 16.5653 16.8864 16.7085 16.8864C17.7284 16.8809 18.7539 16.8809 19.7737 16.8864C19.9571 16.8809 20.1347 16.903 20.3123 16.9474C20.7019 17.0749 20.868 17.4241 20.7133 17.7899C20.5758 18.1058 20.3581 18.3774 20.1404 18.649C19.3899 19.5747 18.6393 20.4948 17.8888 21.4093C17.8258 21.4814 17.7685 21.5534 17.6768 21.6754Z" fill="white"/>
<path d="M24.3229 18.7604C24.4604 18.5886 24.6036 18.4279 24.8385 18.3835C25.2911 18.2948 25.7151 18.5775 25.7208 19.021C25.738 20.1295 25.7323 21.2381 25.7208 22.3467C25.7208 22.6349 25.526 22.8899 25.2453 22.973C24.9588 23.0783 24.6322 22.9952 24.4432 22.7568C24.3458 22.6404 24.3057 22.6183 24.1682 22.7236C23.6468 23.1338 23.0567 23.2058 22.4207 23.0063C21.4009 22.6848 20.9827 21.9143 20.8681 20.9776C20.7478 19.9632 21.0973 19.0986 22.0369 18.5664C22.816 18.1175 23.6067 18.1563 24.3229 18.7604ZM22.2947 20.7836C22.3061 21.0275 22.3863 21.2603 22.5353 21.4543C22.8447 21.8534 23.4348 21.9365 23.8531 21.6372C23.9218 21.5873 23.9848 21.5263 24.0421 21.4543C24.363 21.033 24.363 20.3402 24.0421 19.9189C23.8817 19.7027 23.6296 19.5752 23.3603 19.5697C22.7301 19.5309 22.289 20.002 22.2947 20.7836ZM28.2933 20.8168C28.2474 19.3923 29.2157 18.3281 30.5907 18.2893C32.0517 18.245 33.1174 19.1928 33.1632 20.5785C33.209 21.9808 32.321 22.973 30.9517 23.106C29.4563 23.2502 28.2704 22.2026 28.2933 20.8168ZM29.7313 20.6838C29.7199 20.961 29.8058 21.2326 29.9777 21.4598C30.2928 21.8589 30.8829 21.9365 31.2955 21.6261C31.3585 21.5818 31.41 21.5263 31.4616 21.4709C31.7939 21.0496 31.7939 20.3402 31.4673 19.9189C31.3069 19.7083 31.0548 19.5752 30.7855 19.5697C30.1668 19.5364 29.7313 19.991 29.7313 20.6838ZM27.7891 19.7138C27.7891 20.573 27.7948 21.4321 27.7891 22.2912C27.7948 22.6848 27.474 23.0118 27.0672 23.0229C26.9985 23.0229 26.924 23.0174 26.8552 23.0007C26.5688 22.9287 26.351 22.6349 26.351 22.2857V17.8791C26.351 17.6186 26.3453 17.3636 26.351 17.1031C26.3568 16.6763 26.6375 16.3992 27.0615 16.3992C27.4969 16.3936 27.7891 16.6708 27.7891 17.1142C27.7948 17.9789 27.7891 18.8491 27.7891 19.7138Z" fill="white"/>
<path d="M22.2947 20.7828C22.289 20.0013 22.7302 19.5302 23.3547 19.5634C23.6239 19.5745 23.876 19.702 24.0364 19.9181C24.3573 20.3339 24.3573 21.0322 24.0364 21.4535C23.7271 21.8526 23.1369 21.9357 22.7187 21.6364C22.65 21.5865 22.5869 21.5255 22.5296 21.4535C22.3864 21.2595 22.3062 21.0267 22.2947 20.7828ZM29.7314 20.683C29.7314 19.9957 30.1668 19.5357 30.7856 19.569C31.0549 19.5745 31.307 19.7075 31.4674 19.9181C31.794 20.3394 31.794 21.0544 31.4617 21.4701C31.1408 21.8636 30.545 21.9302 30.1382 21.6198C30.0752 21.5754 30.0236 21.52 29.9778 21.459C29.8059 21.2318 29.7257 20.9602 29.7314 20.683Z" fill="#0068FF"/>
</g>
<defs>
<linearGradient id="paint0_linear" x1="22" y1="0" x2="22" y2="44" gradientUnits="userSpaceOnUse">
<stop stop-color="#5FA0FF"/>
<stop offset="1" stop-color="#035ADA"/>
</linearGradient>
<clipPath id="clip0">
<rect width="26.3641" height="24.2" fill="white" transform="translate(8.78906 9.90234)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.86449 1.81258C5.98348 1.85306 6.16703 1.94755 6.27242 2.01507C6.91823 2.44036 8.71641 4.72535 9.30454 5.8662C9.64102 6.5176 9.75314 7.00026 9.64786 7.35804C9.53902 7.74282 9.35889 7.94534 8.55329 8.59001C8.23034 8.84986 7.9278 9.11651 7.88025 9.18742C7.75786 9.36296 7.65925 9.70718 7.65925 9.95024C7.6627 10.5139 8.02979 11.5366 8.51248 12.323C8.88636 12.9339 9.55598 13.7169 10.2189 14.3178C10.9973 15.0266 11.6839 15.5092 12.459 15.8906C13.4549 16.3834 14.0634 16.5083 14.5087 16.3024C14.6209 16.2518 14.7398 16.1842 14.7772 16.1539C14.8112 16.1235 15.073 15.8062 15.3585 15.4552C15.9091 14.7666 16.0349 14.6553 16.4122 14.527C16.8916 14.365 17.3811 14.4089 17.8739 14.6587C18.2478 14.8511 19.0636 15.354 19.5905 15.7185C20.2839 16.2011 21.766 17.4027 21.9666 17.6424C22.32 18.0744 22.3813 18.6279 22.1433 19.2389C21.8917 19.8835 20.9128 21.0918 20.2296 21.6082C19.6109 22.074 19.1724 22.2528 18.5946 22.2799C18.1187 22.3035 17.9215 22.263 17.313 22.0133C12.5406 20.059 8.73001 17.1429 5.70471 13.1364C4.1241 11.0438 2.92076 8.87352 2.09812 6.62226C1.61887 5.30931 1.59509 4.73889 1.98935 4.06722C2.15934 3.78372 2.88337 3.08166 3.41024 2.69015C4.28727 2.04209 4.69175 1.80244 5.01468 1.73495C5.23562 1.68769 5.61971 1.72481 5.86449 1.81258Z" fill="url(#paint0_linear)"/>
<defs>
<linearGradient id="paint0_linear" x1="12" y1="1.71429" x2="12.057" y2="20.6708" gradientUnits="userSpaceOnUse">
<stop stop-color="#8AD336"/>
<stop offset="1" stop-color="#509600"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 1.71429C7.74632 1.71429 4.28571 4.91717 4.28571 8.85402C4.28571 13.7398 11.1892 20.9124 11.4832 21.2153C11.7592 21.4999 12.2413 21.4994 12.5168 21.2153C12.8108 20.9124 19.7143 13.7398 19.7143 8.85402C19.7142 4.91717 16.2536 1.71429 12 1.71429ZM12 12.4462C9.85987 12.4462 8.11879 10.8348 8.11879 8.85402C8.11879 6.87327 9.85991 5.26186 12 5.26186C14.1401 5.26186 15.8812 6.87331 15.8812 8.85406C15.8812 10.8348 14.1401 12.4462 12 12.4462Z" fill="url(#paint0_linear)"/>
<defs>
<linearGradient id="paint0_linear" x1="12" y1="1.71429" x2="12" y2="21.4286" gradientUnits="userSpaceOnUse">
<stop stop-color="#07D8F8"/>
<stop offset="1" stop-color="#00A0D2"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 804 B

View File

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.71429 11.2816C1.71429 5.97194 6.36296 1.66762 12.0974 1.66762C17.8319 1.66762 22.4805 5.97194 22.4805 11.2816C22.4805 16.5913 17.8319 20.8956 12.0974 20.8956C11.0622 20.8956 10.0626 20.7547 9.11913 20.4936L5.58378 22.4339V18.7682C3.22417 17.0059 1.71429 14.3071 1.71429 11.2816ZM10.8427 11.8556L13.5089 14.6992L19.2314 8.62427L14.0942 11.4679L11.363 8.62427L5.64042 14.6992L10.8427 11.8556Z" fill="url(#paint0_linear)"/>
<defs>
<linearGradient id="paint0_linear" x1="11.9287" y1="22.1297" x2="11.9287" y2="1.86992" gradientUnits="userSpaceOnUse">
<stop stop-color="#1D77E2"/>
<stop offset="1" stop-color="#2CB7FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 806 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -0,0 +1,59 @@
.setup_infor {
float: left;
border: 1px solid #cdcdcd;
padding: 15px;
}
.infor_child {
padding: 10px 0;
}
.infor_child label {
width: 115px;
display: inline-block;
}
.device_location {
float: left;
border: 1px solid #cdcdcd;
padding: 15px;
margin-left: 15px;
}
.input-submit {
clear: both;
margin-top: 15px;
float: left;
}
li.method {
width: 115px;
float: left;
}
li.infomation {
float: left;
width: 326px;
}
li.desktop-enable {
float: left;
width: 80px;
}
li.mobile-enable {
float: left;
width: 80px;
}
.infor_child input.desktop_enable {
margin-left: 20px;
margin-right: 59px;
}
ul.lis-item {
float: left;
border-bottom: 1px solid #cdcdcd;
padding-bottom: 15px;
margin-bottom: 18px;
margin-left: -15px;
margin-right: -15px;
padding-left: 15px;
}
#wpwrap form#form-simple-admin {float:left}
#toplevel_page_Simple-Contact-Simple-Contact .wp-menu-image img { width: 65%;
padding: 0 !important;
margin-top: 6px;}

View File

@@ -0,0 +1,169 @@
<?php
if (get_option('desktop_location')=='right'){
$class_device='aml_dk-wrap aml_dk-desktop aml_dk-style-gradient-default aml_dk-style-default aml_dk-bottom-right aml_dk-md aml_dk-channel-4';
}else{
$class_device='aml_dk-wrap aml_dk-desktop aml_dk-style-gradient-default aml_dk-style-default aml_dk-bottom-left aml_dk-md aml_dk-channel-4';
}
if (get_option('mobile_location')=='bottom-right'){
$class_device_mobile='aml_dk-wrap aml_dk-mobile aml_dk-style-default aml_dk-bottom-right aml_dk-md aml_dk-channel-4';
}else{
$class_device_mobile='aml_dk-wrap aml_dk-mobile aml_dk-style-horizontal-default aml_dk-style-default aml_dk-bottom-center aml_dk-md aml_dk-channel-4';
}
?>
<script type="text/javascript">
if(screen.width <=767){
<?php $screen = 'mobile';?>
}else{
<?php $screen = 'default';?>
}
</script>
<?php
function isMobileDevice() {
return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
}
if(isMobileDevice()){ ?>
<div class="simple-contact-mobile">
<div id="aml_dk_wrap" class="<?php echo $class_device_mobile; ?>" style="z-index: 2147483647;">
<div class="aml_dk-flex-container aml-flc-style-horizontal-default aml_dk-style-default" <?php if (get_option('mobile_location')=='bottom-center'){ ?> style=" background: #fff;" <?php } ?>>
<?php if (get_option('location_mobile') =='location_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-google_map ">
<a target="_blank" href="<?php echo get_option('tdh_location'); ?>">
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Bản đồ</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php if (get_option('mobile_location')=='bottom-right') { ?>
<?php if (get_option('messenger_mobile') =='messenger_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-facebook ">
<a href="https://m.me/<?php echo get_option('tdh_messenger'); ?>" target="_blank">
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Messenger</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php } else { ?>
<?php if (get_option('mobile_mobile') =='mobile_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-click_to_call ">
<a href="tel:<?php echo get_option('tdh_mobile'); ?>" target="_blank">
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Gọi ngay</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php } ?>
<?php if (get_option('zalo_mobile') =='zalo_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-zalo ">
<a href="https://zalo.me/<?php echo get_option('tdh_zalo'); ?>" target="_blank" >
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Zalo</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php if (get_option('mobile_location')=='bottom-right') { ?>
<?php if (get_option('mobile_mobile') =='mobile_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-click_to_call ">
<a href="tel:<?php echo get_option('tdh_mobile'); ?>" target="_blank">
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Gọi ngay</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php } ?>
<?php if (get_option('mobile_location')=='bottom-center') { ?>
<?php if (get_option('messenger_mobile') =='messenger_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-facebook ">
<a href="https://m.me/<?php echo get_option('tdh_messenger'); ?>" target="_blank">
<?php if (get_option('mobile_location')=='bottom-center'){ ?>
<span class="aml-text-content ">Messenger</span>
<?php } ?>
</a>
</div>
<?php } ?>
<?php } ?>
<?php if (get_option('mobile_location')=='bottom-right') { ?>
<?php if ( get_option('tdh_zalo_oa') && get_option('zalo_oa_mobile') =='zalo_oa_mobile'){ ?>
<div class="aml_dk-flex-item ">
<div class="zalo-chat-widget" style="width: 50px; height: 50px;" data-oaid=" <?php echo get_option('tdh_zalo_oa'); ?>" data-welcome-message="Rất vui khi được hỗ trợ bạn!" data-autopopup="0" data-width="350" data-height="420"></div>
<script src="https://sp.zalo.me/plugins/sdk.js"></script>
</div>
<?php } ?>
<?php } ?>
<?php if (get_option('mobile_location')=='bottom-center') { ?>
<?php if ( get_option('tdh_zalo_oa') && get_option('zalo_oa_mobile') =='zalo_oa_mobile'){ ?>
<div class="aml_dk-flex-item aml_dk-channel-zalo-oa">
<div class="zalo-chat-widget" style="width: 50px; height: 50px;" data-oaid=" <?php echo get_option('tdh_zalo_oa'); ?>" data-welcome-message="Rất vui khi được hỗ trợ bạn!" data-autopopup="0" data-width="350" data-height="420"></div>
<script src="https://sp.zalo.me/plugins/sdk.js"></script>
<span class="aml-text-content aml-tooltiptext">Chat ngay</span>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
</div>
<?php
}
else { ?>
<div class="simple-contact-desktop" style="display: block;">
<div id="aml_dk_wrap" class="<?php echo $class_device; ?>" >
<div class="aml_dk-flex-container aml-flc-style-gradient-default aml_dk-style-default" style=" background-image: unset;">
<?php if (get_option('tdh_location') && get_option('location_desktop') =='location_desktop'){ ?>
<div class="aml_dk-flex-item aml-tooltip">
<a target="_blank" href="<?php echo get_option('tdh_location'); ?>"><div class="aml_dk-channel-google_map"></div></a>
<span class="aml-text-content aml-tooltiptext">Bản đồ</span>
</div>
<?php } ?>
<?php if (get_option('tdh_messenger') && get_option('messenger_desktop') =='messenger_desktop'){ ?>
<div class="aml_dk-flex-item aml-tooltip">
<a href="https://m.me/<?php echo get_option('tdh_messenger'); ?>" target="_blank"><div class="aml_dk-channel-facebook"></div></a>
<span class="aml-text-content aml-tooltiptext">Facebook Messenger</span>
</div>
<?php } ?>
<?php if (get_option('tdh_zalo') && get_option('zalo_desktop') =='zalo_desktop'){ ?>
<div class="aml_dk-flex-item aml-tooltip">
<a href="https://zalo.me/<?php echo get_option('tdh_zalo'); ?>" target="_blank" ><div class="aml_dk-channel-zalo"></div></a>
<span class="aml-text-content aml-tooltiptext">Chat với chúng tôi qua Zalo</span>
</div>
<?php } ?>
<?php if ( get_option('tdh_mobile') && get_option('mobile_desktop') =='mobile_desktop'){ ?>
<div class="aml_dk-flex-item aml-tooltip">
<a href="tel:<?php echo get_option('tdh_mobile'); ?>" target="_blank"><div class="aml_dk-channel-click_to_call"></div></a>
<span class="aml-text-content aml-tooltiptext">Gọi ngay</span>
</div>
<?php } ?>
<?php if ( get_option('tdh_zalo_oa') && get_option('zalo_oa_desktop') =='zalo_oa_desktop'){ ?>
<div class="aml_dk-flex-item aml-tooltip">
<div class="zalo-chat-widget" style="width: 50px; height: 50px;" data-oaid=" <?php echo get_option('tdh_zalo_oa'); ?>" data-welcome-message="Rất vui khi được hỗ trợ bạn!" data-autopopup="0" data-width="350" data-height="420"></div>
<script src="https://sp.zalo.me/plugins/sdk.js"></script>
<span class="aml-text-content aml-tooltiptext">Chat ngay</span>
</div>
<?php } ?>
</div>
</div>
</div>
<?php
}
?>