<aside class="left-aside">
    <div class="user-info grid __no-gutters __center">
        <div class="user-info_avatar grid_cell"><img src="<?=Serval::call('Auth')->Data['avatar'] ? Serval::call('Auth')->Data['avatar'] : '/skin/images/no-photo.png'?>" alt="Аватар"></div>
        <div class="user-info_name grid_cell">
		<?=Serval::call('Auth')->Data['fio']?><br>
		<a href="/profile/" class="ic_user">Моя информация</a>
		</div>
    </div>
    <?
			switch(Serval::call('Auth')->Data['type']){
				case 'admin':
					?><div class="user-info_status __admin-status">Администратор</div><?
				break;
				case 'user':
					?><div class="user-info_status __user-status">Пользователь</div><?
				break;
			}
		?>
    <nav>
        <ul class="menu">
            <li>
                <a href="/" class="menu_i ic_main __ic-abs">Главная страница</a>
            </li>
            <li>
                <form method="get" action="/projects/" name="search" id="search" class="search-form">
                    <input class="inp-base" type="text" name="q" value="<?=clearText($_GET['q'])?>" placeholder="Поиск">
                    <button type="submit" class="ic_search __ic-abs"></button>
                </form>
            </li>   
            <li>
                <a href="/projects/" class="menu_i ic_list __ic-abs">Проекты</a>
            </li>
            <?if(Serval::call('Auth')->Data['type']=="admin"){?>
            <li>
                <a href="/users/" class="menu_i ic_user __ic-abs">Пользователи системы</a>  
            </li>
            <li>
                <a href="/settings/" class="menu_i ic_info __ic-abs">Настройка системы</a>
            </li>
            <?}?>
            <li>
                <a href="/exit/" class="menu_i ic_exit __ic-abs">Выход</a>
            </li>
        </ul>
    </nav>
</aside>

<section class="main-container">

    <header class="main-header">
        <div class="logo"><a href="/" title=""><img src="/skin/images/logo.png" alt=""></a></div>
        <div class="header_ttl">Система мониторинга целостности файлов</div>
    </header>

    <main class="main">