?php // configuração define("THUMBS_PATH", "thumbs/"); define("IMAGES_PATH", "imagens/"); define("BLOGS_PATH", "blogs/"); define("TITLES_FILE", "titulos.csv"); define("NUM_COLUMNS", 5); define("MAX_IMAGE_WIDTH", 700); define("MAX_IMAGE_HEIGHT", 466); define("COMMENT_HEIGHT", 100); define("MAX_THUMB_WIDTH", 100); define("MAX_THUMB_HEIGHT", 100); define("MIN_DIVFOTO_WIDTH", 450); define("MIN_DIVFOTO_HEIGHT", 300); define("BLOG_WIN_WIDTH", 600); define("BLOG_WIN_HEIGHT", 430); // recupera titulos function recuperaTitulos() { $titulo = array(); $Linhas = @file(TITLES_FILE); if ($Linhas) { foreach($Linhas as $linha) { $pedacos = explode(';', $linha); $titulo[strtolower($pedacos[0])] = $pedacos[1]; } } return $titulo; } function nextEntry($d) { do { $next = $d->read(); } while(strpos($next, '.xml') > 0 OR strpos($next, '.csv') > 0 ); return $next; } function nomeArquivos($path) { $d = dir($path); $nomes = array(); while (false !== ($entry = nextEntry($d))) { if (strpos($entry, ".") > 0) $nomes[] = $entry; } $d->close(); sort($nomes); return array_merge(array("#"), $nomes, array("#")); } function unhtmlentities($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } function maxImageSize($imageURL, $maxWidth, $maxHeight) { $size = getimagesize($imageURL); if ($size[1] > $maxHeight) { $size[0] = $maxHeight * $size[0] / $size[1]; $size[1] = $maxHeight; } if ($size[0] > $maxWidth) { $size[1] = $maxWidth * $size[1] / $size[0]; $size[0] = $maxWidth; } return array('width' => intval($size[0]), 'height' => intval($size[1]), 'str' => sprintf("width=\"%d\" height=\"%d\"", $size[0], $size[1])); } ?> Album de fotos

> Clique nas imagens para ampliar


Fatal error: Call to undefined function recuperaTitulos() in /home/canil/public_html/monteoliveti/img/galeria/semanasanta2009/index.php on line 28