Ejemplo n.º 1
0
}
$Reply = new Reply();
if ($GLOBALS['Webur']->getval["type"] == 'list') {
    $Reply->infolist();
} else {
    if ($GLOBALS['Webur']->getval["type"] == 'add') {
        $Reply->add();
    } else {
        if ($GLOBALS['Webur']->getval["type"] == 'addinfo') {
            $Reply->addinfo();
        } else {
            if ($GLOBALS['Webur']->getval["type"] == 'edit') {
                $Reply->edit();
            } else {
                if ($GLOBALS['Webur']->getval["type"] == 'editinfo') {
                    $Reply->editinfo();
                } else {
                    if ($GLOBALS['Webur']->getval["type"] == 'del') {
                        $Reply->del();
                    } else {
                        if (intval($GLOBALS['Webur']->getval["idval"]) != '') {
                            $Reply->infolist();
                        } else {
                            $GLOBALS['Helpe']->error404();
                        }
                    }
                }
            }
        }
    }
}