action_signup($mod); break; case "login": $this->action_login($mod); break; default: $this->action_default($mod); break; } } function action_default($mod) { $mod->deflt(); include "view/auth/default.view.php"; } function action_signup($mod) { $mod->signup($_REQUEST['input']); $this->action_default($mod); } function action_login($mod) { $mod->login($_REQUEST['input']); $this->action_default($mod); } } ?>