ID;
while($current_page) {
$page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'");
$current_page = $page_query->post_parent;
}
$parent_id = $page_query->ID;
$parent_title = $page_query->post_title;
if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) {
?>
' . get_bloginfo('name') . '', single_cat_title('', false) ) ?>
' . get_bloginfo('name') . '', get_the_time(__('l, F jS, Y','k2_domain'))) ?>
'.get_bloginfo('name').'', get_the_time(__('F, Y','k2_domain'))) ?>
'.get_bloginfo('name').'', get_the_time('Y')) ?>
%2$s\'.','k2_domain'),''.get_bloginfo('name').'', wp_specialchars($s)) ?>
%s.','k2_domain'), get_the_author()) ?>
'.get_bloginfo('name').'', get_query_var('tag') ) ?>
'.get_bloginfo('name').'') ?>
get_var("SELECT link_id FROM $wpdb->links LIMIT 1"); if($links_list_exist) { ?>