public function actionUser()
 {
     $model = new Search();
     $users = 1;
     $countries = User::getAllCountries(explode('-', \Yii::$app->language)[0]);
     if ($model->load(\Yii::$app->request->get()) && isset($model['user_name'])) {
         $users = Search::searchUsers($model['user_name'], $model['sex'], $model['country'], $model['city'], 20, \Yii::$app->request->post('contentId'));
     }
     return $this->render('user', ['model' => $model, 'users' => $users, 'countries' => $countries]);
 }