1. <?php global $traction;?>    </div><!--end main-->
  2.     <div id="main-bottom"></div>
  3. </div><!--end wrapper-->
  4. <div id="footer">
  5.     <div class="wrapper clear">
  6.         <div id="footer-about" class="footer-column">
  7.             <?php if($traction->footerAboutState()=='true'):?>                <ul>
  8.                     <?php if(!function_exists('dynamic_sidebar')||!dynamic_sidebar('footer_sidebar_3')):?>                        <li class="widget widget_categories">
  9.                             <h2 class="widgettitle"><?php _e('Categories');?></h2>
  10.                             <ul>
  11.                                 <?php wp_list_cats('sort_column=name&hierarchical=0');?>                            </ul>
  12.                         </li>
  13.                     <?php endif;?>                </ul>
  14.             <?php else:?>                <h2><?php _e('About','traction');?></h2>
  15.                 <?php if($traction->footerAbout()!=''):?>                    <?php echo $traction->footerAbout();?>                <?php else:?>                    <p><?php _e("Did you know you can write your own about section just like this one? It's really easy. Head into the the <em>Traction Options</em> menu and check out the footer section. Type some stuff in the box, click save, and your new about section shows up in the footer.","traction");?></p>
  16.                 <?php endif;?>            <?php endif;?>        </div>
  17.         <div id="footer-middle" class="footer-column">
  18.             <?php if(is_active_sidebar('footer_sidebar'))
  19.   echo "<ul>"?>                <?php if(!function_exists('dynamic_sidebar')||!dynamic_sidebar('footer_sidebar')):?>                    <ul>
  20.                         <li class="widget">
  21.                             <h2 class="widgettitle"><?php _e('Pages');?></h2>
  22.                             <ul>
  23.                                 <?php wp_list_pages('depth=0&title_li=');?>                            </ul>
  24.                         </li>
  25.                     </ul>
  26.                 <?php endif;?>            <?php if(is_active_sidebar('footer_sidebar'))
  27.   echo "</ul>"?>        </div>
  28.         <div id="footer-search" class="footer-column">
  29.             <?php if(is_active_sidebar('footer_sidebar_2'))
  30.     echo "<ul>"?>                <?php if(!function_exists('dynamic_sidebar')||!dynamic_sidebar('footer_sidebar_2')):?>                    <h2><?php _e('Search','traction');?></h2>
  31.                     <?php if(is_file(STYLESHEETPATH.'/searchform.php'))
  32.   include(STYLESHEETPATH.'/searchform.php');
  33. else
  34.   include(TEMPLATEPATH.'/searchform.php');?>                <?php endif;?>            <?php if(is_active_sidebar('footer_sidebar_2'))
  35.   echo "</ul>"?>        </div>
  36.     </div><!--end wrapper-->
  37. </div><!--end footer-->
  38. <div id="copyright" class="wrapper">
  39.     <p class="credit">Powered by <a href="http://www.free-premium-wordpress-themes.com" rel="dofollow">Free Premium Wordpress Themes</a> and <a href="http://thethemefoundry.com">The Theme Foundry</a></p>
  40.     <p>Copyright &copy; <?php echo date("Y");?> &middot; <a href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a>, All Rights Reserved.</p>
  41. </div><!--end copyright-->
  42. <?php wp_footer();?><?php
  43.     if($traction->statsCode()!='') {
  44.   echo $traction->statsCode();
  45. }
  46. ?></body>
  47. </html>