Fatal error: Uncaught exception 'Exception' with message '<b>Camada :</b> Dados, <b>Classe : </b>Imagem/listar, <b>Linha</b> : 258<br />SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND i.tipo="topo" AND c.idioma="pt" ORDER BY ordem' at line 1' in /home/cp30121/public_html/classes/dados/imagem.php:285 Stack trace: #0 /home/cp30121/public_html/modules/pages/pacotes_e_promocoes.php(23): ImagemDados->listar('c.id_categoria=...', 'ordem', 'conteudo', 'alter') #1 /home/cp30121/public_html/index.php(71): include('/home/cp30121/p...') #2 {main} thrown in /home/cp30121/public_html/classes/dados/imagem.php on line 285