get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static' AND post_author = $user_ID"); } else { $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static'"); } if ($posts) { ?>
View $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Edit') . ""; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Delete') . ""; } ?>

0) { $action = 'post'; get_currentuserinfo(); //set defaults $post_status = 'static'; $comment_status = get_settings('default_comment_status'); $ping_status = get_settings('default_ping_status'); $post_pingback = get_settings('default_pingback_flag'); $post_parent = 0; $page_template = 'default'; include('edit-page-form.php'); } ?>