<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p>Vul uw wachtwoord in om de reacties te kunnen bereiken</p>
<?php return; endif; ?>

<?php if ( $comments ) : ?>
<h3>Reacties</h3>
<?php foreach ($comments as $comment) : ?>

<div class="comment">
<p class="commenticon">
<strong><?php comment_type('Reactie','Trackback','Pingback'); ?></strong> van <strong><?php if ('' != get_comment_author_url()) { ?><a href="<?php comment_author_url(); ?>"><?php comment_author() ?></a><?php } else { comment_author(); } ?></strong>
<?php edit_comment_link('[e]',' | '); ?><br />
<strong>Datum:</strong> <?php comment_date() ?>, <?php comment_time(); ?></p>
<?php comment_text() ?>

<?php if ($comment->comment_approved == '0') : ?>
<p><strong>Bedankt voor uw reactie, hij is toegevoegd aan de wachtrij van de beheerder!</strong></p>
<?php endif; ?>
</div>

<?php endforeach; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<?php endif; ?>

<?php if ( comments_open() ) : ?>
<div id="commentsection">
<h3>Schrijf een reactie</h3>
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<p><label for="author">Uw naam:</label><br />
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /><input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER['REQUEST_URI']); ?>" /></p>
<p><label for="email">E-mail:</label><br /><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /></p>
<p><label for="url">Website:</label><br /><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /></p>
<p><label for="comment">Reactie:</label><br />
<textarea name="comment" id="comment" cols="66" rows="7" tabindex="4"></textarea></p>
<p><input name="submit" id="submit" type="submit" tabindex="5" value="Verzenden" /></p>
<?php do_action('comment_form', $post->ID); ?></form>
</div>

<?php else : // Comments are closed ?>
<?php endif; ?>