PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/webroot/blog/wp-content/themes/la-school-blue/index.php

https://github.com/Wargo/reddevil
PHP | 39 lines | 25 code | 14 blank | 0 comment | 3 complexity | 4d5a376a3913bc891204164eb8f0bd39 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1, GPL-3.0
  1. <?php get_header(); ?>
  2. <div class="content">
  3. <?php if (have_posts()) : ?>
  4. <?php while (have_posts()) : the_post(); ?>
  5. <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  6. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'laschool'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a> <small>&ndash; <?php the_time(__('F jS, Y', 'laschool')) ?> <!-- by <?php the_author() ?> --></small></h2>
  7. <div class="entry">
  8. <?php the_content(__('Read the rest of this entry &raquo;', 'laschool')); ?>
  9. </div>
  10. <div class="comments-nr"><?php comments_popup_link(__('0<span> Comments</span>', 'laschool'), __('1<span> Comment</span>', 'laschool'), __('%<span> Comments</span>', 'laschool')); ?></div>
  11. <div class="postdata"><?php printf(__('Posted in %s', 'laschool'), get_the_category_list(', ')); ?></div>
  12. </div>
  13. <?php endwhile; ?>
  14. <div class="navigation">
  15. <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'laschool')) ?></div>
  16. <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'laschool')) ?></div>
  17. </div>
  18. <?php else : ?>
  19. <h2><?php _e('Not Found', 'laschool'); ?></h2>
  20. <p><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'laschool'); ?></p>
  21. <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  22. <?php endif; ?>
  23. </div>
  24. <?php get_sidebar(); ?>
  25. <?php get_footer(); ?>