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