Inland Andalucia Property in Competa,Torrox,Archez,Sayalonga,Sedella,Canillas
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'js_flashrotator, modules\' at line 11 SQL=SELECT p.*, a.id AS agentid, a.name AS agent, a.user AS user, c.name AS company, c.id AS companyid, t.name AS type, p.type AS typeid \n FROM (jos_hp_properties AS p, jos_hp_companies AS c)\n LEFT JOIN jos_hp_agents AS a ON p.agent = a.id\n LEFT JOIN jos_hp_prop_types AS t ON p.type = t.id\n LEFT JOIN jos_hp_featured AS f ON f.property = p.id\n WHERE p.published=\'1\' AND p.approved=\'1\' AND t.published=\'1\'\n AND a.company=c.id\n AND (publish_up = \'0000-00-00 00:00:00\' OR publish_up <= NOW())\n AND (publish_down = \'0000-00-00 00:00:00\' OR publish_down >= NOW()) AND agent=\'8\'\nORDER BY p.price asc\nLIMIT js_flashrotator, modules