get($_SESSION["username"]); $priceset_id = 0; if(count($customer_data) > 0) $priceset_id = $customer_data[0][11]; $priceset = new Priceset(); $product= new Product(); $price = new Price(); $tmp_priceset = $priceset->get($priceset_id); $netto = 0; if(count($tmp_priceset) > 0) $netto = $tmp_priceset[0][2]; ?>
get($search_category); if(count($tmp) > 0) { echo "Kategorie: ".$tmp[0][1].""; } } ?> getAvailableByFilter($search_product, $search_category, $item_offset, $item_count); $count = $product->getCountByFilter($search_product, $search_category); for($i = 0; $i < count($list); $i++) { if($list[$i][0] == "") continue; echo "\t\n"; echo "\t\t\n"; echo "\t\t\n"; echo "\t\t\n"; echo "\t\t\n"; echo "\t\n"; } ?>
ProduktNr. Bezeichnung Anmerkung Preis
".$list[$i][0]."".$list[$i][1]."".$list[$i][2]."".number_format($price->getPriceTax($priceset_id, $list[$i][0], $netto, $list[$i][4]), 2)."
zurück "; $page_count = $count[0][0]/$item_count; $start = ($item_offset/$item_count) - 2; if($start < 0) $start = 0; for($i = $start; $i < $start+5; $i++) { if($i * $item_count > $count[0][0]) break; if($item_offset == $i * $item_count) echo " ".$i; else echo " ".$i.""; } if($item_offset < $count[0][0]-$item_count) echo "  vor"; ?>