get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author = $user_ID"); if (1 < $user_level) { $editable = $wpdb->get_col("SELECT ID FROM $wpdb->users WHERE user_level <= '$user_level' AND ID != $user_ID"); $editable = join($editable, ','); $other_drafts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author IN ($editable) "); } else { $other_drafts = false; } if ($drafts || $other_drafts) { ?>

post_title = stripslashes($draft->post_title); if ($draft->post_title == '') $draft->post_title = sprintf(__('Post #%s'), $draft->ID); echo "$draft->post_title"; ++$i; } ?> .

post_title = stripslashes($draft->post_title); if ($draft->post_title == '') $draft->post_title = sprintf(__('Post #%s'), $draft->ID); echo "$draft->post_title"; ++$i; } ?> .


g:i:s a'); ?> post_status) _e(' - Private'); ?> View $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Edit') . ""; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Delete') . ""; } ?>
get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id ORDER BY comment_date"); if ($comments) { ?>

    comment_ID); ?>
  1. > @ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "[ comment_ID."\">" . __('Edit') . ""; echo " - ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . " "; if ( ('none' != $comment_status) && ($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 ?>