<?php global $qaleb;?>
<div class="clearfix"></div>
<?php if($qaleb['footer-top']=='1'){?>
<div class="foot-top"><div class="container"><ul class="footer-menu"><?php wp_nav_menu( array( 'theme_location' => 'footer-top' )); ?></ul></div></div>
<?php } ?>
<?php if($qaleb['footer-bottom']=='1'){?>
<div class="foot-bottom"><div class="container"><ul class="footer-menu"><?php wp_nav_menu( array( 'theme_location' => 'footer-bottom' )); ?></ul></div></div>
<?php } ?>
<div class="fot"><div class="container"><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('tags') ) : ?><?php endif; ?></div> </div>
<?php if($qaleb['footer']=='1'){?>
<footer class="ap-footer clearfix">
<div class="container">
<div class="footer-top">
<div class="footer-right">
<div class="wid widget_text clearfix" id="text-2"><div class="textwidget">
<p><?php echo $qaleb['site'];?></p>
<p><a target="_blank" href="<?php echo $qaleb['l-site'];?>" title="<?php echo bloginfo("name");?>"><?php echo $qaleb['n-site'];?></a></p>
</div>
</div></div>
<div class="footer-left">
<div class="social">
<ul>
<?php if($qaleb['social-fb-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="فیسبوک" href="<?php echo $qaleb['social-fb'];?>"><i class="fa fa-facebook"></i></a></li><?php } ?>
<?php if($qaleb['social-tw-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="تویتر"  href="<?php echo $qaleb['social-tw'];?>"><i class="fa fa-twitter"></i></a></li><?php } ?>
<?php if($qaleb['social-in-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="اینستاگرام" href="<?php echo $qaleb['social-in'];?>"><i class="fa fa-instagram"></i></a></li><?php } ?>
<?php if($qaleb['social-tg-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="تلگرام" href="<?php echo $qaleb['social-tg'];?>"><i class="fa fa-paper-plane"></i></a></li><?php } ?>
<?php if($qaleb['social-gp-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="گوگل پلاس" href="<?php echo $qaleb['social-gp'];?>"><i class="fa fa-google-plus"></i></a></li><?php } ?>		
<?php if($qaleb['social-yo-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="یوتیوب" href="<?php echo $qaleb['social-yo'];?>"><i class="fa fa-youtube"></i></a></li><?php } ?>
<?php if($qaleb['social-rss-ac']=='1'){?><li><a class="tooltip tooltip-top" data-iro="فید مطالب" href="<?php bloginfo('rss_url'); ?>"><i class="fa fa-rss"></i></a></li><?php } ?>
</ul>
</div></div></div></div>
</footer>
<?php } ?>
</div>
<?php if($qaleb['searchform-ac']=='1'){?>
<div id="search-overlay" class="block">
<div class="centered">
<div id='search-box'>
<i id="close-btn" class="fa fa-times"></i>
<form method="get" action="<?php echo home_url(); ?>" id="search-form">
<input id='search-text' name='s' placeholder='<?php global $qaleb; echo $qaleb['search-text'];?>' type='text' />
<button id='search-button' type='submit'>
<span>جستجو</span>
</button>
</form>
</div>
</div>
</div>
<?php } ?>
<?php qaleb_folder_template("js","iran-city"); ?>
<a href="#" class="go-top"><i class="fa fa-arrow-up"></i></a>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/jquery.min.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/slick.min.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/marquee.min.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/main.js'></script>
<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() { $('.ap_news,.co-aside,.co-ads').theiaStickySidebar({ additionalMarginTop: 30 }); });</script><?php } ?>
<style>
form .form-row .required { visibility: visible; }
</style>
<?php wp_footer(); ?>
</body>
</html>