<?php if (!is_birthday() && $show_ad) { ?> <div id="link_ads"> <ins class="adsbygoogle" data-ad-client="ca-pub-3585118770961536" data-ad-slot="3612316086"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <?php }
<div id="img_desc"> <?php if (has_dob() && is_birthday()) { ?> <img src="<?php echo $cdn_url; ?> /img/img_desc_birthday.png" alt="<?php echo birthday_wish(); ?> " /> <?php } else { ?> <img src="<?php echo $cdn_url; ?> /img/img_desc_logo.png" alt="<?php echo head_description(); ?> " /> <?php } ?> </div>
<div id="loading" class="ajax_<?php echo has_dob() && is_birthday() ? 'birthday' : 'loader'; ?> "></div>
<div id="bottom"> <?php if (!isset($_GET['p']) && $embed == 0 || in_array($p, $navs)) { if ($p != 'home' && $p != 'member/home') { include template('install_app'); include template('comments'); } if (!is_birthday()) { if ($show_donate) { include template('donate_bottom'); } if ($show_sponsor) { include template('sponsor_bottom'); } } } ?> </div>
<meta name="revisit-after" content="1 days"> <meta property="og:type" content="website"> <meta property="og:url" content="<?php echo str_replace('&', '&', current_url()); ?> "> <meta property="og:title" content="<?php echo $head_title; ?> "> <meta property="og:description" content="<?php echo $head_description; ?> "> <meta property="og:image" content="<?php echo 'http://nhipsinhhoc.vn/img/img_desc_' . (has_dob() && is_birthday() ? 'birthday' : 'logo') . '.png'; ?> "> <meta name="p:domain_verify" content="b30465bfdebc3906bbca8efaeda20ddf"/> <meta name="renderer" content="webkit"> <link rel="icon" href="<?php echo $cdn_url; ?> /favicon.ico" /> <link rel="apple-touch-icon" href="<?php echo $cdn_url; ?> /app-icons/apple-touch-icon-iphone.png"> <link rel="apple-touch-icon" sizes="76x76" href="<?php echo $cdn_url; ?>
function can_wish() { if (has_dob() && is_birthday()) { return true; } else { return false; } }