Размер файла: 4.18Kb
<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/system/App.php';
$title = 'Кабинет';
require_once ROOT.'/system/header.php';
$user->access();
?>
<div class="col-sm"></div>
<div class="col-sm-8 col-lg-6">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<div class="b-item">
<li class="breadcrumb-item active" aria-current="page"><?=$title?></li>
</div>
</ol>
</nav>
<div class="card bg-theme-gradient d-none">
<div class="card-header">
Для начала...
</div>
<?php if ($user->isEmptyAvatar($me['id'])): ?>
<div class="p-1 pl-2 pr-2">Загрузите <a href="/id<?=$me['id']?>" class="text-info">аватар</a></div>
<?php endif; ?>
<?php if(empty($me['city']) || empty($me['country']) || empty($me['age'])): ?>
<div class="p-1 pl-2 pr-2">Заполните <a href="/profile/edit" class="text-info">профиль</a></div>
<?php endif; ?>
<?php if (empty($me['email'])): ?>
<div class="p-1 pl-2 pr-2">Заполните <a href="/profile/edit" class="text-info">E-mail</a></div>
<?php endif; ?>
</div>
<div class="container-fluid p-1">
<div class="form-row justify-content-center">
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/id<?=$me['id']?>">
<i class="material-icons" style="font-size: 50px;">account_circle</i>
<b class="d-block">Профиль</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/news">
<i class="material-icons" style="font-size: 50px;">receipt</i>
<b class="d-block">Новости</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/notifications">
<i class="material-icons" style="font-size: 50px;">notifications</i>
<b class="d-block">Оповещения</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/friends">
<i class="material-icons" style="font-size: 50px;">people</i>
<b class="d-block">Друзья</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/chat">
<i class="material-icons" style="font-size: 50px;">chat</i>
<b class="d-block">Чат</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/mail">
<i class="material-icons" style="font-size: 50px;">email</i>
<b class="d-block">Диалоги</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/albums">
<i class="material-icons" style="font-size: 50px;">photo</i>
<b class="d-block">Альбомы</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/video">
<i class="material-icons" style="font-size: 50px;">movie</i>
<b class="d-block">Видео</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/audios">
<i class="material-icons" style="font-size: 50px;">play_circle_filled</i>
<b class="d-block">Музыка</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/users">
<i class="material-icons" style="font-size: 50px;">favorite</i>
<b class="d-block">Знакомства</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/settings">
<i class="material-icons" style="font-size: 50px;">settings</i>
<b class="d-block">Настройки</b>
</a>
</div>
</div>
<div class="col-4 col-md-3">
<div class="text-center mb-3">
<a href="/exit">
<i class="material-icons" style="font-size: 50px;">logout</i>
<b class="d-block">Выйти</b>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm"></div>
<?php
require ROOT.'/system/footer.php';
?>