} if (!$fehler) { $form->hidden_feld("option", "partner_gesendet1"); $form->send_button("submit_partner1", "Speichern"); } else { echo "Daten unvollständig"; } $form->ende_formular(); break; case "partner_gesendet1": $form = new formular(); $clean_arr = $form->post_array_bereinigen(); $form->erstelle_formular("Partnerdaten speichern", NULL); // print_r($clean_arr); $partners = new partners(); $partners->partner_speichern($clean_arr); $form->ende_formular(); break; case "partner_liste": $form = new formular(); $form->erstelle_formular("Partnerliste", NULL); $partner = new partners(); $partner->partner_liste(); $form->ende_formular(); break; case "partner_stichwort": if (isset($_REQUEST['partner_id']) && !empty($_REQUEST['partner_id'])) { $pp = new partners(); $pp->form_partner_stichwort_neu($_REQUEST['partner_id']); $pp->form_partner_stichwort($_REQUEST['partner_id']); }