Products in the category : get_cclass_name().(strlen(trim($oclass->get_cmemo()))>0 ? " (".$oclass->get_cmemo().")" : "" ));?>
If a product has an image, click on it to see more pictures. ">
"> mDB_get_aproducts(true); //true for getting thumbnail image objects with the products $nnumprods=count($aprods); if($nnumprods>0){ ?>get_oproduct_thumb())){ //the whole row will be a link to pics, so make a link to be used in each $oproduct_thumb=$aprods[$i]->get_oproduct_thumb(); $clinkstart =''; $clinkend=""; } //this middle stuff gets printed no matter if there are pics or not (links will be there if necessary). printf("\n" ,$clinkstart ,$aprods[$i]->get_cproduct_code() ,$clinkend ,$clinkstart ,$aprods[$i]->get_xdescription() ,$clinkend ,$clinkstart ,$aprods[$i]->get_cunit_packing() ,$clinkend); if (is_object($aprods[$i]->get_oproduct_thumb())){ //show the thumbnail image printf("%s\n" ,$clinkstart ,$oproduct_thumb->gen_link() ,$oproduct_thumb->get_xdescription() ,$clinkend); } ?>
Product Code Description Unit Image
%s%s%s%s%s%s%s%s%s%s\"%s\"\n
No Products in category: '".$cclasscode."'. Sorry."); } ?>