Commit 073e2447ee41eecfc9373ffc299734c06701fcee
1 parent
96380b07
Exists in
master
and in
7 other branches
$1
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/php/classe_metaestat.php
... | ... | @@ -2596,12 +2596,13 @@ class Metaestat{ |
2596 | 2596 | if($ihora != ""){ |
2597 | 2597 | $hora = $linha[$ihora]; |
2598 | 2598 | } |
2599 | - $linhas[] = "INSERT INTO i3geo_metaestat.".$medidavariavel["tabela"]." (id_medida_variavel,codigoregiao,".$medidavariavel["colunavalor"].",ano,mes,dia,hora) VALUES ('$id_medida_variavel','".$linha[$icodigoregiao]."','".$linha[$ivalor]."','".$ano."','".$mes."','".$dia."','".$hora."')"; | |
2599 | + $li = "INSERT INTO i3geo_metaestat.".$medidavariavel["tabela"]." (id_medida_variavel,codigoregiao,".$medidavariavel["colunavalor"].",ano,mes,dia,hora) VALUES ('$id_medida_variavel','".$linha[$icodigoregiao]."','".$linha[$ivalor]."','".$ano."','".$mes."','".$dia."','".$hora."')"; | |
2600 | + $linhas[] = str_replace("''",'null',$li); | |
2600 | 2601 | } |
2601 | 2602 | } |
2602 | 2603 | } |
2603 | 2604 | fclose ($handle); |
2604 | - //var_dump($linhas); | |
2605 | + //var_dump($linhas[0]);exit; | |
2605 | 2606 | //pega a conexao |
2606 | 2607 | $c = $this->listaConexao($medidavariavel["codigo_estat_conexao"],true); |
2607 | 2608 | //gera o objeto pdo | ... | ... |
ferramentas/metaestat/upload.html
... | ... | @@ -34,7 +34,7 @@ body { |
34 | 34 | </form> |
35 | 35 | <br> |
36 | 36 | <div id="i3GEOadminEditorColunas" style="left: -5px;"></div> |
37 | - <iframe id="i3GEOuploadiframe" name="i3GEOuploadiframe" src="#" style="width: 0; height: 0; border: 0px solid #fff;"></iframe> | |
37 | + <iframe id="i3GEOuploadiframe" name="i3GEOuploadiframe" src="#" style="width: 0px; height: 0px; border: 1px solid #fff;"></iframe> | |
38 | 38 | <div id=logajax style="display: block"></div> |
39 | 39 | <script> |
40 | 40 | //recupera a variavel escolhida se existir |
... | ... | @@ -61,4 +61,4 @@ body { |
61 | 61 | i3GEO.login.verificaOperacao("admin/html/menus",i3GEO.configura.locaplic, temp, "sessao"); |
62 | 62 | */ |
63 | 63 | </script> |
64 | -</body> | |
65 | 64 | \ No newline at end of file |
65 | +</body> | ... | ... |