<!doctype html>
<html <?php language_attributes(); ?>>
<head>
 <style type="text/css">
#content-ur { text-align:justify; direction:rtl; font-size: 13px; }
</style>
<title><?php wp_title(' - ', true, 'right'); bloginfo('name'); ?></title>
<?php global $smof_data; ?>
<meta charset="<?php bloginfo( 'charset' );?>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<?php if(!empty($smof_data['custom_favicon'])) { ?><link rel="icon" type="image/png" href="<?php echo $smof_data['custom_favicon']; ?>" /><?php } ?>
<?php echo stripslashes($smof_data['code_header']); ?>
<?php wp_head(); ?>	
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->

<!--Main Code -->

<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + 
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>

<!--Main Code -->

<!--160 X 600 -->
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/30496760/vietnamnewsgazette.com_160x600', [160, 600], 'div-gpt-ad-1414325696457-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<!--160 X 600 -->

<!--250 X 250 -->
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/30496760/vietnamnewsgazette.com_250x250', [250, 250], 'div-gpt-ad-1414327248517-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<!--250 X 250 -->

<!--728 X 90 -->
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/30496760/vietnamnewsgazette.com_728x90', [728, 90], 'div-gpt-ad-1414326301133-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>


<!--728 X 90 -->

</head>

<body <?php body_class(); ?>>
<div id="showcase-bar" class="header HeaderTop<?php if(!empty($options['center-logo']) && $options['center-logo'] == 1) { ?> headerCenter<?php } ?>" data-logo-height="<?php if(!empty($options['logo-height'])) echo $options['logo-height']; ?>" data-padding="<?php if(!empty($options['header-padding'])) echo $options['header-padding']; ?>">
    	<?php if($smof_data['default_categories_menu'] == 'classic_menu') { ?>
        	<section id="mainNavigation" class="navigation loadSmooth">
                <div class="container">
                    <div class="row">
                    <nav class="primary span12">
                        <?php if ( has_nav_menu( 'mainnav' ) ) { ?>
                           <?php  wp_nav_menu ( array( 'menu_id' => 'dropmenu','container'=> 'ul', 'theme_location' => 'mainnav', 'echo' => true,
                             'before' => '',
                             'after' => '',
                             'link_before' => '',
                             'link_after' => '',
                             'depth' => 0,
                            )); ?>
                           <?php } else { ?>
                            <?php } ?>
                    </nav>
                    </div><!--End Row-->
                </div><!--End Inner-->
        	</section><!--End Main Menu-->
        <?php } elseif($smof_data['default_categories_menu'] == 'classic_menu_colored') { ?>
        	<section id="mainNavigation" class="navigation loadSmooth coloredMenu">
                <div class="container">
                    <div class="row">
                    <nav class="primary span12">
                        <?php if ( has_nav_menu( 'mainnav' ) ) { ?>
                           <?php  wp_nav_menu ( array( 'menu_id' => 'dropmenu','container'=> 'ul', 'theme_location' => 'mainnav', 'echo' => true,
                             'before' => '',
                             'after' => '',
                             'link_before' => '',
                             'link_after' => '',
                             'depth' => 0,
                             )); ?>
                           <?php } else { ?>
                            <?php } ?>
                    </nav>
                    </div><!--End Row-->
                </div><!--End Inner-->
        	</section><!--End Main Menu-->
        <?php } elseif($smof_data['default_categories_menu'] == 'mega_menu') { ?>
        	<div class="megaMenu">
				<?php do_action('codetemp_CTF_kodda_menu_display'); ?>
            </div><!--End Main Menu-->
        <?php }?>
    </div><!--End Header-->
<div class="header-controls animated"><a href="#" class="trigger closed"><i class="icon-reorder"></i></a></div><!-- END .header-controls -->
		<?php if( is_front_page()) { ?>
		<?php if($smof_data['disable_top_bar'] != '0') { ?>
            
        <div class="notification ondemand hide">
                
           <div class="container">
           	<div class="row">
            	<div class="span12">
                	 <?php if(!empty($smof_data['note'])) { ?>
                     <p><?php echo $smof_data['note']; ?><a href="<?php echo $smof_data['note_url']; ?>" target="_blank"><?php echo $smof_data['note_text']; ?></a></p>
                     <?php } ?>
                     <a class="close" href="javascript:">
                     <img src="<?php echo get_template_directory_uri(); ?>/images/icon-close.png" />
                     </a>
                </div>
            </div>
           </div>
            
        </div>
        <?php } ?>
        <?php } ?>
    <div id="container" class="boxed">
    <?php require Lioit_TM . '/top.area.php';?>
    
    	<?php if($smof_data['top_navigation'] != '0') {   ?>
    	<div class="topBar loadSmooth">
                <div class="container">
                    <ul id="topLeft-menu" class="topLeft-menu-main">
                    <li class="topLeft-trigger">
                        <a class="topLeft-icon topLeft-icon-menu mainTopToggle"><i class="icon-reorder"></i> <?php _e('Main Menu','lioit');?></a>
                        <nav class="topLeft-menu-wrapper">
                            <div class="topLeft-scroller">
                                <ul class="topLeft-menu">
                                    <li class="topLeft-search-item">
                                    	<form method="get" action="<?php echo home_url();?>">
                                        <input placeholder="Search" name="s" type="search" class="topLeft-search">
                                        </form>
                                    </li>
                                    <?php  wp_nav_menu ( array( 'menu_id' => '','container'=> '', 'theme_location' => 'mainmenu' )); ?>
                                </ul>
                            </div><!-- /topLeft-scroller -->
                        </nav>
                    </li>
                </ul>
                <script>
                    new gnMenu( document.getElementById( 'topLeft-menu' ) );
                </script>
            	<div class="row">
                <div class="span7">
                    <nav>
                
                    <?php if ( has_nav_menu( 'mainmenu' ) ) { ?>
                    <?php  wp_nav_menu ( array( 'menu_id' => 'topNavigation','container'=> '', 'theme_location' => 'mainmenu' )); ?>
                    <?php } else { ?>
                    <?php } ?>
                    </nav>
                    </div>
                    <div class="topSocial span5">
                    	<div class="header_search">
                            <div class="search">
                              <form method="get" id="searchform" class="search-form" action="<?php echo home_url();?>">
                                <input type="text" class="search-field" name="s" id="s" value="<?php _e('Search here ...' , 'lioit' ) ?>" onFocus="if (this.value=='<?php _e('Search here ...' , 'lioit' ) ?>') this.value       = '';" onBlur="if (this.value=='') this.value='<?php _e('Search here ...' , 'lioit' ) ?>';" >
                                <button class="search-submit"><i class="icon-search"></i></button>
                              </form>
                            </div>
                        </div>   

                        <?php if(!empty($smof_data['social_header'])) { ?>

                        <?php require Lioit_TM . '/social.php';?>
                        <?php } ?>
                    </div><!--End topRss-->
                </div><!--End Row-->
            </div><!--End Top Bar Content-->
        </div><!--End TopBar-->
        <?php } ?>
        <header id="header" class="loadSmooth header">
        	<div class="container">
            	<div class="row">
                	<?php $headerstyle = $smof_data['header_style']; 
					if ($headerstyle == "header_style1") { ?>
                    <div id="logo" class="span2">
                        <?php if($smof_data['custom_logo'] !='') { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo $smof_data['custom_logo']; ?>" alt="<?php bloginfo( 'name' ) ?>" />
                        </a>
                        <?php } else { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo Lioit_IMG; ?>/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
                        </a>
                        <?php } ?>
                    </div><!--End Logo-->
                    <?php if(!empty($smof_data['show_top_banner'])) { ?>
                    <div id="banner" class="span8">
                        <?php if($smof_data['top_banner_img'] !='') { ?>
                        <a href="<?php echo $smof_data['top_banner_url']; ?>" target="_blank" title="<?php echo $smof_data['top_banner_alt']; ?>">
                        <img src="<?php echo $smof_data['top_banner_img']; ?>" alt="<?php echo $smof_data['top_banner_alt']; ?>" />
                        </a>
                        <?php } else { ?>
                        <?php echo $smof_data['top_banner_code']; ?>
                        <?php } ?>
                    </div><!--End Banner-->
                    <?php } ?>
                    <div class="span2">
                        <div class="header-weather">
                           <?php do_action('thb_weather'); ?>
                        </div><!--End weather-->
                    </div><!--End span2-->
                    <?php } elseif ($headerstyle == "header_style2") { ?>
                    <div id="logo" class="span14">
                        <?php if($smof_data['custom_logo'] !='') { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo $smof_data['custom_logo']; ?>" alt="<?php bloginfo( 'name' ) ?>" />
                        </a>
                        <?php } else { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo Lioit_IMG; ?>/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
                        </a>
                        <?php } ?>
                    </div><!--End Logo-->
                    <?php if(!empty($smof_data['show_top_banner'])) { ?>
                    <div id="banner" class="span8">
                        <?php if($smof_data['top_banner_img'] !='') { ?>
                        <a href="<?php echo $smof_data['top_banner_url']; ?>" target="_blank" title="<?php echo $smof_data['top_banner_alt']; ?>">
                        <img src="<?php echo $smof_data['top_banner_img']; ?>" alt="<?php echo $smof_data['top_banner_alt']; ?>" />
                        </a>
                        <?php } else { ?>
                        	<?php echo $smof_data['top_banner_code']; ?>
                        <?php } ?>
                    </div><!--End Banner-->
                    <?php } ?>
                    <?php } elseif ($headerstyle == "header_style3") { ?>
                    <div id="logo" class="span2">
                        <?php if($smof_data['custom_logo'] !='') { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo $smof_data['custom_logo']; ?>" alt="<?php bloginfo( 'name' ) ?>" />
                        </a>
                        <?php } else { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo Lioit_IMG; ?>/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
                        </a>
                        <?php } ?>
                    </div><!--End Logo-->
                    <div class="span2">
                        <div class="header-weather">
                           <?php do_action('thb_weather'); ?>
                        </div><!--End weather-->
                    </div><!--End span2-->
                    <?php if(!empty($smof_data['show_top_banner'])) { ?>
                    <div id="banner" class="span8">
                        <?php if($smof_data['top_banner_img'] !='') { ?>
                        <a href="<?php echo $smof_data['top_banner_url']; ?>" target="_blank" title="<?php echo $smof_data['top_banner_alt']; ?>">
                        <img src="<?php echo $smof_data['top_banner_img']; ?>" alt="<?php echo $smof_data['top_banner_alt']; ?>" />
                        </a>
                        <?php } else { ?>
                        	<?php echo $smof_data['top_banner_code']; ?>
                        <?php } ?>
                    </div><!--End Banner-->
                    <?php } ?>
                    <?php } else{ ?>
                    <div id="logo" class="span2">
                        <?php if($smof_data['custom_logo'] !='') { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo $smof_data['custom_logo']; ?>" alt="<?php bloginfo( 'name' ) ?>" />
                        </a>
                        <?php } else { ?>
                        <a href="<?php echo home_url(); ?>/" title="<?php bloginfo( 'name' ); ?>" rel="home">
                        <img src="<?php echo Lioit_IMG; ?>/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
                        </a>
                        <?php } ?>
                    </div><!--End Logo-->
                    <?php if(!empty($smof_data['show_top_banner'])) { ?>
                    <div id="banner" class="span8">
                        <?php if($smof_data['top_banner_img'] !='') { ?>
                        <a href="<?php echo $smof_data['top_banner_url']; ?>" target="_blank" title="<?php echo $smof_data['top_banner_alt']; ?>">
                        <img src="<?php echo $smof_data['top_banner_img']; ?>" alt="<?php echo $smof_data['top_banner_alt']; ?>" />
                        </a>
                        <?php } else { ?>
                        	<?php echo $smof_data['top_banner_code']; ?>
                        <?php } ?>
                    </div><!--End Banner-->
                    <?php } ?>
                    <div class="span2">
                        <div class="header-weather">
                           <?php do_action('thb_weather'); ?>
                        </div><!--End weather-->
                    </div><!--End span2-->
                    <?php } ?>
                    
            	</div><!--End Row-->
            </div><!--End Main Header-->
        </header><!--End Header-->
        
        
        <?php if($smof_data['default_categories_menu'] == 'classic_menu') { ?>
        	<section id="mainNavigation" class="navigation loadSmooth">
                <div class="container">
                    <div class="row">
                    <nav class="primary span12">
                        <?php if ( has_nav_menu( 'mainnav' ) ) { ?>
                           <?php  wp_nav_menu ( array( 'menu_id' => 'dropmenu','container'=> 'ul', 'theme_location' => 'mainnav', 'echo' => true,
                             'before' => '',
                             'after' => '',
                             'link_before' => '',
                             'link_after' => '',
                             'depth' => 0,
                             )); ?>
                           <?php } else { ?>
                            <?php } ?>
                    </nav>
                    </div><!--End Row-->
                </div><!--End Inner-->
        	</section><!--End Main Menu-->
        <?php } elseif($smof_data['default_categories_menu'] == 'classic_menu_colored') { ?>
        	<section id="mainNavigation" class="navigation loadSmooth coloredMenu">
                <div class="container">
                    <div class="row">
                    <nav class="primary span12">
                        <?php if ( has_nav_menu( 'mainnav' ) ) { ?>
                           <?php  wp_nav_menu ( array( 'menu_id' => 'dropmenu','container'=> 'ul', 'theme_location' => 'mainnav', 'echo' => true,
                             'before' => '',
                             'after' => '',
                             'link_before' => '',
                             'link_after' => '',
                             'depth' => 0,
                             )); ?>
                           <?php } else { ?>
                            <?php } ?>
                    </nav>
                    </div><!--End Row-->
                </div><!--End Inner-->
        	</section><!--End Main Menu-->
        <?php } elseif($smof_data['default_categories_menu'] == 'mega_menu') { ?>
        	<div class="megaMenu">
				<?php do_action('codetemp_CTF_kodda_menu_display'); ?>
            </div><!--End Main Menu-->
        <?php }?> 
        <div class="show-mobile-menu hidden-desktop clearfix">
        	<div class="container">
                        <div class="mobile-menu-text"><?php _e('Menu' , 'lioit' ) ?></div>
                        <div class="mobile-menu-icon">
                            <span></span><span></span><span></span><span></span>
                        </div>
                        </div>
                    </div>
        <nav id="mobile-menu">
                <div class="container">
                    <?php mobile_menu(); ?>
                </div>
        </nav>
        
         <?php if( is_front_page()) { ?>
        <?php if($smof_data['newsticker'] != '0') { 
        	 require Lioit_TM . '/ticker.php';
         } else { 
         } ?>
         <?php } ?>
        <?php if( is_front_page()) { ?>
         <?php } else { ?>
        <section class="mainPageTitle container">
            <div class="row pageTitleContent">
                <div id="breadcrumbs" class="span12 breadrcumbpadding">
                    <div id="crumbs"><?php lioit_breadcrumbs() ?></div>
                </div>
            </div><!--End row-->
         </section><!--End TagLine-->
         <?php } ?>
        <div id="content">
        
		<?php require Lioit_TM . '/top.search.php';?>
       
         
    