<?php global $qaleb;?>
<?php get_template_part('inc/item/peyvand'); ?>
<?php get_template_part('inc/item/modal'); ?>
<div id="footer">
<div class="container">
<div class="fcopy">
<?php if($qaleb['logo-fot'] == '1'){?>
<a id="footer-logo" href="<?php bloginfo('url'); ?>">
<img src="<?php echo $qaleb['logo-footer']['url']; ?>"/> 
</a>
<?php } ?>		  
<div id="copyright">
<p><?php echo $qaleb['site'];?></p>
<b><a href="<?php echo $qaleb['l-site'];?>"><?php echo $qaleb['n-site'];?></a></b>
</div>
</div>
<div class="fmenu"><?php wp_nav_menu( array( 'theme_location' => 'nav-footer' )); ?></div>
</div></div>
<?php if($qaleb['ap-top']=='1'){?><div id="topcontrol" class="fa fa-angle-up" title="رفتن به بالا" style="bottom: 10px;"></div><?php } ?>
        <script>
            $(document).ready(function() {
              var owl = $('.owl-carousel');
              owl.owlCarousel({
                rtl: true,
                margin:0,
                nav: true,
                loop: true,
				autoplay:true,
                autoplayTimeout:5000, 
                responsive: {
                  0: {
                    items: 1
                  },
                }
              })
            })
          </script>	
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/bootstrap.js'></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.main.js"></script>
<?php qaleb_folder_template("js","main-tabe"); ?>
<script><?php $javascript = $qaleb['opt-ace-editor-js']; if($javascript){ echo $javascript; } ?></script>
<style><?php $css = $qaleb['opt-ace-editor-css']; if($css){ echo $css; } ?></style>
<?php $php = $qaleb['opt-ace-editor-php']; if($php){ echo $php; } ?>
<?php if($qaleb['sidcontrol']=='1'){?><script>$(document).ready(function() { $('#entry-content,#entry-saidbar').theiaStickySidebar({ additionalMarginTop: 30 }); });</script><?php } ?>
<?php wp_footer(); ?>
</body>
</html>