post_password)) { if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { ?>
comments) $tablecomments = $wpdb->comments; // = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = '$id' AND comment_approved = '1' ORDER BY comment_date"); // You can start editing here $GLOBALS['comments_reply'] = array(); function write_comment(&$c, $deep_id = -1, $color = true) { global $max_level; $comments_reply = $GLOBALS['comments_reply']; if ($c->comment_author_email== get_the_author_email()) $style = ' class="mine"'; else if ($color==true){$style=' class="borderc1"';$color=!$color;} else{$style=' class="borderc2"';$color=!$color;} ?>
You must be logged in to post a comment.