summaryrefslogtreecommitdiff
path: root/web_site/themes/else-default/date.php
blob: 7373b7661b683534e240aa116a79b484799c06b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php get_header(); ?>
<div id="main">
		<div id="content">
			<div class="post">
			<?php if ($posts) { ?>	
		<?php $post = $posts[0]; /* Hack. Set $post so that the_date() works. */ ?>
		<?php if (is_day()) { ?>
			<h2 class="post-title"><?php the_time('l, F jS, Y'); ?></h2>			
			<p class="day-date">Daily Archive</p>
		<?php } elseif (is_month()) { ?>
			<h1 class="post-title cal"><?php the_time('F Y'); ?></h1>
			<p class="day-date b">Maandelijks archief.</p>		
		<?php } elseif (is_year()) { ?>
			<h2 class="post-title"><?php the_time('Y'); ?></h2>
			<p class="day-date">Yearly Archive</p>		
		<?php } ?>				
		<?php } ?>	
			</div>
			<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
			<div class="post">
				<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				<p class="day-date">Gepost door <em><?php the_author() ?></em> op <em><?php the_time('d/m/Y'); ?></em><br />Toegevoegd onder: <?php the_category(', ') ?><?php edit_post_link('Edit','<span class="editlink">','</span>'); ?></p>
				<div class="post-content"><?php the_content(''); ?>
				<p class="post-info">
					<?php comments_popup_link('Geen reactie&#8217;s, je kan de eerste zijn &#187;', '1 Reactie &#187;', '% Reactie&#8217;s &#187;'); ?><?php if ($post->post_excerpt != "") { ?>&nbsp;&#124;&nbsp;<a href="<?php the_permalink() ?>" class="more">Lees verder &#187;</a><?php } ?>
				</p>
				<!--
				<?php trackback_rdf(); ?>
				-->
			</div>
			<?php comments_template(); ?>
		</div>
			<?php endforeach; else: ?>
			<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
			<?php  endif; ?>
		<!--<p align="center"><?php posts_nav_link() ?></p>-->
		<p class="center"><!-- this is ugly -->
			<span class="next"><?php previous_posts_link('Volgende&nbsp;&#187;') ?></span>
			<span class="previous"><?php next_posts_link('&#171;&nbsp;Vorige') ?></span>
	</p>
	</div>

<?php get_sidebar(); ?>

</div>

<?php get_footer(); ?>