= '" . date("Y-m-d") . "' #AND dataEvento <= '" . date("Y-m-d") . "' AND ( homePage = 'si' OR homePage = 'pr' ) ORDER BY homePage != 'pr', dataFineEvento ASC, dataEvento ASC LIMIT 8"; $ultimoEvento = mysql_query($query_ultimoEvento, $conn); ?> -