コード例 #1
0
ファイル: statistik.php プロジェクト: BerlusGmbH/Berlussimo
     $s = new statistik();
     // $s->alle_mvs_einheit_arr();
     $bg = new berlussimo_global();
     $link = "?daten=statistik&option=testen";
     if (!empty($_REQUEST['jahr'])) {
         $jahr = $_REQUEST['jahr'];
     } else {
         $jahr = date("Y");
     }
     if (!empty($_REQUEST['monat'])) {
         $monat = $_REQUEST['monat'];
     } else {
         $monat = date("m");
     }
     $bg->monate_jahres_links($jahr, $link);
     $s->vermietete_monat_jahr_neu($jahr, $monat);
     break;
 case "baustelle_manuell":
     $s = new statistik();
     $f = new formular();
     $f->erstelle_formular("Baustelenübersicht", NULL);
     $s->baustellen_leistung('Einheit', '166', 25, '2009-11-01', '2009-11-31', 'Plötzer Sansi 53');
     // $s->baustellen_leistung('Einheit', '168', 25);
     // $s->baustellen_leistung('Einheit', '304', 25);
     // $s->baustellen_leistung('Einheit', '32', 25);
     // $s->baustellen_leistung('Einheit', '368', 25);
     $s->baustellen_leistung('Einheit', '368', 25, '2010-04-12', '2010-05-30', 'Laßnack Badsanierung MODs');
     $f->ende_formular();
 case "baustelle":
     $s = new statistik();
     $f = new formular();