table = $tbl_subcat; $db->where = "parent_id=$rc"; $db->order = "orderno"; $db->mysql_get(); $arrSubcat = $db->allitems; $min_subcat_id = $arrSubcat[0]['id']; //pid if (isset($_REQUEST['sc'])&&!empty($_REQUEST['sc'])){ $sc = $_REQUEST['sc']; }else{ $sc = $min_subcat_id; } $db->table = $tbl_pdt; $db->where = "cat_id=$sc"; $db->order = "orderno"; $db->pagesize = 8; $page = isset($_GET['page'])?$_GET['page']:1; $db->page= $page; $db->pager(); $arrPdt = $db->allitems; $min_pdt_id = $arrPdt[0]['id']; if (isset($_REQUEST['pid'])&&!empty($_REQUEST['pid'])){ $pid = $_REQUEST['pid']; }else{ $pid = $min_pdt_id; } $db->table = $tbl_pdt; $db->where = "id=$pid"; $db->mysql_get_row(); $pdt = $db->item; switch ($rc) { case "1": $img = 'top_title_diamond.gif'; break; case "2": $img = 'top_title_pearl.gif'; break; case "3": $img = 'top_title_Opal.gif'; break; case "4": $img = 'top_title_antique.gif'; break; case "5": $img = 'top_title_collection.gif'; break; default: break; } ?> Reverie Jewellery :: Diamond, Pearls, Opals, Antique, Collection
 
 
 
 
  0){ ?>
 
Price:
 
 
 
1){ ?>
 
numpage){ ?>