public function __construct()
 {
     parent::__construct(["viewaccount" => true]);
     $this->view = REQUEST::GET("subview");
     switch ($this->view) {
         case "login":
             $this->login();
             break;
         case "register":
             $this->register();
             break;
         case "recover":
             $this->recover();
             break;
         case "contact":
             $this->contact();
             break;
     }
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct(["viewhome" => true]);
     $this->view();
 }