Esempio n. 1
0
 public function profileAction()
 {
     $this->view->page = 'profile';
     $user_id = getUserId();
     if ($user_id == 0) {
         $this->_helper->redirector('index', 'index');
     }
     $index = new Application_Model_DbTable_Index();
     $client = $index->getUserById($user_id);
     if ($user_id != 0) {
         $this->view->row = $client['value'];
     }
 }