public function challengesAction()
 {
     $model = new ProfileModel();
     Pagination::calculate(get('page', 'int'), 20, Request::getParam('countChallenges'));
     $this->view->langPars = true;
     $this->view->list = $model->getChallengesList(Request::getParam('user')->id, Pagination::$start, Pagination::$end);
     $this->view->title = Lang::translate('CHALLENGES_TITLE');
 }