View file 2/3020.ru/users/profile/notifications/content/settings.php

File size: 1.27Kb
<?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 "<a href='/users/profile/?path=notifications'>".LG('Уведомления')."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "".LG('Настройки')."";
ECHO "</div>";

$notif_set = DB::GET_STRING("SELECT * FROM `NOTIFICATIONS_SETTINGS` WHERE `USER_ID` = '".$user['ID']."' LIMIT 1");

ECHO "<div class='list-body'>";

ECHO "<div class='list-menu'>";
ECHO LG('Вы можете настроить получаемые уведомления');
ECHO "</div>";

//Подгрузка настроек
DIRECT::COMPONENTS(ROOT.'/users/profile/notifications/components/settings/', 1);

ECHO "</div>";

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 "<a href='/users/profile/?path=notifications'>".LG('Уведомления')."</a>";
ECHO "".ICONS('angle-right', 22, 'fa-fw')."";
ECHO "".LG('Настройки')."";
ECHO "</div>";
  
?>