ceramic tiles tiling floors tiling walls tile products south africaceramic tiles tiling floors walls tile products south africaceramic tiles tiling floors walls tile products south africaceramic tiles tiling floors walls tile products south africaceramic tiles tiling floors walls tile products south africaceramic tiles tiling floors walls tile products south africaceramic tiles tiling floors walls tile products south africa
<? print $ealt; ?>ceramic tiles tiling floors tiling walls tile products south africa
ceramic tiles tiling floors walls tile products south africa
ceramic tiles tiling floors tiling walls tile products south africa ceramic tiles tiling floors tiling walls tile products south africa

 

All prices are VAT inclusive.

A tile in a category which is on special is represented in green.

"; $conn=pg_connect("dbname=uctiles user=sqluser password=iadmin"); $sql="select * from products where category=$category order by price"; $result=pg_exec($conn,$sql); if (pg_numrows($result) > 0) { $line=0; //clear the cache for the file_exists function clearstatcache(); print ""; while ($line < pg_numrows($result)) { $display=pg_fetch_array($result,$line); $rec=$display[record]; //check if tile has a gallery $sql="select * from images where tileid=$rec"; $galleryres=pg_exec($conn,$sql); if (pg_numrows($galleryres) > 0) { $gallery="true"; } else { $gallery="false"; } $grade_id=$display[grade]; if ($grade_id !="") { if ($grade_id=="1") $grade="1st Grade"; if ($grade_id=="2") $grade="2nd Grade"; if ($grade_id=="3") $grade="Commercial Grade"; } else $grade=""; if ($display[toptile]=="Y") $fontcolor="green"; else $fontcolor="black"; $mprice=$display[mprice]; $bname=$display[bname]; $texture=$display[texture]; $finish=$display[finish]; if ($texture==0){$texture="None";} if ($texture==5){$texture="Rough";} if ($finish==0){$finish="Matt Finish";} if ($finish==5){$finish="Shiny Finish";} //work out the value of the image field using the value of the code $pos = strpos($display[code]," "); if ($pos === false) $image=$display[code]; else $image=substr($display[code],0,$pos); $file="/home/httpd/html/u/uctiles/morepics/" . $image . "_1.jpg"; if (file_exists($file)) { print "

"; print "More Pictures"; } $file="/home/httpd/html/u/uctiles/products/$display[image]"; if (file_exists($file)){$image="";} else{$image="No Image";} $gallerylink="Picture Gallery"; print "

\n\t

"; $line++; } print "

\n"; // Table inside a table print ""; // print ""; print ""; print "
$delete | $modify | $addpic | $gallery
"; // Another table inside a table print "\n"; if ($bname!=""){ print "\t\n\t\t\n"; print "\t\t\n\t\n"; } else print ""; print "\t\n\t\t\n\t\t\n\t\n"; if ($grade!="") print "\t\n\t\t\n\t\t\n\t\n"; else print ""; print "\t\n\t\t\n\t\t\n\t\n"; print "\t\n\t\t\n\t\t\n\t\n"; print "\t\n\t\t\n\t\n"; if ($mprice >1) { print "\t\n\t\t\n\t\t\n\t\n"; } else print ""; print "\t\n\t\t\n\t\t\n\t\n"; print "\t\n\t\t\n"; print "\t\t\n"; print "\t\n
Brand Name:$bname
Name:$display[name]
Grade:$grade
Texture:$texture
Finish:$finish
Code:$display[code]
Market Price:"; print "R " . number_format($mprice,2) . " / mē
Our Price:"; print "R " . number_format($display[price],2) . " / mē
Size:" . nl2br($display[description]) . "

\n"; if ($gallery =="true"){ print "
$gallerylink
\n";} // End of table inside a table print "
$image
"; // End of another table inside a table print "

"; } else { print "There are currently no $title in the "; print "database.

"; } ?>

 

Home | Floor Tiles | Wall Tiles | Kitchen and Bathroom Basins | Tile Accessories | Low Cost Tile Prices | Tile Laying | Tile Treatment and Tiled Floor Care | Contact Details | Sitemap | Tiling | Italian Tiles | Wholesale Tiles | Building Materials | Bathroom Tiles | Ceramic Tile Design | Porcelain Floor Tiles | Links |