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

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

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 47 lines | 37 code | 10 blank | 0 comment | 4 complexity | 22573c906c2da170a660395aa0907c83 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <?php get_header(); ?>
  2. <div id="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', 'contempt'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
  7. <small><?php the_time(get_option('date_format')) ?></small><br />
  8. <div class="entry">
  9. <?php the_content(__('Read the rest of this entry &raquo;','contempt')); ?>
  10. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
  11. </div>
  12. <p class="postmetadata">
  13. <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/speech_bubble.gif" alt="" /> <?php comments_popup_link(__('Leave a Comment &#187;','contempt'),__('1 Comment','contempt'),__('% Comments','contempt')); ?>
  14. | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/documents.gif" alt="" /> <?php the_category(', ') ?>
  15. <?php the_tags( ' | ' . __( 'Tagged:' ) . ' ', ', ', ''); ?>
  16. | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/permalink.gif" alt="" /> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent Link to %s', 'contempt' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php _e('Permalink','contempt'); ?></a>
  17. <br /><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/figure_ver1.gif" alt="" /> <?php printf(__('Posted by %s', 'contempt'), get_the_author()); ?>
  18. </p>
  19. </div>
  20. <hr />
  21. <?php endwhile; ?>
  22. <div class="navigation">
  23. <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries','contempt')) ?></div>
  24. <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;','contempt')) ?></div>
  25. </div>
  26. <?php else : ?>
  27. <h2 class="center"><?php _e('Not Found','contempt'); ?></h2>
  28. <p class="center"><?php _e("Sorry, but you are looking for something that isn't here.","contempt"); ?></p>
  29. <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  30. <?php endif; ?>
  31. </div>
  32. <?php get_sidebar(); ?>
  33. <?php get_footer(); ?>