Campustream 1.0
A social network MQP for WPI
|
00001 <? 00005 class Manage_Controller extends Controller { 00006 public $enable_session = true; 00007 public $template = 'template/main'; 00008 00009 public function register() { 00010 $view = new View('account/manage/register'); 00011 $this->template->active = 'register'; 00012 $this->template->content = $view->render(); 00013 echo $this->template->render(); 00014 } 00015 00016 public function login() { 00017 $view = new View('account/manage/login'); 00018 $this->template->active = 'login'; 00019 $this->template->content = $view->render(); 00020 echo $this->template->render(); 00021 } 00022 }