comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' AND comment_date_gmt >= '2011-01-01' AND comment_date_gmt <= '2011-12-31' ORDER BY comment_date_gmt DESC LIMIT 10000"; $comments = $wpdb->get_results($sql); $output = $pre_HTML; $output .= "\n
    "; foreach ($comments as $comment) { $output .= "\n
  1. " . get_avatar( $comment->comment_author_email, 73 ) . "

    comment_author_url."" . "\" title=\"Besök ".$comment->comment_author . "s webbplats\">" .strip_tags($comment->comment_author) ." " . strip_tags($comment->com_excerpt) . "
    ID) ."" . "\" title=\"Besök inlägget ".$comment->post_title . "\">Läs inlägget, " . $comment->comment_date_gmt ."

    " ."
  2. "; } $output .= "\n
"; $output .= $post_HTML; echo $output; ?>
', '' ); ?>