"; echo ""; echo ""; # TODO - show icons for extras - map gallery video pano download echo "\n"; } ?>
"; echo ($post->featured == "featured") ? '' . __('Featured','greatrealestate') . '
' : ""; echo ($post->post_status == "publish") ? __("Published",'greatrealestate') : __("Unpublished",'greatrealestate') ; echo "
"; echo '' . __('View','greatrealestate') . ''; echo "
"; echo 'ID . '">' . __('Edit','greatrealestate') . ''; echo "
"; if ($post->galleryid) { the_listing_thumbnail(); } else { # TODO - link to "No Picture" gif echo "" . __('Create a
Gallery','greatrealestate') . "
"; } echo "
"; echo $post->post_title; echo ""; the_listing_status(); echo ""; the_listing_listdate(); echo "
"; the_listing_listprice(); echo "
"; the_listing_saledate(); echo "
"; the_listing_saleprice(); echo "
posts wposts, $wpdb->gre_listings listings WHERE wposts.ID = listings.pageid AND wposts.post_type = 'page' ORDER BY FIELD(wposts.post_status,'publish','draft'),FIELD(listings.status,1,4,2,5,3,6),wposts.post_title ASC "; $pageposts = $wpdb->get_results($querystr, OBJECT); return $pageposts; } ?>