"; $count = 1; $handle = fopen($gallery."/data.txt", "r"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle); if ($count == $photo) { $one = trim($buffer); } else { } $count++; } fclose($handle); } else { } $explode = explode("|",$one); echo stripslashes($explode[1]); $size = getimagesize($gallery."/".$photo.".jpg"); echo "

 

\"".stripslashes($explode[1])."\"

".stripslashes($explode[2])."

"; include("shadow-other-photos.php"); echo "
".$prev_code." ".$next_code."
"; ?>