<?php global $qaleb;?>
<?php if($qaleb['footer-top']=='1'){?>
<div id="footer-top">
<div class="container">
<div class="footer-top-1"><?php get_template_part('sidbar/footer-1'); ?></div>
<div class="footer-top-2"><?php get_template_part('sidbar/footer-2'); ?></div>
<div class="footer-top-3"><?php get_template_part('sidbar/footer-3'); ?></div>
</div>
</div>
<?php } ?>

<?php if($qaleb['footer-nav']=='1'){?>
<div class="foot-bottom"><div class="container"><ul class="footer-menu"><?php wp_nav_menu( array( 'theme_location' => 'footer-nav' )); ?></ul></div></div>
<?php } ?>
<footer id="footer">
   <div class="container" id="footer-container">
		  <a id="footer-logo" href="<?php bloginfo('url'); ?>">
          <img src="<?php echo $qaleb['footer-cp-logo']['url']; ?>"/> 
          </a>
            <div id="copyright">
			   <p><?php echo $qaleb['footer-cp-text']; ?></p>
		        <p><?php echo $qaleb['footer-cb-text']; ?></p>
				<p>طراحی سایت : <a target="_blank" href="https://www.rtl-theme.com/author/wpthemi/">Rtl-Theme</a></p>
            </div>
            <div class="pull-left hidden-sm hidden-xs clearfix" id="social-icons">
                <ul class="clearfix"><br>
                     <?php if($qaleb['footer-socials']=='1'){?><ul class="header-social"><?php get_template_part('inc/social'); ?></ul><br> <?php } ?>
                </ul>
            </div><!--/#social-icons-->
    </div><!--.container-->
</footer>
<?php if($qaleb['topcontrol']=='1'){?><div id="topcontrol" class="fa fa-angle-up" title="رفتن به بالا" style="bottom: 10px;"></div><?php } ?>
<?php get_template_part('js/city'); ?>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/scripts.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/mega.js'></script>
<?php wp_footer(); ?>
</body>
</html>