\n"; foreach (range(0,10) as $number) { $fileNameJPG = "media/images/products/$baseName$number.jpg"; $fileNameGIF = "media/images/products/$baseName$number.gif"; if ( file_exists($fileNameJPG) ) { $fileName = $fileNameJPG; $ext = ".jpg"; } elseif ( file_exists($fileNameGIF) ) { $fileName = $fileNameGIF; $ext = ".gif"; } else { $fileName = ""; } // uncomment to debug... // echo $fileNameJPG."
\n"; // echo $fileNameGIF."
\n"; if ( $fileName != "" ) { $last = strrpos($baseName,"/"); $smallImage = "media/images/products/" . substr_replace($baseName,"ss_size3/",$last,0) . $number . $ext; $mediumImage = "media/images/products/" . substr_replace($baseName,"ss_size1/",$last,0) . $number . $ext; $fullsize = "media/images/products/" . $baseName . $number . $ext; echo ""; echo "
"; echo ""; echo "\n"; $counter++; if ($counter == "5") { echo "\n"; $counter = "0"; } } } echo "\n\n"; }; ?> Corp Navy Blue *OUT OF STOCK
corpblue1
 

Corp Navy Blue *OUT OF STOCK

Price: $10.00
Size
....
  • ...
  • ...
  • ...
  • ...

...bold heading...

...

...

...

...

Product Reviews
  • ..
  • .........
  • ......
  • ...
  • ........
  • ....