1 #include <infocon.style>
5 <page func=InfoCon title="Kontoführung">
10 <style type="text/css">
20 background-color: #1aa2fe;
26 border: solid #1aa2fe;
33 border: solid #1aa2fe;
35 background-color: #ffffff;
41 border: solid #1aa2fe;
47 vertical-align: middle;
52 <form action=list.php method=POST>
53 <input type=hidden class=none name=blzkto value="<? echo $_GET['blzkto']; ?>">
57 if (strlen ($_GET['cur']) > 0) {
58 printf ("<input type=\"hidden\" class=\"none\" name=\"currency\" value=\"%s\">", $_GET['cur']);
59 if ($_GET['cur'] == "dm") {
60 $table = "account_dm";
66 <label for=year>Jahr</label>
67 <select id=year name=year>
70 if ($table == 'account')
71 $accounting = new Accounting(false);
73 $accounting = new AccountingDM(false);
75 foreach ($accounting->distinctYears($_GET['blzkto']) as $row)
76 printf ("<option value=\"%s\">%s", $row->year, $row->year);
80 <label for=deadline>Stichtag</label>
81 <input id=deadline name=deadline size=25 maxlength=10>
84 <? if (!isset($_GET["cur"]) || $_GET["cur"] != "dm") { ?>
87 <label for=statement>Auszug</label>
88 <select id=statement name=statement>
91 foreach ($accounting->distinctStatements($_GET['blzkto']) as $row)
92 printf ("<option value=\"%s\">%s", $row->statement, $row->statement);
97 <label for=category>Kategorie</label>
98 <select id=category name=category>
101 foreach ($accounting->distinctCategories($_GET['blzkto']) as $row) {
102 if (!empty($_GET['ajax'])) $row->category = utf8_encode($row->category);
103 printf ("<option value=\"%s\">%s", $row->category, $row->category);
108 <label for=from_to>Abs./Empf.</label>
109 <select id=from_to name=from_to>
112 foreach ($accounting->distinctFromTo($_GET['blzkto']) as $row) {
113 if (!empty($_GET['ajax'])) $row->from_to = utf8_encode($row->from_to);
114 printf ("<option value=\"%s\">%s", $row->from_to, $row->from_to);
119 <label for=keyword>Suchwort</label>
120 <input id=keyword name=keyword size=25 maxlength=40>
123 <label for=checkbox>Zahlung</label>
125 <input class=checkbox type=checkbox name=input value=1 checked> Einnahmen
126 <input class=checkbox type=checkbox name=output value=1 checked> Ausgaben
129 <p><center><input class=button type=submit value="Query">
130
131 <input class=button type=reset value="Reset"></center><p>