Размер файла: 1.23Kb
<?php
/*
------------------------------------------------
3020.ru - скрипты тут
------------------------------------------------
*/
FOREACH (ARRAY('config', 'connect', 'users') AS $connect) {
INCLUDE_ONCE ("../../system/connections/global/$connect.php");
}
ACCESS('users');
HTML::TITLE('Кабинет');
REQUIRE (ROOT.'/system/connections/header.php');
ECHO "<div class='navigation'>";
ECHO "<a href='/'>".ICONS('home', 25, 'fa-fw')."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "<a href='/id".$user['ID']."'>".$user['LOGIN']."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "".LG('Кабинет')."";
ECHO "</div>";
//Пользователь
REQUIRE (ROOT.'/users/cabinet/plugins/user.php');
ECHO "<div class='list-body'>";
DIRECT::COMPONENTS(ROOT.'/users/cabinet/components/', 1);
ECHO "</div>";
//Меню
REQUIRE (ROOT.'/users/cabinet/plugins/menu.php');
ECHO "<div class='navigation'>";
ECHO "<a href='/'>".ICONS('home', 25, 'fa-fw')."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "<a href='/id".$user['ID']."'>".$user['LOGIN']."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "".LG('Кабинет')."";
ECHO "</div>";
REQUIRE (ROOT.'/system/connections/footer.php');
?>