Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
db = window.sqlitePlugin.openDatabase({name: "DB"}); db.transaction(function(tx) { // Cria a Tabela "tabela_testes" tx.executeSql('CREATE TABLE IF NOT EXISTS funcionarios (id integer primary key, nome text, matricula text, cargo text, setor text, email text, ramal text)'); // Adiciona um elemento a tabela // tx.executeSql("INSERT INTO funcionarios (nome, matricula, cargo, setor, email, ramal) VALUES (?,?,?,?,?,?)", ["Fulano de Tal", "077", "COORDENADOR", "GIC", "email@meuemail.com", "69448"]); // Faz uma busca na tabela tx.executeSql("SELECT * FROM funcionarios WHERE id="+idFuncionario+";", [], function(tx, res) { // alert("Quantidade Resultados: " + res.rows.length); for (var i = 0;i<res.rows.length;i++) { // alert("Quantidade Resultados: " + res.rows.item(i).nome); // lista.html("<li><h3>" + res.rows.item(i).nome + "</h3></li>"); lista.html("<p><strong>"+res.rows.item(i).nome+"</strong><br/>"+res.rows.item(i).cargo+"<br/>"+res.rows.item(i).setor+"<br/>"+res.rows.item(i).ramal+"<br/>"+res.rows.item(i).email+"</p>"); //hashtagsmounted += "<li class='hashtagItem ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-last-child ui-btn-up-b' data-corners='false' data-shadow='false' data-iconshadow='true' data-wrapperels='div' data-icon='false' data-iconpos='right' data-theme='b' onclick='findPhotos($(this));' data-hashtag-id='" + res.rows.item(i).id + "' data-hashtag='" +res.rows.item(i).hashtag + "'><div class='ui-btn-inner ui-li'><div class='ui-btn-text'><a href='#' data-ajax='false' class='ui-link-inherit'><i class='icon-picture'></i> " + res.rows.item(i).hashtag + "</a></div></div></li>"; //hashtagsmounted += '<li onclick="clickFuncionario('+res.rows.item(i).id+');" data-filtertext="'+res.rows.item(i).nome+'" class="ui-last-child"><a href="#two" class="pessoaBtn ui-btn ui-btn-icon-right ui-icon-carat-r">'+res.rows.item(i).nome+'<br/>'+res.rows.item(i).cargo+' - '+res.rows.item(i).setor+'</a></li>'; //listaInicial.html(hashtagsmounted); } //alert(hashtagsmounted); // $("#hashtagList").html(""); // $("#hashtagList").html(hashtagsmounted); }); });