SELECT * FROM cs WHERE id_ap = 'PRAMT' AND rs = '1' AND fonte > ' ' UNION SELECT C.* FROM cs C JOIN cs_ap CA ON (C.id=CA.id_cs) WHERE CA.id_ap = 'PRAMT' AND id_lingua = 'it' AND rs = '1' AND fonte > ' ' ORDER BY data DESC, id DESC, titolo ASC LIMIT -10, 10