SELECT *, CASE WHEN `locality` LIKE "toccoa%" AND `slide_location` = "" AND `logo_file_name` IS NOT NULL THEN 10 WHEN `slide_location` = "" AND `logo_file_name` IS NOT NULL THEN 5 END as `rank` FROM `wp_slides` WHERE st = "GA" AND (locality IN ("toccoa") OR locality IS NULL) AND (cat IS NULL) AND name NOT IN ("home-top", "home-bot") AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND name NOT IN ("agent") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 6
Blah
SELECT *, "0" as `rank` FROM `wp_slides` WHERE st = "GA" AND (cat IS NULL) AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 6
Blah
$775,0003023 E Silver Shoals Rd LkToccoa GA 30577View Listing
$750,000595 Burnette RdToccoa GA 30577View Listing
$750,0003017 N Broad River RdEastanollee GA 30538View Listing
$749,00013 and 35 Edgewater TrlToccoa GA 30577View Listing
$600,00013 Acres Addington and Skyline DrToccoa GA 30577View Listing
$585,000896 Fernside DrToccoa GA 30577View Listing
$579,900N Akins Bridge RdEastanollee GA 30538View Listing
$559,000321 Spring Branch CirToccoa GA 30577View Listing
$555,0004147 Nub Garland RdToccoa GA 30577View Listing
LIGHTBOX-IMAGES
LENDORS & TITLE COMPANIES
SELECT *, "0" as `rank` FROM `wp_slides` WHERE st = "GA" AND (cat = "lenders" OR cat IS NULL) AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 6
Blah