From 0e77fa23a5d079de94ebae618da1b7189b5b2ec0 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 12 Mar 2009 15:06:49 +0000 Subject: [PATCH] Correção na verificação de erros de timeout --- ferramentas/buscafotos/funcoes.php | 3 +++ ferramentas/buscafotos/index.htm | 8 ++++---- ferramentas/buscafotos/index.js | 8 +++++++- ferramentas/i3geo_tudo_compacto.js | 1581 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------- ferramentas/i3geo_tudo_compacto.js.php | 1581 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------- ferramentas/wiki/funcoes.php | 2 +- ferramentas/wiki/index.js | 2 ++ 7 files changed, 2947 insertions(+), 238 deletions(-) diff --git a/ferramentas/buscafotos/funcoes.php b/ferramentas/buscafotos/funcoes.php index f5274eb..a8a5a57 100644 --- a/ferramentas/buscafotos/funcoes.php +++ b/ferramentas/buscafotos/funcoes.php @@ -4,6 +4,7 @@ require_once("../../classesphp/pega_variaveis.php"); require_once("../../pacotes/cpaint/cpaint2.inc.php"); require_once("../../ms_configura.php"); require_once("../../pacotes/phpflickr/phpFlickr.php"); +error_reporting(0); $cp = new cpaint(); if($funcao == "listafotosflickr") {$cp->register('listafotosflickr');} @@ -33,6 +34,8 @@ function listafotospanoramio() global $ret, $cp,$ai,$af; $ret = explode(" ",$ret); $resultado = ""; + //echo "http://www.panoramio.com/map/get_panoramas.php?order=upload_date&set=public&from=".$ai."&to=".$af."&minx=".$ret[0]."&miny=".$ret[1]."&maxx=".$ret[2]."&maxy=".$ret[3]."&size=thumbnail"; + //return; $recent = file_get_contents("http://www.panoramio.com/map/get_panoramas.php?order=upload_date&set=public&from=".$ai."&to=".$af."&minx=".$ret[0]."&miny=".$ret[1]."&maxx=".$ret[2]."&maxy=".$ret[3]."&size=thumbnail"); $recent = str_replace("\n","",$recent); $recent = str_replace("'","",$recent); diff --git a/ferramentas/buscafotos/index.htm b/ferramentas/buscafotos/index.htm index f4a9852..5cc9f07 100644 --- a/ferramentas/buscafotos/index.htm +++ b/ferramentas/buscafotos/index.htm @@ -21,17 +21,17 @@ De qualquer forma, são mostrados no máximo 250 registros. O ano diz respeito a inclusão da foto no Flickr

Texto: -

Ano inicial: -  Ano final: +

Ano inicial: +  Ano final:

Flickr - Panoramio + Panoramio Locr

-
Aguarde...
+