public function actionReputation()
 {
     $query = new Query();
     $query2 = new Query();
     $query->addSelect('*')->from('reputation r');
     $fullrep = $query->all();
     $query2->select('id, user_id, rep_id, timestamp')->from('`reputation_history`')->where('user_id = ' . $this->getUser()->getId());
     $myrep = $query2->all();
     $sum = ReputationHistory::getReputationHistorySum($this->contentContainer->getId());
     return $this->render('reputation', ['user' => $this->contentContainer->attributes, 'rep' => $fullrep, 'myrep' => $myrep, 'sum' => $sum]);
 }