<?php global $smof_data; $footer_config = (isset($smof_data['footer_layout'])) ? $smof_data['footer_layout']: '';  ?>
         <?php if(!empty($smof_data['show_btm_banner'])) { ?>
            <div id="footerBanner">
                <?php if($smof_data['btm_banner_img'] !='') { ?>
                <a href="<?php echo $smof_data['btm_banner_url']; ?>" target="_blank" title="<?php echo $smof_data['btm_banner_alt']; ?>">
                <img src="<?php echo $smof_data['btm_banner_img']; ?>" alt="<?php echo $smof_data['btm_banner_alt']; ?>" />
                </a>
                <?php } else { ?>
                	<?php echo $smof_data['btm_banner_code']; ?>
                <?php } ?>
            </div><!--End Banner-->
            <?php } ?>
        <footer id="footer">
        	<!--End FooterWidgets-->

            <nav id="nav-footer" class="menu-header-menu-container"><?php if ( has_nav_menu( 'footermenu' ) ) { ?>
                    <?php  wp_nav_menu ( array( 'menu_id' => 'nav-alt', 'menu_class' => 'pad fix','container'=> '', 'theme_location' => 'footermenu' )); ?>
                    <?php } else { ?>
                      <ul id="nav-alt" class="pad">
                         <li class="active <?php if (is_home()) {echo "current_page_item";} ?>"><a href="<?php echo home_url(); ?>" class="home"><?php _e('Home' , 'lioit' ) ?></a></li>
                         <?php wp_list_pages(array(
                        'title_li' => false
                      )); ?>
                      </ul>

                    <?php } ?></nav>

            <footer id="copyrights">
            	<div id="footerCopyrights" class="container">
                	<div class="row">
                	<div class="siteCopyrights span6">
                    	
                            <p>Vietnam News Gazette © Copyright 2014.</p>
                        
                    </div><!--End SiteCopyrights-->
                    <div class="span6">
					<?php if(!empty($smof_data['social_footer'])) { ?>
                    <?php require Lioit_TM . '/social.php';?>
                    <?php } ?>
                    </div><!--End Span6-->
                    </div><!--End Row-->
                </div><!--End Copyrights-->
            </footer><!--End Copyrights-->
        </footer><!--End Footer-->
    </div><!--End Container-->
	<a href="#" class="scrollTo_top"><i class="icon-angle-up"></i></a>
<?php echo stripslashes($smof_data['code_footer']); ?>
<?php wp_footer();?>

<script type="text/javascript">
var infolinks_pid = 2310520;
var infolinks_wsid = 78;
</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
</body>
</html>