assign( 'region', $region ); /* ---------------------------------------------------------------------- 15.10.2022 Получаем список городов ---------------------------------------------------------------------- */ $city = \DB::getAll('SELECT * FROM `city` WHERE `strana_id` = ' . $strana_id); $smarty -> assign( 'city', $city ); /* ---------------------------------------------------------------------- 14.10.2022 Меню личного кабинета ---------------------------------------------------------------------- */ $smarty -> assign ( 'mnulk', 'skin/inc/mnulk.html'); /* ---------------------------------------------------------------------- 02.06.2022 Получаем информацию о пользователе ---------------------------------------------------------------------- */ $user_info = \DB::getAll('SELECT * FROM `users` WHERE `id` = ' . $_SESSION['user_id'] . ' LIMIT 1'); $smarty -> assign( 'user_info', $user_info ); $userOption = \DB::getAll('SELECT * FROM `userOption` WHERE `user_id` = ' . $_SESSION['user_id'] . ' LIMIT 1'); $smarty -> assign( 'userOption', $userOption ); ?>