Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

footer

By: mahdiar on Jul 12th, 2012  |  syntax: PHP  |  size: 5.01 KB  |  views: 5  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. // load the theme options
  3. $options = get_option( "complete_theme_settings" );
  4. ?>
  5. </div>
  6. <!-- END main -->
  7. </div>
  8. <!-- END wrap -->
  9.  
  10. <div id="footer-wrap">
  11.  <?php
  12.     // check if the extended footer is disabled, if not show it
  13.     if ($options["extended_footer"] != true) { ?>  
  14. <span id="footer-top-dash"></span>
  15.     <div id="footer">
  16.         <div id="footer-widgets" class="clearfix">
  17.             <div class="footer-widget">
  18.                 <?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("First Footer Area") ) : ?><?php endif; ?>
  19.             </div>
  20.             <!-- END footer-widget -->
  21.             <div class="footer-widget">
  22.                 <?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Second Footer Area") ) : ?><?php endif; ?>
  23.             </div>
  24.             <!-- END footer-widget -->  
  25.             <div class="footer-widget">
  26.                 <?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Third Footer Area") ) : ?><?php endif; ?>
  27.             </div>
  28.             <!-- END footer-widget -->  
  29.             <div class="footer-widget remove-margin">  
  30.                 <?php if ( !function_exists("dynamic_sidebar") || !dynamic_sidebar("Fourth Footer Area") ) : ?><?php endif; ?>
  31.             </div>
  32.             <!-- END footer-widget -->  
  33.         </div>
  34.         <!-- END footer-widgets -->
  35.    
  36.     </div>
  37.         <!-- END footer -->
  38.     <?php } ?>
  39.  
  40.     <div id="footer-bottom-wrap">
  41.     <?php
  42.     // check if the extended footer is disabled, if not show it
  43.     if ($options["extended_footer"] != true) { ?>
  44.     <span id="footer-bottom-dash"></span>
  45.     <?php } ?>
  46.         <div id="footer-bottom">
  47.         <?php
  48.         // check if the footer links are disabled, if not show it
  49.         if ($options["social_links"] != true) { ?>
  50.             <ul id="social">
  51.                                 <?php if($options["twitter"] != "") { ?>
  52.                 <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>
  53.                 <?php } if($options["facebook"] != "") { ?>
  54.                 <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>
  55.                 <?php } if($options["linkedin"] != "" ) { ?>
  56.                 <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>
  57.                 <?php } if($options["myspace"] != "" ) { ?>
  58.                 <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>
  59.                 <?php } if($options["dribbble"] != "" ) { ?>
  60.                 <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>
  61.                 <?php } if($options["deviant"] != "" ) { ?>
  62.                 <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>
  63.                 <?php } if($options["rss"] != "" ) { ?>
  64.                 <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>
  65.                 <?php } ?>
  66.                 <?php
  67.                         // check if the back-to-top arrow is disabled, if not show it
  68.                         if ($options["disable_back_top_arrow"] != true) { ?>
  69.                         <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>
  70.                                 <?php } ?>  
  71.             </ul>
  72.                 <!-- END footer-social -->
  73.                         <!--کپی رایت گروه رویین را پاک نکنید یا تغییر ندهید تا مارا در پارسی سازی پوسته ها بیشتر یاری فرمایید -->
  74.         <?php } ?>
  75.         <div id="copyright">
  76.           � کپي رايت <?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>
  77.  
  78.                
  79. <!-- END copyright -->
  80.  
  81.         </div>
  82.         <!-- END footer-bottom -->
  83.     </div>
  84.         <!-- END footer-bottom-wrap -->
  85. </div>
  86. <!-- END footer-wrap -->
  87.  
  88. <!-- WP Footer -->
  89. <?php wp_footer(); ?>
  90. <?php
  91. // show tracking code for the header
  92. echo stripslashes($options["tracking_footer"]);
  93. ?>
  94. </body>
  95. </html>