$lineas = file("fotos.txt");
	$cantidadlineas = count($lineas);
	for($i=0; $i < $cantidadlineas; $i++) {
		if ($lineas[$i] != "") {
			$elementos = split("\|", $lineas[$i]);
			if ($elementos[0] == "FOTO") {
				if ($elementos[1] == "$_GET[foto]") {
					echo "$elementos[3]
\n";
					echo " ";
				}
			}
		}
	}
	
?>
";
				}
			}
		}
	}
	
?>