Commit 5adeefa0f926cd5b10abb83861e8028626b439ca

Authored by Edmar Moretti
1 parent 69ac034f

Criação da ferramenta Geonames com opção opentouchmap, inserida como um sistema …

…adicional na ferramenta de identificação
admin/admin.db
No preview for this file type
ferramentas/geonames/opentouchmaps.php 0 → 100644
... ... @@ -0,0 +1,27 @@
  1 +<html>
  2 +<head>
  3 +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
  4 +<script type="text/javascript" src='../../classesjs/classe_util.js' ></script>
  5 +<script type="text/javascript" src='../../classesjs/classe_social.js' ></script>
  6 +<style>
  7 +p {
  8 +color:#2F4632;
  9 +font-family:Verdana,Arial,Helvetica,sans-serif;
  10 +font-size:12px;
  11 +text-align:left;
  12 +}
  13 +</style>
  14 +</head>
  15 +<body style="background-color:white;margin:10px;text-align:left">
  16 +<?php
  17 +$d = "http://www.opentouchmap.org/?lat=".$_GET["y"]."&lon=".$_GET["x"]."&zoom=12%20lat:".$_GET["y"]."%20lon:".$_GET["x"];
  18 +echo "<p>O c&oacute;digo de barras abaixo pode ser lido por dispositivos m&oacute;veis, como os celulares ou pdas.";
  19 +echo "<p>Se o seu dispositivo possuir o software adequado, fotografe o c&oacute;digo para abrir o navegador de internet ou clique no link.";
  20 +echo "<p><a href='$d' >$d</a><br>";
  21 +echo "<img src='../../pacotes/qrcode/php/qr_img.php?d=$d' />";
  22 +?>
  23 +<div id=i3GEOcompartilhar style="text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div>
  24 +<script>
  25 +i3GEO.social.compartilhar("i3GEOcompartilhar","<?php echo $d;?>","<?php echo $d;?>","","../..");
  26 +</script>
  27 +</body>
0 28 \ No newline at end of file
... ...
ferramentas/identifica/index.js.php
... ... @@ -507,26 +507,29 @@ i3GEOF.identifica = {
507 507 */
508 508 buscaDadosTema: function(tema){
509 509 var res,opcao,resolucao,listaDeTemas="",temp;
510   - $i("i3GEOidentificaocorrencia").innerHTML = "<img src='"+i3GEO.configura.locaplic+"/imagens/aguarde.gif' />";
511   - res = $i("i3GEOidentificaresolucao");
512   - if(res)
513   - {resolucao = res.value;}
514   - else
515   - {res = 5;}
516   - i3GEO.mapa.ativaTema(tema);
517   - //var resolucao = "0.01"
518   - if (tema === "ligados")
519   - {opcao = "ligados";}
520   - else
521   - {opcao = "tema";}
522   - temp = function(retorno){
523   - i3GEOF.identifica.dadosIdentifica = retorno.data;
524   - if(retorno !== undefined)
525   - {i3GEOF.identifica.mostraDadosTema(i3GEOF.identifica.dadosIdentifica);}
  510 + try{
  511 + $i("i3GEOidentificaocorrencia").innerHTML = "<img src='"+i3GEO.configura.locaplic+"/imagens/aguarde.gif' />";
  512 + res = $i("i3GEOidentificaresolucao");
  513 + if(res)
  514 + {resolucao = res.value;}
526 515 else
527   - {i3GEOF.identifica.mostraDadosTema(undefined);}
  516 + {res = 5;}
  517 + i3GEO.mapa.ativaTema(tema);
  518 + //var resolucao = "0.01"
  519 + if (tema === "ligados")
  520 + {opcao = "ligados";}
  521 + else
  522 + {opcao = "tema";}
  523 + temp = function(retorno){
  524 + i3GEOF.identifica.dadosIdentifica = retorno.data;
  525 + if(retorno !== undefined)
  526 + {i3GEOF.identifica.mostraDadosTema(i3GEOF.identifica.dadosIdentifica);}
  527 + else
  528 + {i3GEOF.identifica.mostraDadosTema(undefined);}
  529 + }
  530 + i3GEO.php.identifica2(temp,i3GEOF.identifica.x,i3GEOF.identifica.y,resolucao,opcao,i3GEO.configura.locaplic,i3GEO.configura.sid,tema,i3GEO.parametros.mapexten,listaDeTemas);
528 531 }
529   - i3GEO.php.identifica2(temp,i3GEOF.identifica.x,i3GEOF.identifica.y,resolucao,opcao,i3GEO.configura.locaplic,i3GEO.configura.sid,tema,i3GEO.parametros.mapexten,listaDeTemas);
  532 + catch(e){i3GEOF.identifica.criaJanelaFlutuante()}
530 533 },
531 534 /*
532 535 Function: mostraDadosSistema
... ...
ferramentas/identifica/twitter.php
1 1 <html>
2 2 <head>
3 3 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
4   -<link rel="stylesheet" type="text/css" href="../../css/i3geo.css.php">
  4 +<link rel="stylesheet" type="text/css" href="../../css/i3geo45.css.php">
5 5 </head>
6 6 <body style="background-color:white;margin:10px">
7 7 <?php
... ...
ferramentas/identifica/twitterplaces.php
1 1 <html>
2 2 <head>
3 3 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
4   -<link rel="stylesheet" type="text/css" href="../../css/i3geo.css.php">
  4 +<link rel="stylesheet" type="text/css" href="../../css/i3geo45.css.php">
5 5 </head>
6 6 <body style="background-color:white;margin:10px">
7 7 <?php
... ...