From 217aff90122bf73af3db089db07c9780cda4ec06 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 25 Jan 2004 08:06:12 +0000 Subject: [PATCH] Not used anymore. git-svn-id: http://svn.automattic.com/wordpress/trunk@792 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-showposts.php | 351 ------------------------------------ 1 file changed, 351 deletions(-) delete mode 100644 wp-admin/edit-showposts.php diff --git a/wp-admin/edit-showposts.php b/wp-admin/edit-showposts.php deleted file mode 100644 index e99d9632d..000000000 --- a/wp-admin/edit-showposts.php +++ /dev/null @@ -1,351 +0,0 @@ - - -

Posts

- -

Go to: Post/Edit | Posts | Comments

- -
- - - - - - - - - -
- Show posts: - - - - - - -
-
- 0) { -?> - - - - - -
-
-
- - - - -
-
-
-
- - -   - -
-
-
-  to   -   - -
-
-
- - - -
- - - - - - -
-
- - - -
-
-
- - -
-
-
- "; - $arc_result=$wpdb->get_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM $tableposts ORDER BY post_date DESC",ARRAY_A); - foreach ($arc_result as $arc_row) { - $arc_year = $arc_row["YEAR(post_date)"]; - $arc_month = $arc_row["MONTH(post_date)"]; - echo "\n"; - } - } elseif ($archive_mode == "daily") { - echo ""; - if (!isset($start_of_week)) { - $start_of_week = 1; - } - $archive_week_start_date_format = "Y/m/d"; - $archive_week_end_date_format = "Y/m/d"; - $archive_week_separator = " - "; - $arc_result=$wpdb->geT_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date), DAYOFMONTH(post_date), WEEK(post_date) FROM $tableposts ORDER BY post_date DESC", ARRAY_A); - $arc_w_last = ''; - foreach ($arc_result as $arc_row) { - $arc_year = $arc_row["YEAR(post_date)"]; - $arc_w = $arc_row["WEEK(post_date)"]; - if ($arc_w != $arc_w_last) { - $arc_w_last = $arc_w; - $arc_ymd = $arc_year."-".zeroise($arc_row["MONTH(post_date)"],2)."-" .zeroise($arc_row["DAYOFMONTH(post_date)"],2); - $arc_week = get_weekstartend($arc_ymd, $start_of_week); - $arc_week_start = date($archive_week_start_date_format, $arc_week['start']); - $arc_week_end = date($archive_week_end_date_format, $arc_week['end']); - echo "\n"; - } - } - } elseif ($archive_mode == "postbypost") { - echo ''; - echo '"; - ?> - -
-
- - -

- [ - $authordata->user_level) or ($user_login == $authordata->user_login)) { - echo " - Edit"; - echo " - Delete "; - } - if ('private' == $post->post_status) echo ' - Private'; - ?> - ] -
- by (), in
- - -

- get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); - if ($comments) { - ?> - -

Comments

-
    - - - -
  1. - @ - $authordata->user_level) or ($user_login == $authordata->user_login)) { - echo "[ comment_ID."\">Edit"; - echo " - 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 "; - if ( ('none' != get_settings("comment_moderation")) && ($user_level >= 3) ) { - if ('approved' == wp_get_comment_status($comment->comment_ID)) { - echo " - ID."&comment=".$comment->comment_ID."\">Unapprove "; - } else { - echo " - ID."&comment=".$comment->comment_ID."\">Approve "; - } - } - echo " ]"; - } // end if any comments to show - ?> -
    - ( / ) (IP: ) - -
  2. - - - '; - }//end if comments - if ($comment_error) - echo "

    Error: please fill the required fields (name & comment)

    "; - ?> - -

    Leave Comment

    - - - - -
    - - " /> -
    -
    -
    -
    - -
    - - - -
    - - -

    - No results found. -

    - - - -
- - \ No newline at end of file