Advertisement
Guest User

Untitled

a guest
Mar 25th, 2011
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="art-contentLayout">
  3. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-content">
  4.  
  5. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  6. <?php
  7. $prev_link = get_previous_post_link('&laquo; %link');
  8. $next_link = get_next_post_link('%link &raquo;');
  9. ?>
  10. <?php if ($prev_link || $next_link): ?>
  11. <div class="art-Post">
  12. <div class="art-Post-body">
  13. <div class="art-Post-inner art-article">
  14.  
  15. <div class="art-PostContent">
  16.  
  17. <div class="navigation">
  18. <div class="alignleft"><?php echo $prev_link; ?></div>
  19. <div class="alignright"><?php echo $next_link; ?></div>
  20. </div>
  21.  
  22. </div>
  23. <div class="cleared"></div>
  24.  
  25.  
  26. </div>
  27.  
  28. <div class="cleared"></div>
  29. </div>
  30. </div>
  31.  
  32. <?php endif; ?>
  33. <div class="art-Post">
  34. <div class="art-Post-body">
  35. <div class="art-Post-inner art-article">
  36. <h2 class="art-PostHeader">
  37. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  38. <?php the_title(); ?>
  39. </a>
  40. </h2>
  41. <?php $icons = array(); ?>
  42. <?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Author', 'kubrick'); ?>: <?php the_author_posts_link() ?>
  43. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  44. <div class="art-PostHeaderIcons art-metadata-icons">
  45. <?php echo implode(' | ', $icons); ?>
  46.  
  47. </div>
  48. <?php endif; ?>
  49. <div class="art-PostContent">
  50.  
  51. <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
  52. <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  53.  
  54. </div>
  55. <div class="cleared"></div>
  56. <?php $icons = array(); ?>
  57. <?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
  58. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="32" height="32" alt="" />
  59. <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
  60. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  61. <div class="art-PostFooterIcons art-metadata-icons">
  62. <?php echo implode(' | ', $icons); ?>
  63.  
  64. </div>
  65. <?php endif; ?>
  66.  
  67. </div>
  68.  
  69. <div class="cleared"></div>
  70. </div>
  71. </div>
  72.  
  73. <?php comments_template(); ?>
  74. <?php endwhile; ?>
  75. <?php else: ?>
  76. <h2 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h2>
  77. <?php endif; ?>
  78.  
  79. </div>
  80. <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
  81. </div>
  82. <div class="cleared"></div>
  83.  
  84. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement