<div id="footer">
     <div class = "posts_wrapper" >
          <?php
          global $post;
          $count_posts = wp_count_posts();
          $posts_per_column = ceil($count_posts->publish/5);
          for($x=0;$x<5;$x++) : ?>
          <div class ="footer_posts">
               <ul>
               <?php>
                    $myposts = get_posts('numberposts='.$posts_per_column.'&offset='.$posts_per_column*$x.'&order=ASC&orderby=title');
                    foreach($myposts as $post) :
               ?>
                    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
               <?php endforeach; ?>
               </ul>
          </div> <!-- end footer_posts div -->
          <?php endfor; ?>
     </div> <!-- end posts_wrapper div -->
     <div class="clear"></div>
     <!-- feel free to remove the credits, but a small donation would be appreciated -->
	<div id = "copy">Idea and theme developed by <a href="http://www.emanueleferonato.com/" >Emanuele Feronato</a>, style edit by <a href="http://www.sparkinweb.com">SparkinWeb</a></a> for <a href="http://www.sitigiochi.it">Sitigiochi.it</a> and <a href="http://www.3500giochigratis.com">3500giochigratis.com</a></div>
</div> <!-- end footer div -->
<!-- google analytics would fit good -->
<?php wp_footer(); ?>
</body>
</html>