Advertisement
Guest User

Untitled

a guest
Dec 15th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <div class="contentLayout">
  3. <div class="content">
  4. <div class="breadcrumb">
  5. <?php
  6. if(function_exists('bcn_display'))
  7. {
  8. bcn_display();
  9. }
  10. ?>
  11. </div>
  12. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  13. <?php
  14. $prev_link = get_previous_post_link('&laquo; %link');
  15. $next_link = get_next_post_link('%link &raquo;');
  16. ?>
  17. <?php if ($prev_link || $next_link): ?>
  18. <div class="Post">
  19. <div class="Post-body">
  20. <div class="Post-inner article">
  21.  
  22. <div class="PostContent">
  23.  
  24. <div class="navigation">
  25. <div class="alignleft"><?php echo $prev_link; ?></div>
  26. <div class="alignright"><?php echo $next_link; ?></div>
  27. </div>
  28.  
  29. </div>
  30. <div class="cleared"></div>
  31.  
  32.  
  33. </div>
  34.  
  35. </div>
  36. </div>
  37.  
  38. <?php endif; ?>
  39. <div class="Post">
  40. <div class="Post-body">
  41. <div class="Post-inner article">
  42. <h2 class="PostHeaderIcon-wrapper">
  43. <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="32" height="32" alt="PostHeaderIcon" />
  44. <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  45. <?php the_title(); ?>
  46. </a></span>
  47. </h2>
  48. <?php $icons = array(); ?>
  49. <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?>
  50. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="20" height="20" alt="PostAuthorIcon" />
  51. <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a>
  52. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (current_user_can('edit_post', $post->ID)): ?><?php ob_start(); ?><?php edit_post_link(__('Edit', 'kubrick'), ''); ?>
  53. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  54. <div class="PostHeaderIcons metadata-icons">
  55. <?php echo implode(' | ', $icons); ?>
  56.  
  57. </div>
  58. <?php endif; ?>
  59. <div class="PostContent">
  60. <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
  61. /div>
  62. <div class="cleared"></div>
  63. <?php ob_start(); ?>
  64. <?php $icons = array(); ?>
  65. <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
  66. <?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="PostCommentsIcon" />
  67. <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
  68. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  69. <div class="PostFooterIcons metadata-icons">
  70. <?php echo implode(' | ', $icons); ?>
  71.  
  72. </div>
  73. <?php endif; ?>
  74. <?php $metadataContent = ob_get_clean(); ?>
  75. <?php if (trim($metadataContent) != ''): ?>
  76. <div class="PostMetadataFooter">
  77. <?php echo $metadataContent; ?>
  78.  
  79. </div>
  80. <?php endif; ?>
  81.  
  82. </div>
  83.  
  84. </div>
  85. </div>
  86.  
  87. <?php if ($prev_link || $next_link): ?>
  88. <div class="Post">
  89. <div class="Post-body">
  90. <div class="Post-inner article">
  91.  
  92. <div class="PostContent">
  93.  
  94. <div class="navigation">
  95. <div class="alignleft"><?php echo $prev_link; ?></div>
  96. <div class="alignright"><?php echo $next_link; ?></div>
  97. </div>
  98.  
  99. </div>
  100. <div class="cleared"></div>
  101.  
  102.  
  103. </div>
  104.  
  105. </div>
  106. </div>
  107.  
  108. <?php endif; ?>
  109. <?php comments_template(); ?>
  110. <?php endwhile; ?>
  111. <?php else: ?>
  112. <p><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></p>
  113. <?php endif; ?>
  114.  
  115. </div>
  116. <div class="sidebar1">
  117. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
  118. </div>
  119.  
  120. </div>
  121. <div class="cleared"></div>
  122.  
  123. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement