post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
ID, ARRAY_A);
$comment_number = $post_data['comment_count'];
$all_comments = array_reverse($comments);
}
// Do this for every comment -->
foreach ($all_comments as $comment) :
if ( ($bfa_ata_separate_trackbacks == "Yes" AND get_comment_type() == 'comment') OR $bfa_ata_separate_trackbacks == "No" ) {
?>
comment_author_email == get_the_author_email() ) { echo 'class="authorcomment clearfix" '; } else { echo $oddcomment; } ?>id="comment-">
comment_author_email, $size=$bfa_ata_avatar_size);}
# if this WP version has no gravatars, use the theme's custom gravatar function:
else { if(!empty($comment -> comment_author_email)) {
$md5 = md5($comment -> comment_author_email);
$default = urlencode(get_bloginfo('template_directory') . '/images/no-gravatar.gif');
echo '';
}
}
}
}
?>
',''); ?>