assign ( 'mnulk', MYDIR . '/skin/inc/mnulk.html'); /* ---------------------------------------------------------------------- 02.06.2022 Получаем опции пользователя ---------------------------------------------------------------------- */ $userOption = DB::getAll('SELECT * FROM `userOption` WHERE `user_id` = ' . $_SESSION['user_id'] . ' LIMIT 1'); $smarty -> assign( 'userOption', $userOption ); /* ---------------------------------------------------------------------- 15.10.2022 Получаем список регионов ---------------------------------------------------------------------- */ $strana_id = $db -> settings['strana']; $region = DB::getAll('SELECT * FROM `region` WHERE `strana_id` = ' . $strana_id); $smarty -> assign( 'region', $region ); /* ---------------------------------------------------------------------- 15.10.2022 Получаем список городов ---------------------------------------------------------------------- */ $city = DB::getAll('SELECT * FROM `city` WHERE `strana_id` = ' . $strana_id); $smarty -> assign( 'city', $city ); /* ---------------------------------------------------------------------- 23.11.2022 Получаем список городов доставки ---------------------------------------------------------------------- */ $adresa = DB::getAll('SELECT * FROM `adres_dostavki` WHERE `user_id` = ' . $_SESSION['user_id']); for ($i=0; $i