0) { while($row = mysql_fetch_array($result)) { /* Set up picture */ if($row[thumb] == 1) $da_pic = $row[image1]; elseif($row[thumb] == 2) $da_pic = $row[image2]; elseif($row[thumb] == 3) $da_pic = $row[image3]; else $da_pic = "nopic.jpg"; $da_pic = "$pix_dir_thumbs"."$da_pic"; $dapicsize = getimagesize($da_pic); /* Set up Price */ $special_price = number_format(($row[special_price] * $currency_rate), 2, '.', ''); $price = number_format(($row[price] * $currency_rate), 2, '.', ''); if(($special_price != 0) && ($special_price < $price)) $pricestring = "Special Offer - $currency_symbol$special_price
usually $currency_symbol$price"; else $pricestring = "Only $currency_symbol$price"; $description = str_replace("\n", "
", $row[description]); echo '
'; } } else { echo ""; } ?>
'; echo "
\"$row[name]\""; echo "
$cat_name - $row[name]$row[code]


$description

Click here for more information


$currency_symbol$pricestring
Add to shopping cart   
"; echo '
Sorry, there are currently no products in this category.

Go back