query($sql.$sql_limit); include("paging.php"); //$row_data = $db->getrow($sql); $num_records = $db->getnumrow($sql); $i=0; while ($row = $db->fetch_array($result)) { $mainphoto=get_attachment("product",$row["id"],"mainphoto"); $mainphoto_s=add_prefix($mainphoto,'s'); if($i==0) $print_product.='
';
$print_product.='
| ';
if(($i-2)%3==0){
$print_product.='
|
|||||
| include('menu.php'); ?> | |||||
|
|||||
| include('footer.php'); ?> |