<?
/**
 * @Project GoldMU.Net
 * @copyright 03/03/2022
 * @Email: goldmu.net@gmail.com
 * @Zalo: 0923 117 898
*/
 
if (!defined('GoldWebMU')) die("Ban khong co quyen truy cap he thong");
if (!isset($Use_Tintuc) && $Use_Tintuc != 1) {
	echo "<center>Chức năng không có hoặc không được sử dụng</center>";
}
else {
	$template = "GoldNews";                    
	$number = 30;	
?>
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                    <tr>
                      <td align="center" class="menu-main-tabs-news">
                      <a href="javascript:;" class="main-tab active"><b class="RedText16">Tất Cả</b></a> | 
                      <a href="javascript:;" class="main-tab tb">Thông Báo</a> | 
                      <a href="javascript:;" class="main-tab sk">Sự Kiện</a> | 
                      <a href="javascript:;" class="main-tab hd">Hướng Dẫn</a> | 
                      <a href="javascript:;" class="main-tab tk">Tổng Kết</a>
                    </tr>
                </tbody>

            </table>
				<div class="in-0" >
					<ul class="content-main-tabs">
						<li class="content-m-tab active">
                        <?php
                        // Decoding requested categories
                        list ($requested_cats, $is_in_category) = cn_get_requested_cats(3);      
                        if ($is_in_category )  
                        {

                            $allow_active_news = true;
                            // Main operations
                            include SERVDIR . '/core/includes/dispatcher.php';
                            
                        } 
						unset ($requested_cats, $is_in_category, $allow_active_news);
						?>
						
						</li>
						<li class="content-m-tab tb">
                            <?php
                            // Decoding requested categories
                            list ($requested_cats, $is_in_category) = cn_get_requested_cats(1);      
                            if ($is_in_category )  
                            {
                                $allow_active_news = true;
                                // Main operations
                                include SERVDIR . '/core/includes/dispatcher.php';
                            
                            } 
							unset ($requested_cats, $is_in_category, $allow_active_news);
                            ?>

						</li>
						<li class="content-m-tab sk">
                            <?php
                            // Decoding requested categories
                            list ($requested_cats, $is_in_category) = cn_get_requested_cats(2);      
                            if ($is_in_category )  
                            {
                                $allow_active_news = true;
                                // Main operations
                                include SERVDIR . '/core/includes/dispatcher.php';
                            
                            }
							unset ($requested_cats, $is_in_category, $allow_active_news);							
                            ?>
						</li>
						<li class="content-m-tab hd">
                            <?php
                            // Decoding requested categories
                            list ($requested_cats, $is_in_category) = cn_get_requested_cats(5);      
                            if ($is_in_category )  
                            {
                                $allow_active_news = true;
                                // Main operations
                                include SERVDIR . '/core/includes/dispatcher.php';
                             
                            } 
							unset ($requested_cats, $is_in_category, $allow_active_news);
                            ?>
						</li>
						<li class="content-m-tab tk">
                            <?php
                            // Decoding requested categories
                            list ($requested_cats, $is_in_category) = cn_get_requested_cats(4);      
                            if ($is_in_category )  
                            {
                                $allow_active_news = true;
                                // Main operations
                                include SERVDIR . '/core/includes/dispatcher.php';
                               
                            } 
							unset ($requested_cats, $is_in_category, $allow_active_news);
                            ?>
						</li>
					</ul>
				</div>          
<?php				
}

?>