| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/happy-world/wp-content/themes/happyworld/ |
Upload File : |
<?php
/**
* Display article TV show for the theme.
*
* @copyright ZiniMedia 2016
* @version Release: 0.1
* @package happyworld
* @author ZiniMedia-BM
*/
?>
<?php get_header(); ?>
<section class="main single-main-wrapper">
<?php
$post_id = get_the_id();
$post_type = $_GET['tap'];
$video_top = get_field('zini_youtube_link',$post_id);
if (empty($post_type)) {
if(!empty($video_top)) {
get_template_part("templates/entry/article-video");
} else {
get_template_part("templates/entry/article-banner");
}
get_template_part("templates/ads/ad-article-top");
get_template_part("templates/entry/detail-doctor");
}else{
get_template_part("templates/entry/article-HAPPYWORLD-watch");
}
?>
</section>
<?php get_template_part("templates/comments"); ?>
<section class="block block-videos block-article-category">
<div class="container">
<?php get_template_part("templates/entry/homebeta-behind-the-scenes"); ?>
</div>
</section>
<?php
if (empty($post_type)) {
get_template_part("templates/ads/ad-article-bottom");
}else{
get_template_part("templates/ads/ad-video-bottom");
}
?>
<?php get_footer(); ?>