Advertisement
Guest User

code1

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