</div>
<!-- END CONTENT WRAPPER -->
<!-- START FOOTER WRAPPER -->

<?php if(get_option('tigu_toggle-footer') == 'true'): ?>

<?php endif; ?>

<div class="footergrid">
<div id="<?php if(get_option('tigu_toggle-footer') == 'true'): ?>wrapper-footer<?php else: ?>wrapper-footer-on<?php endif; ?>" style="margin-top: 0px;">
<?php if(get_option('tigu_toggle-footer') == 'true'): ?><div class="showfooter"></div><?php endif; ?>
<div id="footer">
<?php
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget 1')):
endif;
?>
<?php
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget 2')):
endif;
?>
<?php
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget 3')):
endif;
?>
    </div>
    </div>
</div>
<div class="clear"></div>
<div class="footergrid">
<div class="footer-border">
    <div id="footer-bottom">
<?php if(get_option('tigu_toggle-footer') == 'true'): ?><div class="hidefooter"></div><?php endif; ?>
<?php if(get_option('tigu_footer_left', 'Copyright &copy; 2013 - Gameleon 20script.ir. All rights reserved.')): ?>
    <p class="left"><?php echo stripslashes(get_option ('tigu_footer_left', 'Copyright &copy; 2013 - Gameleon. All rights reserved.')); ?></p>
<?php endif; ?>
<?php if(get_option('tigu_social_icons_footer', 'true') == 'true'): ?>
<?php require_once( trailingslashit( get_template_directory() ). '/includes/social-icons.php' ); ?>
<?php endif; ?>
    </div>
    </div>
    </div>
 
<div class="clear"></div>
<!-- END FOOTER WRAPPER -->

<?php if(get_option('tigu_analytics_code') == 'true'): ?>
<!-- START GOOGLE ANALITYCS -->
<?php echo stripslashes(get_option('tigu_analytics')); ?>
<!-- END GOOGLE ANALITYCS -->
<?php endif; ?>

<?php wp_footer(); ?>
</div>
</body>
<div style="visibility:hidden;display:none">
<a href="http://www.20script.ir">http://www.20script.ir</a>
<div> 
</html>