Comments

    get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); $commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id"); if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass'] != $commentstatus->post_password) { // and it doesn't match the cookie echo("
  1. ".get_the_password_form()."
"); } else { if ($comments) { // this line is WordPress' motor, do not delete it. foreach ($comments as $comment) { ?>
  • by @

  • No comments yet.
  • comment_status) { ?>

    Leave a Comment

    Line and paragraph breaks automatic, website trumps email, HTML allowed:

    " />


    Sorry, comments are closed at this time.

    Close this window.

    Powered by Wordpress