diff -r 0d9a58d2c515 -r 0d28b7c10758 web/wp-content/themes/selecta/comments.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/themes/selecta/comments.php Fri Mar 12 13:29:04 2010 +0000 @@ -0,0 +1,151 @@ + +

comment_count; ?> Comments

+ comment_parent == 0) : + $comment_table = $wpdb->prefix . "ocmx_comment_meta"; + $comment_meta_sql = "SELECT * FROM $comment_table WHERE commentId = ".$comment->comment_ID." LIMIT 1"; + $comment_meta = $wpdb->get_row($comment_meta_sql); + $comment_type = get_comment_type(); + ?> +
+ +
+ + Reply + +
+ +
+
+
+

+ comment_approved == '0') : ?> +

Comment is awaiting moderation.

+ +
+ +
+ comment_ID; + if($comment_type == "comment") : + fetch_comments($comment_id, $i); + endif; + ?> + +
+ + + +
+
+ comment_status) : ?> +
+ +

You must be logged in to post a comment.

+ +
+

Leave A Comment

+

Posting your comment...

+
+ +
Logged in as . + Logout »
+ + + +
" size="32" tabindex="1" />
+ +
" size="32" tabindex="2" />
+ +
" size="32" tabindex="3" />
+ + +
" size="32" tabindex="3" />
+ +
+
+ + Subscribe to these comment via email +
+ + + + + ID); ?> +
+
+ +
+ +
+ + comments WHERE comment_parent = ".$comment_id; + $child_comments = $wpdb->get_results($sql); + $thread_count = 0; + if(count($child_comments) !== 0) : + $thread_count++ + ?> +
+ comment_ID); + $comment_table = $wpdb->prefix . "ocmx_comment_meta"; + $sub_comment_meta_sql = "SELECT * FROM $comment_table WHERE commentId = ".$sub_comment->comment_ID." LIMIT 1"; + $sub_comment_meta = $wpdb->get_row($sub_comment_meta_sql); + ?> +
+
+ +
+
+
+
+

+ comment_author_url !== "http://" && $sub_comment->comment_author_url !== "") : ?> + comment_author; ?> + + comment_author; ?> + + twitter !== "") : ?> + comment_date)); ?> comment_date)); ?> +

+ comment_approved == '0') : ?> +

Comment is awaiting moderation.

+ comment_content); + $use_comment = str_replace("\n", "
", $use_comment); + echo "

".$use_comment."

"; + endif; ?> +
+ +
+
+ +
+ \ No newline at end of file