<?php // Do not delete these lines

if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))

die ('Rufen sie diese Seite bitte nicht direkt auf.');

if (!empty($post->post_password)) { // if there's a password

if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie

?>

<h3><?php _e("Dieser Beitrag ist durch ein Passwort gesch&uuml;tzt. Geben sie es ein um den Kommentarbereich zu sehen."); ?></h3>

<?php

return;

}

}

$commentalt = '_alt';

$commentcount = 1;

?>

<div id="comment_template">

 <h4><?php comments_number('Keine Reaktionen', 'Eine Reaktion', '% Reaktionen' );?> zu &#8220;<?php the_title(); ?>&#8221;</h4>
 <span class="rss"> <?php comments_rss_link('Kommentare abonnieren (RSS)'); ?> oder <a href="<?php trackback_url(display); ?>">TrackBack URL</a></span>

 <!-- <div class="google_p500">
 <script type="text/javascript">
google_ad_client = "";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "232222";
google_color_bg = "232222";
google_color_link = "ECEEEE";
google_color_text = "ffffff";
google_color_url = "0A6699";
//
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
 </div> -->

 <div class="clear_coms"></div>
 <?php if ( $comments ) : ?>

<? // Begin Comments ?>
<?php foreach ($comments as $comment) : ?>
	<? if ($comment->comment_type != "trackback" && $comment->comment_type != "pingback" && !ereg("<pingback />", $comment->comment_content) && !ereg("<trackback />", $comment->comment_content)) { ?>

 <div class="coms">
   <div class="top_coms<?php echo $commentalt; ?>"></div>
   <div class="rep_coms<?php echo $commentalt; ?>"><?php comment_text() ?></div>
   <div class="bot_coms<?php echo $commentalt; ?>"></div>
   <div class="author_date"><?php comment_author_link() ?> am <?php comment_date('d. F Y') ?> um <?php comment_time() ?><?php edit_comment_link(' edit','',''); ?></div>
 </div>

<?php

($commentalt == "_alt")?$commentalt="":$commentalt="_alt";

$commentcount++;

?>

<? } ?>

<?php endforeach; /* end for each comment */ ?>


<? // Begin Trackbacks ?>
<?php foreach ($comments as $comment) : ?>
	<? if ($comment->comment_type == "trackback" || $comment->comment_type == "pingback" || ereg("<pingback />", $comment->comment_content) || ereg("<trackback />", $comment->comment_content)) { ?>

	<? if (!$runonce) { $runonce = true; ?>
    <div class="clear_coms"></div>
	<h6>Trackbacks & Pingbacks</h6>
    <div class="clear_coms"></div>
	<? } ?>
</div>
    <div class="coms">
   <div class="top_coms<?php echo $commentalt; ?>"></div>
   <div class="rep_coms<?php echo $commentalt; ?>"><?php comment_text() ?></div>
   <div class="bot_coms<?php echo $commentalt; ?>"></div>
   <div class="author_date">Pingback von <?php comment_author_link() ?> am <?php comment_date('d. F Y') ?> um <?php comment_time() ?><?php edit_comment_link(' edit','',''); ?></div>


<? } ?>
<?php endforeach; ?>
<? if ($runonce) { ?>
</ol>
<? } ?>
<? // End Trackbacks ?>




<?php endif; ?>

<? // End Comments ?>

<?php if ('open' == $post->comment_status) : ?>

<?php if (get_option('comment_registration') && !$user_ID) : ?>

<h3>Der Kommentarbereich ist geschlossen.</h3>

<?php else : ?>

<div class="clear_coms"></div>
<h5><span class="dark">E</span>in Kommentar hinterlassen</h5>
<small>Erlaubte Tags : &lt;blockquote&gt;, &lt;p&gt;, &lt;code&gt;, &lt;em&gt;, &lt;small&gt;, &lt;ul&gt;, &lt;li&gt;, &lt;ol&gt;, &lt;a href=&gt;.. </small>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">

<?php if (!$user_ID) : ?>

<div id="tf">
<p><input name="author" type="text" value="<?php echo $comment_author; ?>"/><br />&nbsp;Name</p>
<p><input name="email" type="text" value="<?php echo $comment_author_email; ?>"/><br />&nbsp;Mail (wird nicht ver&ouml;ffentlicht)</p>
<p><input name="url" type="text" value="<?php echo $comment_author_url; ?>"/><br />&nbsp;Website</p>
</div>
<?php endif; ?>

 <div id="ta">
 <p><textarea name="comment" cols="50%" rows="8" id="comments"></textarea>
 </p>
 </div>

 <div id="tsbm">
   <p><input name="Input" type="submit" value="Absenden" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>
 </div>


 <em>Bitte beachten sie, dass ihr Kommentar m&ouml;glicherweise erst freigeschaltet werden muss.</em>


 </form>

<div class="clear_content"></div>

 <div class="post_pre">
 <span class="lastpost"><?php previous_post_link('%link') ?></span>
 <span class="nextpost"><?php next_post_link('%link') ?></span> </div>

 <?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>

 </div>