<?php

use yii\helpers\Html; ?>

<section class="container">


    <div class="profile">
        <div class="namecard">
            <img class="profile-image"
                 src="<?= Yii::getAlias('@web') ?>/imgs/<?= Html::encode($user->image) ?>" alt="profilephoto">
            <div class="profile-menu">
                <a class="profile-link" href="profile.php"> <p class="profile-field2">Редактировать профиль</p> </a>
                <a class="profile-link" href=""> <p class="profile-field2">Документы</p> </a>
                <a class="profile-link" href="country/alltours"> <p class="profile-field2">Туры</p> </a>
            </div>

        </div>

        <div class="profile-info">
            <h3 class="profile-name"><?= Yii::$app->user->identity->username ?>  <?= Yii::$app->user->identity->secondname ?></h3>
            <p class="profile-field"><?= Yii::$app->user->identity->email ?></p>
            <p class="profile-field">Зарегистрирован: <?= Yii::$app->user->identity->created_at ?></p>
            <p class="profile-field">Рандом инфо</p>
        </div>



    </div>
</section>
