Show comments:
0) { ?>
 
 to    
get_results("SELECT * FROM $tablecomments ORDER BY comment_date $commentorder LIMIT $commentstart, $commentend" ); // need to account for offet, etc. if ($comments) { echo '
    '; foreach ($comments as $comment) { ?>
  1. comment_ID); if ("unapproved" == $comment_status) { echo ""; } ?>

    Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:

    Posted | $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "comment_ID."\">Edit"; echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete | "; } // end if any comments to show ?> View Post

    "; } ?>
  2. '; } else { ?>

    No results found.