<?php global $qaleb;?>
<footer class="ap_footer">
<div class="container">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('tage') ) : ?><?php endif; ?>
<div class="ft_top">
<div class="ft_menu"><?php wp_nav_menu( array( 'theme_location' => 'footer' )); ?></div>
<div class="ft_info">
<?php if($qaleb['logo-fot'] == '1'){?><div class="ftlogo"><a href="<?php echo home_url(); ?>"><img src="<?php echo $qaleb['siteicon_uploaderf']['url']; ?>" alt="Home"></a></div><?php } ?>
<div class="ftsocial">
<ul>
<?php if($qaleb['social-rss-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="فید مطالب" href="<?php bloginfo('rss_url'); ?>"><li><i class="fa fa-rss"></i></li></a><?php } ?>
<?php if($qaleb['social-fb-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="فیسبوک" href="<?php echo $qaleb['social-fb'];?>"><li><i class="fa fa-facebook"></i></li></a><?php } ?>
<?php if($qaleb['social-tw-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="تویتر"  href="<?php echo $qaleb['social-tw'];?>"><li><i class="fa fa-twitter"></i></li></a><?php } ?>
<?php if($qaleb['social-in-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="اینستاگرام" href="<?php echo $qaleb['social-in'];?>"><li><i class="fa fa-instagram"></i></li></a><?php } ?>
<?php if($qaleb['social-tg-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="تلگرام" href="<?php echo $qaleb['social-tg'];?>"><li><i class="fa fa-paper-plane"></i></li></a><?php } ?>
<?php if($qaleb['social-yo-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="یوتیوب" href="<?php echo $qaleb['social-yo'];?>"><li><i class="fa fa-youtube"></i></li></a><?php } ?>
<?php if($qaleb['social-gp-ac']=='1'){?><a class="ap-icon tooltip tooltip-top" data-iro="گوگل پلاس" href="<?php echo $qaleb['social-gp'];?>"><li><i class="fa fa-google-plus"></i></li></a><?php } ?>		
</ul> </div>
</div>
</div>
<div class="ft_bottom">
<div class="copyright"><?php echo $qaleb['site'];?></div>
<div class="copyleft"><a href="<?php echo $qaleb['l-site'];?>" class="ap" target="_blank"><?php echo $qaleb['n-site'];?></a></div>
</div>
</div>
</footer>

<?php if($qaleb['ap-top']=='1'){?><a href="#top"><div class="go-top"><i class="fa fa-angle-up" aria-hidden="true"></i><span>برو بالا</span></div></a><?php } ?>
<?php qaleb_folder_template("js","main-tabe"); ?>
<?php qaleb_folder_template("js","main-city"); ?>
<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; } ?>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/jquery.js' id='jquery-core-js'></script>
<?php wp_footer(); ?>
</body>
</html>