From 71be4f1857fe4e4ce6737e05a79ec54598f008fc Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 14 Oct 2003 05:19:26 +0000 Subject: [PATCH] The beginning of the comments page. git-svn-id: http://svn.automattic.com/wordpress/trunk@454 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/comments.php | 159 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 wp-admin/comments.php diff --git a/wp-admin/comments.php b/wp-admin/comments.php new file mode 100644 index 000000000..a7f09c5e2 --- /dev/null +++ b/wp-admin/comments.php @@ -0,0 +1,159 @@ + + +
+ 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. +

    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. +

    + + + +
+ + \ No newline at end of file