Aupa, ya he metido la galeria coppermine...pero me sale este "error" todo se ve bien pero sale este texto por arriba. ¿como hago para quitarlo?¿que he echo mal?
and all vars except $theme $cpgCurrentTheme = $_SERVER["SCRIPT_NAME"]."?"; foreach ($_GET as $key => $value) { if ($key!="theme"{$cpgCurrentTheme.= $key . "=" . $value . "&";} } $cpgCurrentTheme.="theme="; // get list of available languages $value = $CONFIG['theme']; $theme_dir = 'themes/'; $dir = opendir($theme_dir); while ($file = readdir($dir)) { if (is_dir($theme_dir . $file) && $file != "." && $file != ".." { $theme_array[] = $file; } } closedir($dir); natcasesort($theme_array); //start the output switch ($parameter) { case 'table': $return = 'not yet implemented'; break; default: $return.= $lineBreak . '
' . $lineBreak; $return.= '' . $lineBreak; $return.= '
' . $lineBreak; } return $return; } ?>\"_blank\" class=\"document_link\">\n"; }*/ ?> ay('{TEXT}' => $lang_errors['no_img_to_display']); starttable('100%', $album_name); echo template_eval($template, $params); endtable(); } function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip) { global $HTTP_COOKIE_VARS, $CONFIG; echo << EOT; echo $nav_menu; endtable(); starttable(); echo $picture; endtable(); if ($CONFIG['display_film_strip'] == 1) { // starttable(); echo $film_strip; // endtable(); } starttable(); echo $votes; endtable(); $picinfo = isset($HTTP_COOKIE_VARS['picinfo']) ? $HTTP_COOKIE_VARS['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none'); echo "
\n"; starttable(); echo $pic_info; endtable(); echo "
\n"; starttable(); echo $comments; endtable(); } function theme_html_picinfo(&$info) { global $lang_picinfo; $html = ''; $html .= " \n"; $template = " \n"; foreach ($info as $key => $value) $html .= sprintf($template, $key, $value); return $html; } ?> g a 23/11/2003 13:20', 'filename_us' => 'Cambiar 2003_11_23_13_20_20.jpg a 11/23/2003 13:20', 'filename_time' => 'Cambiar 2003_11_23_13_20_20.jpg a 13:20', 'delete' => 'Borrar títulos de ficheros o imágenes de tamaño original', 'delete_title' => 'Borrar títulos de ficheros', 'delete_original' => 'Borrar imágenes de tamaño original', 'delete_replace' => 'Borra las imágenes originales, reemplazándolas con otras de tamaño nuevo', 'select_album' => 'Selecciona album', 'delete_orphans' => 'Borrar comentarios huérfanos (funciona en todos los albums)', //cpg1.3.0 'orphan_comment' => 'comentarios huérfanos encontrados', //cpg1.3.0 'delete' => 'Borrar', //cpg1.3.0 'delete_all' => 'Borrar todos', //cpg1.3.0 'comment' => 'Comentario: ', //cpg1.3.0 'nonexist' => 'asociado a un fichero no existente # ', //cpg1.3.0 'phpinfo' => 'Mostrar phpinfo', //cpg1.3.0 'update_db' => 'Actualizar base de datos', //cpg1.3.0 'update_db_explanation' => 'Si has reemplazado los ficheros de coppermine, añadido modificaciones o actualizado de una versión previa de coppermine, deberías ejecutar la actualización de base de datos. Esta acción creará las tablas necesarias y/o valores de configuración en la base de datos de coppermine.', //cpg1.3.0 ); ?>/cpg1.3.0 ); ?>ysql_free_result($result); // Retrieve the "private" album set if (!GALLERY_ADMIN_MODE && $CONFIG['allow_private_albums']) get_private_album_set(); if (!USER_IS_ADMIN && $CONFIG['offline'] && !strstr($_SERVER["SCRIPT_NAME"],'login')) { pageheader($lang_errors['offline_title']); msg_box($lang_errors['offline_title'], $lang_errors['offline_text']); pagefooter(); exit; } ?> (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate(); } //--> EOT; $html .= "\n"; return $html; } ?>
{$lang_picinfo['title']}