Exemplo n.º 1
0
if (isset($_REQUEST['option']) && !empty($_REQUEST['option'])) {
    $option = $_REQUEST['option'];
} else {
    $option = 'default';
}
/* Optionsschalter */
switch ($option) {
    default:
        break;
    case "assistent":
        $bk = new bk();
        $bk->assistent();
        break;
    case "schritt2":
        $bk = new bk();
        $bk->buchungskonten_auswahl();
        break;
    case "profil_reset":
        $bk = new bk();
        $bk->profil_reset();
        weiterleiten_in_sec("?daten=bk&option=assistent", 1);
        break;
    case "profile":
        $bk = new bk();
        $bk->liste_bk_profile();
        break;
    case "profil_anpassen":
        if (isset($_REQUEST['profil_id']) && !empty($_REQUEST['profil_id'])) {
            $_SESSION['profil_id'] = $_REQUEST['profil_id'];
            $bk = new bk();
            $bk->form_bk_profil_anpassen($_SESSION['profil_id']);