Esempio n. 1
0
     break;
 case 'register':
     include 'controllers/register.class.php';
     $controller = new register();
     $controller->set_mode($mode);
     $html = $controller->process();
     break;
 case 'logout':
     $user->set_logout();
     redirect('');
     break;
 case 'profile':
     include 'controllers/edit.class.php';
     $controller = new edit();
     $controller->set_mode($mode);
     $html = $controller->process();
     break;
 case 'members':
     include 'controllers/members.class.php';
     $controller = new members();
     $controller->set_mode($mode);
     $html = $controller->process();
     break;
 case 'infos':
     include 'controllers/infos.class.php';
     $controller = new infos();
     $controller->set_mode($mode);
     $html = $controller->process();
     break;
 case 'members.online':
     include 'controllers/members.online.class.php';