<?php

require_once "NTK/NTK.php";
$spacer = new NTKSpacer();
$toolbar_box = new NTKHBox("toolbar_box", 6, 0, False);
$style = "";
// $style = "background-color: #dfe7f3;";
$back_button = new NTKImageButton("button_back", "Icons/back.png", "Zur&uuml;ck", "parent.location.replace('index.php');", "Zur&uuml;ck");
$toolbar_box->add($back_button, 60, 60, $style);
$toolbar_box->add($spacer);
$customer_button = new NTKImageButton("button_product_date_count", "Icons/date_product.png", "Produktzusammenfassung", "parent.frames['main'].location.replace('stat_product_date_count.php');", "Produktzusammenfassung");
$toolbar_box->add($customer_button, 60, 60, $style);
$tour_button = new NTKImageButton("button_product_list", "Icons/product_list.png", "Produktliste", "parent.frames['main'].location.replace('stat_product_list.php');", "Produktliste");
$toolbar_box->add($tour_button, 60, 60, $style);
$bill_button = new NTKImageButton("button_bill_merge", "Icons/bill.png", "Rechnungzusammenfassung", "parent.frames['main'].location.replace('stat_bill_merge.php');", "Rechnungzusammenfassung");
$toolbar_box->add($bill_button, 60, 60, $style);
$customer_list_button = new NTKImageButton("button_customer_list", "Icons/customer.png", "Kundenliste", "parent.frames['main'].location.replace('stat_customer_list.php');", "Kundenliste");
$toolbar_box->add($customer_list_button, 60, 60, $style);
$toolbar_box->add($spacer);
$print_button = new NTKImageButton("print_button", "Icons/print.png", "Drucken", "parent.frames['main'].print();", "Druckerdialog");
$toolbar_box->add($print_button, 60, 60);
echo getHead();
echo $toolbar_box->getHtml();