diff --git a/classes/GDE/Acontecimento.inc.php b/classes/GDE/Acontecimento.inc.php
index 1d61dfc..a1a9ae0 100644
--- a/classes/GDE/Acontecimento.inc.php
+++ b/classes/GDE/Acontecimento.inc.php
@@ -137,9 +137,9 @@ public function getFoto($th = true) {
if($this->getOrigem() !== null)
return $this->getOrigem()->getFoto(true, $th);
elseif($this->tipo == self::TIPO_GDE)
- return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "../web/images/gde.gif";
+ return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "web/images/gde.gif";
elseif($this->tipo == 'gc')
- return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "../web/images/gde.gif";
+ return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "web/images/gde.gif";
}
public function Pode_Responder(Usuario $Usuario) {
@@ -201,9 +201,9 @@ public function Listar_Respostas(Usuario $Usuario = null) { // Soh usada para Us
*/
public static function TrataURL($url) {
if(preg_match('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', $url))
- return preg_replace('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', '', $url);
+ return preg_replace('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', '
', $url);
if(preg_match('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', $url))
- return preg_replace('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', '
', $url);
+ return preg_replace('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', '
', $url);
if(preg_match('/(http\:\/\/i.ytimg.com\/vi\/.*\/default.jpg)/i', $url))
return $url;
diff --git a/classes/GDE/Arvore.inc.php b/classes/GDE/Arvore.inc.php
index b3b5414..21a59fb 100644
--- a/classes/GDE/Arvore.inc.php
+++ b/classes/GDE/Arvore.inc.php
@@ -710,12 +710,12 @@ public function Inicializa_Mostra($meu = true) {
$div = "
arquivo."\" border=\"0\" width=\"".$largura."\" height=\"".$altura."\" alt=\"Arvore\" />