nháp footer

admin

<?php
date_default_timezone_set(“Asia/Ho_Chi_Minh”);
echo date_default_timezone_get();
$t = date(“H”);
echo “<p>Bây giờ là ” . $t;
echo “h</p>”;

if ($t > “10″) { ?>

</div>
<!–/#blocks-wrapper–>
</div>
<!–/#Wrapper –>
<?php global $data; if($data['shw_footer_widg'] == ‘yes’){ ?>
<!–#footer-blocks–>
<div id=”footer-blocks” class=”container clearfix”>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,'//www.google-analytics.com/analytics.js’,'ga’);

ga(‘create’, ‘UA-44682979-1′, ‘banthinghiem.com.vn’);
ga(‘send’, ‘pageview’);

</script>
<!– Start of widget script –><script type=”text/javascript”>function loadJsAsync(t,e){var n=document.createElement(“script”);n.type=”text/javascript”,n.src=t,n.addEventListener(“load”,function(t){e(null,t)},!1);var a=document.getElementsByTagName(“head”)[0];a.appendChild(n)}window.addEventListener(“DOMContentLoaded”,function(){loadJsAsync(“https://webchat.caresoft.vn:8090/js/CsChat.js?v=2.0″,function(){var t={domain:”THIETKEVANPHONG.VN_banthinghiem.com.vn”};embedCsChat(t)})},!1);</script><!– End of widget script –>
<div class=”adfa”>Từ khóa: <a href=”http://banthinghiem.vn/” title=”bàn thí nghiệm”>bàn thí nghiệm</a> </div>
<div class=”fb-container clearfix”>

 

</div>

</div>

 

<!–/#footer-blocks–>
<?php } ?>

 
<style>
.success.is-underline:hover, .success.is-outline:hover, .success {
background-color: #1E73BE;
padding: 10px;
color: white !important;
}
#text-8 {display: none;}
</style>

 

<style>
.mobile-hotline{display:none}
.hotline {position: fixed;
left: 10px;
bottom: 10px;
z-index: 9000;
//visibility: hidden;
display: block;
//background: #fac100;
color: red;
padding-top: 5px;padding-bottom:5px; padding-left:12px; padding-right: 12px;
border-radius: 99px;}
.hotline .hotline-number{font-size:14px; color: #b20000; font-weight: bold}
.hotline .before-hotline{font-size:14px; color: #b20000; font-weight: bold}

@media (max-width: 767px) {

.hotline{

display :none;}}
</style>
<!– #footer–>
<div id=”footer” class=”container clearfix”>
<?php do_action( ‘tpcrn_cre_def_call’); ?>
</div><!–/#Footer –>

<?php if($data['google_analytics']) {
/*– Google Analytics –*/
echo $data['google_analytics'];
}
?>
<?php wp_footer(); ?>

</body>
</html>
<?php } else { ?>

</div>
<!–/#blocks-wrapper–>
</div>
<!–/#Wrapper –>
<?php global $data; if($data['shw_footer_widg'] == ‘yes’){ ?>
<!–#footer-blocks–>
<div id=”footer-blocks” class=”container clearfix”>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,'//www.google-analytics.com/analytics.js’,'ga’);

ga(‘create’, ‘UA-44682979-1′, ‘banthinghiem.com.vn’);
ga(‘send’, ‘pageview’);

</script>
<!– Start of widget script –><script type=”text/javascript”>function loadJsAsync(t,e){var n=document.createElement(“script”);n.type=”text/javascript”,n.src=t,n.addEventListener(“load”,function(t){e(null,t)},!1);var a=document.getElementsByTagName(“head”)[0];a.appendChild(n)}window.addEventListener(“DOMContentLoaded”,function(){loadJsAsync(“https://webchat.caresoft.vn:8090/js/CsChat.js?v=2.0″,function(){var t={domain:”THIETKEVANPHONG.VN_banthinghiem.com.vn”};embedCsChat(t)})},!1);</script><!– End of widget script –>
<div class=”adfa”>Từ khóa: <a href=”http://banthinghiem.vn/” title=”bàn thí nghiệm”>bàn thí nghiệm</a> </div>
<div class=”fb-container clearfix”>

<div class=”footer-block1″>

<?php

if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer Block 1′)):

endif;

?>
</div>
<div class=”footer-block2″>
<?php

if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer Block 2′)):

endif;

?>
</div>
<div class=”footer-block3″>

<?php

if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer Block 3′)):

endif;

?>

</div>
<div class=”footer-block4″>

<?php

if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer Block 4′)):

endif;

?>

</div>
</div>

</div>

 

<!–/#footer-blocks–>
<?php } ?>

<!–<div class=”call-mobile1″>
<a data-animate=”fadeInDown” rel=”noopener noreferrer” href=”https://www.facebook.com/banthi.nghiem.trung.tam” target=”_blank” class=”button success” style=”border-radius:99px;” data-animated=”true”>
<span>Chat Facebook</span></a>
</div>–>
<div class=”call-mobile2″>
<a data-animate=”fadeInDown” rel=”noopener noreferrer” href=”http://zalo.me/0982588814″ target=”_blank” class=”button success” style=”border-radius:99px;” data-animated=”true”>
<span>Chat Zalo </span></a>
</div>
<div class=”call-mobile”>
<a id=”callnowbutton” href=”tel:0982588814″>0982588814</a><i class=”fa fa-phone”></i>
</div>

<style>
.success.is-underline:hover, .success.is-outline:hover, .success {
background-color: #1E73BE;
padding: 10px;
color: white !important;
}
.call-mobile {background: #ED1C24;position: fixed;bottom: 10px;height: 40px;line-height: 40px;
padding: 0 0px 0 0px;border-radius: 40px;color: #fff;left: 20px;z-index: 99999;
}
.call-mobile1 {position: fixed;bottom: 52px;height: 40px;line-height: 40px;
padding: 0 0px 0 0px;border-radius: 40px;color: #fff;left: 20px;z-index: 99999;
}
.call-mobile2 {position: fixed;bottom: 93px;height: 40px;line-height: 40px;
padding: 0 0px 0 0px;border-radius: 40px;color: #fff;left: 20px;z-index: 99999;
}
.call-mobile i {font-size: 20px;line-height: 40px;background: #B52026;
border-radius: 100%;width: 40px;height: 40px;
text-align: center; float: right;
}
.call-mobile a {color: #fff;font-size: 18px;font-weight: bold; text-decoration: none;
margin-right: 10px; padding-left: 10px;}
</style>
<a href=”tel:+0974508889″><div class=”hotline”>
<!–<span class=”before-hotline”>Hotline:</span>
<span class=”hotline-number”>0974508889</span></br>–>
</div></a>
<style>
.mobile-hotline{display:none}
.hotline {position: fixed;
left: 10px;
bottom: 10px;
z-index: 9000;
//visibility: hidden;
display: block;
//background: #fac100;
color: red;
padding-top: 5px;padding-bottom:5px; padding-left:12px; padding-right: 12px;
border-radius: 99px;}
.hotline .hotline-number{font-size:14px; color: #b20000; font-weight: bold}
.hotline .before-hotline{font-size:14px; color: #b20000; font-weight: bold}

@media (max-width: 767px) {

.hotline{

display :none;}}
</style>
<!– #footer–>
<div id=”footer” class=”container clearfix”>
<?php do_action( ‘tpcrn_cre_def_call’); ?>
</div><!–/#Footer –>

<?php if($data['google_analytics']) {
/*– Google Analytics –*/
echo $data['google_analytics'];
}
?>
<?php wp_footer(); ?>

</body>
</html>

<?php }
?>

 

 

===================

<!DOCTYPE html>
<html>
<body>

<?php
date_default_timezone_set(“Asia/Ho_Chi_Minh”);
echo date_default_timezone_get();
$t = date(“H”);
echo “<p>Giờ Việt Nam là ” . $t;
echo “, and will give the following message:</p>”;

if ($t < “10″) {
echo “Have a good morning!”;
} elseif ($t < “20″) {
echo “Have a good day!”;
} else {
echo “Have a good night!”;
}
?>

</body>
</html>