Ryan Studios
"; echo "".$links[$i].""; echo ""; } ?>
\"\"  

read()) { $entry = preg_replace("/ /","%20",$entry); $pos = strpos (strtolower($entry), ".jpg"); if (!($pos === false)) { $arr_pic[] = $dir."/".$entry; } } $d->close(); } @sort ($arr_pic); $total = sizeof($arr_pic); // navigation display if ( $pic<2) { $prev_url="?gal=".$gal."&pic=1"; } else { $prev_url='?gal='.$gal.'&pic='.($pic-1); } if ( $pic+1>$total) { $next_url="?gal=".$gal."&pic=".$pic; } else { $next_url='?gal='.$gal.'&pic='.($pic+1); } if ( $pic-10<1) { $skip_back_url='?gal='.$gal.'&pic=1'; } else { $skip_back_url='?gal='.$gal.'&pic='.($pic-10); } if ( $pic+10>$total) { $skip_url='?gal='.$gal.'&pic='.$total; } else { $skip_url='?gal='.$gal.'&pic='.($pic+10); } ?> Skip 10 | "; echo "Prev | "; echo $pic." of ".$total." | "; echo "Next | "; echo "Skip 10"; ?>

"; ?>
".$comment[$pic-1]."

"; } ?> Skip 10 | "; echo "Prev | "; echo $pic." of ".$total." | "; echo "Next | "; echo "Skip 10"; ?>

Copyright © 2004, Your Company, Inc. All rights reserved.

Valid HTML 4.01! Valid CSS!