Пример #1
0
 case "wp_zeile_send":
     echo '<pre>';
     print_r($_POST);
     if (!empty($_REQUEST['bkonto']) && !empty($_SESSION['wp_id']) && !empty($_REQUEST['vsumme']) && !empty($_REQUEST['formel']) && !empty($_REQUEST['wirt_id'])) {
         $weg = new weg();
         $betrag_vj = $_REQUEST['summe_vj'];
         $formel = $_REQUEST['formel'];
         $wirt_id = $_REQUEST['wirt_id'];
         $weg->wp_zeile_speichern($_SESSION['wp_id'], $_REQUEST['bkonto'], $_REQUEST['vsumme'], $betrag_vj, $formel, $wirt_id);
         weiterleiten("?daten=weg&option=wp_zeile_neu&wp_id={$_SESSION['wp_id']}");
     }
     break;
 case "wplan_pdf":
     if (!empty($_REQUEST['wp_id'])) {
         $w = new weg();
         $w->pdf_wplan($_REQUEST['wp_id']);
     } else {
         echo "Wirtschaftsplan wählen!";
     }
     break;
 case "hga_profile":
     $w = new weg();
     $w->tab_profile();
     break;
 case "hga_profile_del":
     $w = new weg();
     $w->hga_profil_del($_REQUEST['profil_id']);
     weiterleiten("?daten=weg&option=hga_profile");
     break;
 case "hga_profile_wahl":
     $w = new weg();