get($options); if($result->count() == 0) { redirect("shop.htm"); } // end if $cat = $result->fetch(); include("head.inc"); ?> cat_id'"; $options["sort"] = "cat_index"; $result = $db->get($options); if($result->count() > 0) { while($row = $result->fetch()) { ?> cat_id'", "prod_avail=1"); $options["sort"] = "prod_cat_index"; $result = $db->get($options); while($row = $result->fetch()) { ?>
/ Products $cat_tmp->cat_id, "cat_name" => $cat_tmp->cat_name); while($cat_tmp->parent_id != "") { $options = array(); $options["table"] = "cat"; $options["fields"] = array("cat_id", "cat_name", "parent_id"); $options["filter"] = "cat_id='$cat_tmp->parent_id'"; $result = $db->get($options); if($result->count() == 0) { break; } // end if $cat_tmp = $result->fetch(); $breadcrumbs[] = array("cat_id" => $cat_tmp->cat_id, "cat_name" => $cat_tmp->cat_name); } // end while $breadcrumbs = array_reverse($breadcrumbs); foreach($breadcrumbs as $breadcrumb) { ?>  / ">
 cat_name ?> cat_desc) { ?>    -  cat_desc ?>

Products

prod_name ?>