stat_toolbar.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. require_once("NTK/NTK.php");
  3. $spacer = new NTKSpacer();
  4. $toolbar_box = new NTKHBox("toolbar_box", 6, 0, False);
  5. $style = "";
  6. // $style = "background-color: #dfe7f3;";
  7. $back_button = new NTKImageButton("button_back", "Icons/back.png", "Zur&uuml;ck", "parent.location.replace('index.php');", "Zur&uuml;ck");
  8. $toolbar_box->add($back_button, 60, 60, $style);
  9. $toolbar_box->add($spacer);
  10. $customer_button = new NTKImageButton("button_product_date_count", "Icons/date_product.png", "Produktzusammenfassung", "parent.frames['main'].location.replace('stat_product_date_count.php');", "Produktzusammenfassung");
  11. $toolbar_box->add($customer_button, 60, 60, $style);
  12. $tour_button = new NTKImageButton("button_product_list", "Icons/product_list.png", "Produktliste", "parent.frames['main'].location.replace('stat_product_list.php');", "Produktliste");
  13. $toolbar_box->add($tour_button, 60, 60, $style);
  14. $bill_button = new NTKImageButton("button_bill_merge", "Icons/bill.png", "Rechnungzusammenfassung", "parent.frames['main'].location.replace('stat_bill_merge.php');", "Rechnungzusammenfassung");
  15. $toolbar_box->add($bill_button, 60, 60, $style);
  16. $customer_list_button = new NTKImageButton("button_customer_list", "Icons/customer.png", "Kundenliste", "parent.frames['main'].location.replace('stat_customer_list.php');", "Kundenliste");
  17. $toolbar_box->add($customer_list_button, 60, 60, $style);
  18. $bill_button = new NTKImageButton("button_bill_merge", "Icons/kspread.png", "Steuerzusammenfassung", "parent.frames['main'].location.replace('stat_monthly_vat.php');", "Steuerzusammenfassung");
  19. $toolbar_box->add($bill_button, 60, 60, $style);
  20. $toolbar_box->add($spacer);
  21. $print_button = new NTKImageButton("print_button", "Icons/print.png", "Drucken", "parent.frames['main'].print();", "Druckerdialog");
  22. $toolbar_box->add($print_button, 60, 60);
  23. echo getHead();
  24. echo $toolbar_box->getHtml();
  25. ?>