get_results("SELECT ID, post_title FROM $tableposts WHERE post_status = 'draft' AND post_author = $user_ID"); if ($drafts) { ?>

Your Drafts: post_title = stripslashes($draft->post_title); if ($draft->post_title == '') $draft->post_title = 'Post #'.$draft->ID; echo "$draft->post_title"; ++$i; } ?> .

Show Posts That Contain...
ID When Title Categories Comments Author Edit Delete
g:i:s a'); ?> post_status) echo ' - Private'; ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "Edit"; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "Delete"; } ?>
No posts found.
get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); if ($comments) { ?>

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('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">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 ?>

    Back to posts