<?php
// load the theme options
$options = get_option( "complete_theme_settings" );
?>
</div>
<!-- END main -->
</div>
<!-- END wrap -->
<div id="footer-wrap">
<?php
// check if the extended footer is disabled, if not show it
if ($options["extended_footer"] != true) { ?>
<span id="footer-top-dash"></span>
<div id="footer">
<div id="footer-widgets" class="clearfix">
<div class="footer-widget">
<?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("First Footer Area") ) : ?><?php endif; ?>
</div>
<!-- END footer-widget -->
<div class="footer-widget">
<?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Second Footer Area") ) : ?><?php endif; ?>
</div>
<!-- END footer-widget -->
<div class="footer-widget">
<?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Third Footer Area") ) : ?><?php endif; ?>
</div>
<!-- END footer-widget -->
<div class="footer-widget remove-margin">
<?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Fourth Footer Area") ) : ?><?php endif; ?>
</div>
<!-- END footer-widget -->
</div>
<!-- END footer-widgets -->
</div>
<!-- END footer -->
<?php } ?>
<div id="footer-bottom-wrap">
<?php
// check if the extended footer is disabled, if not show it
if ($options["extended_footer"] != true) { ?>
<span id="footer-bottom-dash"></span>
<?php } ?>
<div id="footer-bottom">
<?php
// check if the footer links are disabled, if not show it
if ($options["social_links"] != true) { ?>
<ul id="social">
<?php if($options["twitter"] != "") { ?>
<li><a href="<?php echo $options["twitter"]; ?>" title="Twitter" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/twitter.png" alt="twitter" height="16" width="16" /></a></li>
<?php } if($options["facebook"] != "") { ?>
<li><a href="<?php echo $options["facebook"]; ?>" title="Facebook" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/facebook.png" alt="Facebook" height="16" width="16" /></a></li>
<?php } if($options["linkedin"] != "" ) { ?>
<li><a href="<?php echo $options["linkedin"]; ?>" title="Linkedin" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/linkedin.png" alt="Linkedin" height="16" width="16" /></a></li>
<?php } if($options["myspace"] != "" ) { ?>
<li><a href="<?php echo $options["myspace"]; ?>" title="Myspace" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/myspace.png" alt="Myspace" height="16" width="16" /></a></li>
<?php } if($options["dribbble"] != "" ) { ?>
<li><a href="<?php echo $options["dribbble"]; ?>" title="Dribbble" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/dribbble.png" alt="Dribbble" height="16" width="16" /></a></li>
<?php } if($options["deviant"] != "" ) { ?>
<li><a href="<?php echo $options["deviant"]; ?>" title="deviantART" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/deviant-art.png" alt="deviantART" height="16" width="16" /></a></li>
<?php } if($options["rss"] != "" ) { ?>
<li><a href="<?php echo $options["rss"]; ?>" title="RSS" class="opacity"><img src="<?php bloginfo("template_directory") ?>/images/social/rss.png" alt="RSS" height="16" width="16" /></a></li>
<?php } ?>
<?php
// check if the back-to-top arrow is disabled, if not show it
if ($options["disable_back_top_arrow"] != true) { ?>
<li><a href="#" class="go-top opacity"><img src="<?php bloginfo("template_directory") ?>/images/back-to-top.png" alt="RSS" height="16" width="16" /></a></li>
<?php } ?>
</ul>
<!-- END footer-social -->
<!--کپی رایت گروه رویین را پاک نکنید یا تغییر ندهید تا مارا در پارسی سازی پوسته ها بیشتر یاری فرمایید -->
<?php } ?>
<div id="copyright">
� کپي رايت <?php the_time(" Y "); ?> <a href="<?php bloginfo( "url" ) ?>/" title="<?php bloginfo( "name" ) ?>" rel="home"><?php bloginfo( "name" ) ?></a> | <a href="http://www.risoman.com/?page_id=822" title="توضیحات قالب">درباره قالب</a> </div>
<!-- END copyright -->
</div>
<!-- END footer-bottom -->
</div>
<!-- END footer-bottom-wrap -->
</div>
<!-- END footer-wrap -->
<!-- WP Footer -->
<?php wp_footer(); ?>
<?php
// show tracking code for the header
echo stripslashes($options["tracking_footer"]);
?>
</body>
</html>