PageRenderTime 35ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/monotone/index.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 25 lines | 22 code | 3 blank | 0 comment | 6 complexity | 71c206d628d7d82dffaf9c0e6d462b30 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <?php get_header(); ?>
  2. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  3. <?php if (is_sticky()) { $sticky++; } else { $regular++; ?>
  4. <div class="image">
  5. <div class="nav prev"><?php next_post_link('%link','&lsaquo;') ?></div>
  6. <?php the_image(); ?>
  7. <div class="nav next"><?php previous_post_link('%link','&rsaquo;'); ?></div>
  8. </div>
  9. <?php partial('post'); ?>
  10. <?php } ?>
  11. <?php endwhile; else : ?>
  12. <h2>Not Found</h2>
  13. <p>Sorry, but you are looking for something that isn't here.</p>
  14. <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  15. <?php endif; ?>
  16. <div class="navigation">
  17. <div class="prev"><?php next_post_link('%link', '&lsaquo' ) ?></div>
  18. <div class="next"><?php previous_post_link('%link','&rsaquo;') ?></div>
  19. </div>
  20. <?php get_footer(); ?>