223 lines
8.8 KiB
PHP
223 lines
8.8 KiB
PHP
<?php if(session_id() == '')
|
|
session_start();
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<!-- Marketing ads -->
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5153168242021909"
|
|
crossorigin="anonymous"></script>
|
|
<!-- End marketing ads
|
|
-->
|
|
<script src="https://cdn.bootcss.com/jquery/1.8.1/jquery.min.js"></script>
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G5093NT4BC"></script>
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5153168242021909" crossorigin="anonymous"></script>
|
|
|
|
<script>
|
|
$(document).ready(function(){
|
|
const path = window.location.pathname;
|
|
if(path == '/category/bao-chi/'){
|
|
$('.banner').hide();
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-G5093NT4BC');
|
|
</script>
|
|
|
|
|
|
<head>
|
|
<!-- Google tag (gtag.js) -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6K3VZECFFE"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-6K3VZECFFE');
|
|
</script>
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5D10YKTDQM"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-5D10YKTDQM');
|
|
</script>
|
|
<link rel="icon" href="https://sisvietnam.vn/wp-content/uploads/2018/08/cropped-favicon-1.png">
|
|
<meta name="google-site-verification" content="-lqbsS_1zFXN2gU-mu1igsrbz-8BKKzL5VebfwOWAsc" />
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
|
<link rel="profile" href="http://gmgp.org/xfn/11" />
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Oswald:300,400,500,600" rel="stylesheet" />
|
|
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="expires" content="0">
|
|
<meta http-equiv="pragma" content="no-cache">
|
|
<meta http-equiv="Cache-control" content="no-cache,must-revalidate, post-check=0, pre-check=0">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
<?php wp_head(); ?>
|
|
<!-- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDtMQgi2PF19qJEOAGRMRCLbZR0V6IrnZg&callback=initMap"></script> -->
|
|
<script src="https://www.google.com/recaptcha/api.js?hl=vi"></script>
|
|
<style>
|
|
#rc-imageselect {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}
|
|
.rc-anchor-normal,#rc-anchor-container{
|
|
width:100% !important;;
|
|
}
|
|
.rc-anchor-light.rc-anchor-normal {
|
|
border: none !important;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body> <!--Thêm class tượng trưng cho mỗi trang lên <body> để tùy biến-->
|
|
<div id="toppage" class="page-wrap">
|
|
<div class="header-info">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-10 col-sm-9 col-xs-5 col">
|
|
<!-- <div class="marquee" data-duration="5000" data-gap="50" data-duplicated="true" data-pauseOnHover="true" >
|
|
Hãy quan tâm đến đột quỵ bởi vì đột quỵ có thể xảy ra tại mọi thời điểm trong cuộc đời và đột quỵ không loại trừ bất cứ ai
|
|
</div> -->
|
|
</div>
|
|
<div class="col-lg-2 col-sm-3 col-xs-7 col last">
|
|
<!-- <?php if(!isset($_SESSION['user_id'])): ?>
|
|
<a href="<?php echo esc_url( get_page_link( 385 ) ); ?>" class="link"><?php _e('Login','thanhgiang'); ?></a>
|
|
<?php else: ?>
|
|
<a href="<?php echo esc_url( get_page_link( 385 ) ); ?>" class="link">Đăng Xuất</a>
|
|
<?php endif; ?> -->
|
|
<div class="dropdown" style="display:none;">
|
|
<a href="#" data-toggle="dropdown"><?php _e('Language','thanhgiang'); ?><span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<?php
|
|
pll_the_languages( array(
|
|
'show_flags' => 0,
|
|
'dropdown' => 0
|
|
)); ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<header class="header-container">
|
|
<div class="container info">
|
|
<a href="#menu" class="control-page btn-menu">
|
|
<span class="burger-icon-1"></span>
|
|
<span class="burger-icon-2"></span>
|
|
<span class="burger-icon-3"></span>
|
|
</a>
|
|
<div class="tb-col">
|
|
<div class="col">
|
|
<?php
|
|
global $tg_options;
|
|
thanhgiang_logo(); ?>
|
|
</div>
|
|
<div class="col slogan" style="width: 85%;">
|
|
<?php
|
|
|
|
$current_language = pll_current_language();
|
|
// Kiểm tra ngôn ngữ và thêm đoạn text tương ứng
|
|
if ($current_language === 'en') {
|
|
$slogan = get_template_directory_uri() . "/img/en_slogan.png";
|
|
}elseif ($current_language === 'vi') {
|
|
$slogan = get_template_directory_uri() . "/img/slogan.png";
|
|
}
|
|
|
|
if (!empty($tg_options['slogan']['url'])):
|
|
$slogan = $tg_options['email-ico']['url'];
|
|
endif;
|
|
?>
|
|
<img src="<?php echo $slogan; ?>" alt="bệnh viện tim mạch đột quỵ cần thơ" />
|
|
<p class="slogan-text">“
|
|
<?php // Lấy ngôn ngữ hiện tại
|
|
$current_language = pll_current_language();
|
|
// Kiểm tra ngôn ngữ và thêm đoạn text tương ứng
|
|
if ($current_language === 'en') {
|
|
echo "Stroke can happen at any time in life and without exception to anybody";
|
|
}elseif ($current_language === 'vi') {
|
|
echo "Hãy quan tâm đến đột quỵ bởi vì đột quỵ có thể xảy ra tại mọi thời điểm trong cuộc đời và đột quỵ không loại trừ bất cứ ai";
|
|
}
|
|
?>
|
|
”</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div class="menu-wrap" id="menu">
|
|
<div class="container">
|
|
<!-- <div class="quick-search">
|
|
<form method="get" action="<?php echo home_url(); ?>">
|
|
<div class="input-group">
|
|
<input type="text" id="s" name="s" value="" class="form-control" placeholder="<?php _e('Search...','thanhgiang') ?>" />
|
|
<span class="input-group-btn">
|
|
<button type="submit" value="" class="btn-go">Go</button>
|
|
</span>
|
|
</div>
|
|
</form>
|
|
</div> -->
|
|
<?php thanhgiang_menu('primary-menu'); ?>
|
|
</div>
|
|
</header>
|
|
<div class="banner">
|
|
<?php
|
|
echo do_shortcode('[smartslider3 slider="2"]');
|
|
?>
|
|
</div>
|
|
|
|
<div class="col-under-slide">
|
|
<?php
|
|
$sis_ico = get_template_directory_uri() . "/img/ico-sis.png";
|
|
if (!empty($tg_options['sis-ico']['url'])):
|
|
$sis_ico = $tg_options['sis-ico']['url'];
|
|
endif;
|
|
?>
|
|
<?php
|
|
$hotline_ico = get_template_directory_uri() . "/img/android-call.png";
|
|
if (!empty($tg_options['hotline-ico']['url'])):
|
|
$hotline_ico = $tg_options['hotline-ico']['url'];
|
|
endif;
|
|
?>
|
|
<a href="#" class="btn-book"><img src="<?php echo $sis_ico; ?>" alt=""> <?php _e('Make appointment','thanhgiang') ?></a>
|
|
<a href="tel:<?php echo $tg_options['hotline'] ?>" class="btn-hotline"><img src="<?php echo $hotline_ico; ?>" alt=""> HOTLINE: <?php if (isset($tg_options['hotline'])):
|
|
echo $tg_options['hotline'];
|
|
endif; ?></a>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
// Create a new div element with the class quick-search
|
|
var quickSearchDiv = $('<li class="menu-item menu-item-type-taxonomy menu-item-object-category"><div class="quick-search"> \
|
|
<form method="get" action="<?php echo home_url(); ?>">\
|
|
<div class="input-group"> \
|
|
<input type="text" id="s" name="s" value="" class="form-control" placeholder="<?php _e('Search...','thanhgiang') ?>" /> \
|
|
<span class="input-group-btn"> \
|
|
<button type="submit" value="" class="btn-go">Go</button> \
|
|
</span> \
|
|
</div> \
|
|
</form> \
|
|
</div></li>');
|
|
|
|
// Insert the new div just before the last top-level li element
|
|
$('.menu > li:not(.sub-menu):last').before(quickSearchDiv);
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
div.menu-item .sub-menu {
|
|
list-style-type: none; /* Remove bullet points */
|
|
padding: 0; /* Remove default padding */
|
|
margin: 0; /* Remove default margin */
|
|
margin-left: 20px;
|
|
}
|
|
</style>
|