| $dir = $row_DetailRS1['ID'];
if(!is_dir("images/$dir")) /* does folder not exist? */
{
/* make the directory if it does not exist*/
mkdir("images/$dir", 0777);
chmod("images/$dir", 0777);
}
$fd = opendir("images/$dir");
while($entry = readdir($fd)) {
/* this section for the thumbnailed images */
if(preg_match("/thumb\.(jpg|gif|png)$/i",$entry)) { /* search for *_thumb.jpg and select */
$entryfull = str_replace("_thumb.jpg",".jpg",$entry); /* replacing _thumb.jpg with .jpg */
$entryfull = str_replace("_thumb.JPG",".JPG",$entryfull); /* replacing _thumb.jpg with .jpg */
$entryfull = rawurlencode($entryfull);
echo "";
echo " "; $fd = opendir("images/$dir"); while($entry = readdir($fd)) { /* this section for the text links. */ if(preg_match("/thumb\.(jpg|gif|png)$/i",$entry)) { } elseif(preg_match("/\.(jpg|gif|png)$/i",$entry)) { $entrytext = preg_replace("/\.jpg$/i","",$entry); echo ""; echo "$entrytext"; echo " - \n"; } } closedir($fd); ?> |
ID | 190 |
| Year | 1970 | |
| Make | Ford | |
| Model | Mustang | |
| Bodystyle | Fastback Mach 1 | |
| Engine | 351 4V V8 | |
| Trans | 4 speed manual | |
| VIN | OF05M154033 | |
| Price | $20,900 | |
Good dry straight Mach 1 for resto. Valuable fastback when completed, check the option list (Marti report). Note 4 speed toploader is not in car, but this is an easy box to source locally. Original exterior colour, Bright Blue Metallic with Black interior. Options
Due mid May |
||
