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]."";
}
}
?>
getByFilter($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| ".$list[$i][0]." | \n";
echo "\t\t".$list[$i][1]." | \n";
echo "\t\t".$list[$i][2]." | \n";
echo "\t\t".number_format($price->getPriceTax($priceset_id, $list[$i][0], $netto, $list[$i][4]), 2)." | \n";
echo "\t
\n";
}
?>
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";
?>