select * from popup where 1=1 and (dataini<='2018-07-17 14:25:47' and datafim>='2018-07-17 14:25:47') and mostrar='A' order by datafim ASC LIMIT 1
Rua Duque de Caxias, N° 8, Centro Histórico, João Pessoa - PB em frente à Igreja de São Francisco, - Fone: (83) 3242-3726