Advertisement
Guest User

Untitled

a guest
Jan 31st, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.27 KB | None | 0 0
  1. <?php get_header(); ?><?php
  2. if ($postnum == 1) {
  3. echo '<center><!-- begam{S3} --></center>';
  4. } elseif ($postnum == 2) {
  5. echo '<center><!-- begam{S4} --></center>';
  6. } elseif ($postnum == 3) {
  7. echo '<center><!-- begam{S5} --></center>';
  8. } elseif ($postnum == 4) {
  9. echo '<center><!-- begam{S6} --></center>';
  10. } elseif ($postnum == 5) {
  11. echo '<center><!-- begam{S7} --></center>';
  12. } elseif ($postnum == 6) {
  13. echo '<center><!-- begam{S8} --></center>';
  14. } ?>
  15. <div class="art-contentLayout">
  16. <div class="art-content"><div style="padding-top:20px;"><center><!-- begam{S4} --></center>
  17. </div><?php if (have_posts()) : ?>
  18. <?php while (have_posts()) : the_post(); ?>
  19. <div class="art-Post">
  20.     <div class="art-Post-body">
  21.  
  22. <div class="art-Post-inner art-article">
  23. <h2 class="art-PostHeader">
  24. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  25. <?php the_title(); ?>
  26. </a>
  27. </h2>
  28. <?php ob_start(); ?>
  29. <?php $icons = array(); ?>
  30. <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('j F Y', 'kubrick')) ?>
  31. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Auteur', 'kubrick'); ?>: <?php the_author_link() ?>
  32. <?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'), ''); ?>
  33. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  34. <div class="art-PostHeaderIcons art-metadata-icons">
  35. <?php echo implode(' | ', $icons); ?>
  36.  
  37. </div>
  38. <?php endif; ?>
  39. <?php $metadataContent = ob_get_clean(); ?>
  40. <?php if (trim($metadataContent) != ''): ?>
  41. <div class="art-PostMetadataHeader">
  42. <?php echo $metadataContent; ?>
  43.  
  44. </div>
  45. <?php endif; ?>
  46. <div class="art-PostContent">
  47.  
  48.           <?php if (is_search()) the_excerpt(); else the_content(__('Lees verder &raquo;', 'kubrick')); ?>
  49.           <?php if (is_page() or is_single()) wp_link_pages(array('vorige' => '<p><strong>Paginas:</strong> ', 'volgende' => '</p>', 'next_or_number' => 'number')); ?>
  50.        
  51. </div>
  52. <div class="cleared"></div>
  53. <?php $icons = array(); ?>
  54. <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="" />
  55. <?php printf(__('Geplaatst in %s', 'kubrick'), get_the_category_list(', ')); ?>
  56. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
  57. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><?php comments_popup_link(__('Geen Reacties &#187;', 'kubrick'), __('1 Reactie &#187;', 'kubrick'), __('% Reacties &#187;', 'kubrick'), '', __('Reacties gesloten', 'kubrick') ); ?>
  58. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  59. <div class="art-PostFooterIcons art-metadata-icons">
  60. <?php echo implode(' | ', $icons); ?>
  61.  
  62. </div>
  63. <?php endif; ?>
  64.  
  65. </div>
  66.  
  67.         <div class="cleared"></div>
  68.     </div>
  69. </div>
  70. <hr>
  71. <?php if ($postnum == $showadsense1) {
  72. echo '
  73. <center><!-- begam{S3} --></center>
  74. ';
  75. } ?>
  76.  
  77. <?php $postnum++; ?>
  78. <?php endwhile; ?>
  79. <?php
  80. $prev_link = get_previous_posts_link(__('Nieuwere berichten &raquo;', 'kubrick'));
  81. $next_link = get_next_posts_link(__('&laquo; Oudere berichten', 'kubrick'));
  82. ?>
  83. <?php if ($prev_link || $next_link): ?>
  84. <div class="art-Post">
  85.     <div class="art-Post-body">
  86. <div class="art-Post-inner art-article">
  87.  
  88. <div class="art-PostContent">
  89.  
  90. <div class="navigation">
  91.     <div class="alignleft"><?php echo $next_link; ?></div>
  92.     <div class="alignright"><?php echo $prev_link; ?></div>
  93. </div>
  94.  
  95. </div>
  96. <div class="cleared"></div>
  97.  
  98.  
  99. </div>
  100.  
  101.         <div class="cleared"></div>
  102.     </div>
  103. </div>
  104.  
  105. <?php endif; ?>
  106. <?php else : ?>
  107. <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
  108. <p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'kubrick'); ?></p>
  109. <?php if(function_exists('get_search_form')) get_search_form(); ?>
  110. <?php endif; ?>
  111.  
  112. </div>
  113. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
  114. </div>
  115. <div class="cleared"></div>
  116.  
  117. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement