diff --git a/wp-admin/index.php b/wp-admin/index.php index fc4dbe50a..8a5122630 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -1,14 +1,121 @@ -get_currentuserinfo(); - -if (0 == $user_level) { - $redirect_to = get_settings('siteurl') . '/wp-admin/profile.php'; -} else { - $redirect_to = get_settings('siteurl') . '/wp-admin/post.php'; +
There are currently posts and comments, contained within categories.
+
+
+
+
+
+ get_results("SELECT ID, post_title FROM $tableposts WHERE post_status = 'draft' AND post_author = $user_ID");
+if ($drafts) {
+ ?>
+ post_title = stripslashes($draft->post_title);
+ if ($draft->post_title == '')
+ $draft->post_title = sprintf(__('Post #%s'), $draft->ID);
+ echo "$draft->post_title";
+ ++$i;
+ }
+ }else{
+ echo ('No Entries found.');
+ }
+ ?>
+