Advertisement
Guest User

Untitled

a guest
Oct 7th, 2010
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="art-contentLayout">
  3. <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-tl"></div>
  13. <div class="art-Post-tr"></div>
  14. <div class="art-Post-bl"></div>
  15. <div class="art-Post-br"></div>
  16. <div class="art-Post-tc"></div>
  17. <div class="art-Post-bc"></div>
  18. <div class="art-Post-cl"></div>
  19. <div class="art-Post-cr"></div>
  20. <div class="art-Post-cc"></div>
  21. <div class="art-Post-body">
  22. <div class="art-Post-inner art-article">
  23.  
  24. <div class="art-PostContent">
  25.  
  26. <div class="navigation">
  27. <div class="alignleft"><?php echo $prev_link; ?></div>
  28. <div class="alignright"><?php echo $next_link; ?></div>
  29. </div>
  30.  
  31. </div>
  32. <div class="cleared"></div>
  33.  
  34.  
  35. </div>
  36.  
  37. <div class="cleared"></div>
  38. </div>
  39. </div>
  40.  
  41. <?php endif; ?>
  42. <div class="art-Post">
  43. <div class="art-Post-tl"></div>
  44. <div class="art-Post-tr"></div>
  45. <div class="art-Post-bl"></div>
  46. <div class="art-Post-br"></div>
  47. <div class="art-Post-tc"></div>
  48. <div class="art-Post-bc"></div>
  49. <div class="art-Post-cl"></div>
  50. <div class="art-Post-cr"></div>
  51. <div class="art-Post-cc"></div>
  52. <div class="art-Post-body">
  53. <div class="art-Post-inner art-article">
  54. <h2 class="art-PostHeader">
  55. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  56. <?php the_title(); ?>
  57. </a>
  58. </h2>
  59. <?php $icons = array(); ?>
  60. <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?>
  61. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Author', 'kubrick'); ?>: <?php the_author_posts_link() ?>
  62. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (current_user_can('edit_post', $post->ID)): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="13" height="13" alt="" />
  63. <?php edit_post_link(__('Edit', 'kubrick'), ''); ?>
  64. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  65. <div class="art-PostHeaderIcons art-metadata-icons">
  66. <?php echo implode(' | ', $icons); ?>
  67.  
  68. </div>
  69. <?php endif; ?>
  70. <div class="art-PostContent">
  71.  
  72. <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
  73. <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  74.  
  75. </div>
  76. <div class="cleared"></div>
  77. <?php $icons = array(); ?>
  78. <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="" />
  79. <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
  80. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostTagIcon.png" width="7" height="13" alt="" />
  81. <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
  82. <?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="18" height="18" alt="" />
  83. <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
  84. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  85. <div class="art-PostFooterIcons art-metadata-icons">
  86. <?php echo implode(' | ', $icons); ?>
  87.  
  88. </div>
  89. <?php endif; ?>
  90.  
  91. </div>
  92.  
  93. <div class="cleared"></div>
  94. </div>
  95. </div>
  96.  
  97. <?php comments_template(); ?>
  98. <?php endwhile; ?>
  99. <?php else: ?>
  100. <h2 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h2>
  101. <?php endif; ?>
  102.  
  103. </div>
  104. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
  105. </div>
  106. <div class="cleared"></div>
  107.  
  108. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement