예제 #1
0
     if (isset($_REQUEST['typ']) && isset($_REQUEST['id']) && !empty($_REQUEST['typ']) && !empty($_REQUEST['id'])) {
         $typ = $_REQUEST['typ'];
         $id = $_REQUEST['id'];
         $to = new todo();
         /* Offene */
         $to->liste_auftrage_an($typ, $id, 0);
         /* Erledigte */
         $to->liste_auftrage_an($typ, $id, 1);
     }
     break;
     /* Auftragsuche Formular */
 /* Auftragsuche Formular */
 case "auftrag_suche":
     $t = new todo();
     if (isset($_REQUEST['typ_int_ext']) && !empty($_REQUEST['typ_int_ext'])) {
         $t->form_suche($_REQUEST['typ_int_ext']);
     } else {
         $t->form_suche();
     }
     break;
     /* Auftragsuche Formular sendet Suchdaten */
 /* Auftragsuche Formular sendet Suchdaten */
 case "auftrag_suche_send":
     $t = new todo();
     print_req();
     if (isset($_REQUEST['benutzer_typ']) && !empty($_REQUEST['benutzer_typ']) && isset($_REQUEST['benutzer_id']) && !empty($_REQUEST['benutzer_id'])) {
         $typ = $_REQUEST['benutzer_typ'];
         $id = $_REQUEST['benutzer_id'];
         weiterleiten("?daten=todo&option=auftraege_an&typ={$typ}&id={$id}");
     }
     break;