</div> <br class="clear" /> </div> <?php } else { // have_posts() ?> <div class="clear"></div> <p><?php _e('No posts found'); ?> </p> <?php } ?> </form> <?php inline_edit_row('post'); ?> <div id="ajax-response"></div> <br class="clear" /> </div> <?php include 'admin-footer.php';
} else { ?> <div class="clear"></div> <p><?php _e('No pages found.'); ?> </p> <?php } // end if ($posts) ?> </form> <?php inline_edit_row('page'); ?> <div id="ajax-response"></div> <?php if (1 == count($posts) && is_singular()) { $comments = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->comments} WHERE comment_post_ID = %d AND comment_approved != 'spam' ORDER BY comment_date", $id)); if ($comments) { // Make sure comments, post, and post_author are cached update_comment_cache($comments); $post = get_post($id); $authordata = get_userdata($post->post_author); ?>
</div> <?php } else { // have_posts() ?> <div class="clear"></div> <p><?php if (isset($_GET['post_status']) && 'trash' == $_GET['post_status']) { printf(__('No %s found in the Trash.'), $post_type_object->label); } else { printf(__('No %s found.'), $post_type_object->label); } ?> </p> <?php } ?> </form> <?php inline_edit_row($current_screen); ?> <div id="ajax-response"></div> <br class="clear" /> </div> <?php include './admin-footer.php';