예제 #1
0
     } else {
         $monat = date("m");
     }
     // $li->pdf_bericht_se($objekt_id, $monat, $jahr);
     if (isset($_REQUEST['einheit_id'])) {
         $einheit_id = $_REQUEST['einheit_id'];
     } else {
         $einheit_id = 914;
     }
     $li->kto_auszug_einheit($einheit_id);
     break;
     /* Profil für ein Objekt anlegen */
 /* Profil für ein Objekt anlegen */
 case "profil_neu":
     $l = new listen();
     $l->form_profil_neu();
     break;
 case "step2":
     // echo '<pre>';
     if (!isset($_POST)) {
         fehlermeldung_ausgeben('Profilformular ausfüllen!!!');
     } else {
         if (isset($_POST['kurz_b']) && isset($_POST['objekt_id']) && isset($_POST['gk_id']) && isset($_POST['p_id'])) {
             $kurz_b = $_POST['kurz_b'];
             $obj_id = $_POST['objekt_id'];
             $gk_id = $_POST['gk_id'];
             $p_id = $_POST['p_id'];
             // echo "$kurz_b $obj_id $gk_id $p_id";
             $l = new listen();
             $profil_id = $l->report_profil_anlegen($kurz_b, $obj_id, $gk_id, $p_id);
             if (!is_numeric($profil_id)) {