--AUTO--(META_DATA)--AUTO-- if($('body').width() < 768){ $('.nav-custom li a').find('br').remove(); $('.top-bar-relative').removeClass('top-bar-light'); $('.top-bar-relative').addClass('top-bar-dark'); } $("#download").on("click", function() { ga('send', 'event', 'download', 'clique'); }); // $('.popover-dismiss').popover({ // }).popover('show'); /* popover-dismiss data-toggle="popover" data-content="Com IOF incluso." data-trigger="hover" data-toggle="popover" data-placement="bottom" */ /*var id = $(".switch").val(); if($(this).is(":checked") == true){ $('[name=tipo]').val('2'); }else{ $('[name=tipo]').val('1'); }*/ setTimeout(function(){ jQuery.ajax({ url: 'ajax-fn?function=cotacao_site', dataType: '', // data:{p1:2}, data:{p1:2}, success: function(o){ $("#esteira").html(o); $('.esteira-completa').marquee({ duration: 25000, gap: 0, pauseOnHover: true }); }, async:false }); }, 500); $(".switch").on("change", function(){ var id = $(this).val(); if($(this).is(":checked") == true){ $('[name=tipo]').val('2'); }else{ $('[name=tipo]').val('1'); } jQuery.ajax({ url: 'ajax-fn.php?function=cotacao_site', dataType: '', data:{p1:$('[name=tipo]').val()}, success: function(o){ $("#esteira").html(o); $('.esteira-completa').marquee({ duration: 20000, gap: 0, pauseOnHover: true }); setTimeout(function(){ //console.log('ccccc') $('.mensagem').popover(); },1000) }, async:false }); }); $('.navbar-toggle').click(function() { $('.navbar-menu').toggleClass('open'); }); string(204) "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 '))' at line 3"
Fatal error: Uncaught Error: Call to a member function columnCount() on string in /var/www/html/lib/dbase2/dbase_pdo.php:76 Stack trace: #0 /var/www/html/lib/dbase2/dbase_pdo.php(1446): Drows->__construct('QUERY ERROR') #1 /var/www/html/lib/dbase2/dbase_pdo.php(2701): Dbase->select(Object(DB_Obj)) #2 /var/www/html/lib/dbase2/dbase_pdo.php(3968): DB_Obj->select() #3 /var/www/html/page/jornada.php(126): DB_Class->loadAll('', 'tipo_desconto =...') #4 /var/www/html/lib/parser_page.php(891): page_begin_jornada(Array) #5 /var/www/html/lib/parser_page.php(1257): include_page('jornada', Array, NULL) #6 /var/www/html/page.php(41): parser_entidade('jornada', NULL, '<!DOCTYPE html>...', '\r\n<!-- END CONT...') #7 {main} thrown in /var/www/html/lib/dbase2/dbase_pdo.php on line 76