2namespace Bitrix\Landing\Update\Block;
4use Bitrix\Landing\Internals\BlockTable;
5use Bitrix\Main\Config\Option;
6use Bitrix\Main\Localization\Loc;
7use Bitrix\Main\Update\Stepper;
9Loc::loadMessages(__FILE__);
22 $lastId = Option::get(
'landing',
'update_block_domainua', 0);
39 'CONTENT' =>
'%cdn.bitrix24.ua%',
42 if ($row =
$res->fetch())
54 'CONTENT' =>
'%cdn.bitrix24.ua%',
61 while ($row =
$res->fetch())
66 BlockTable::update($row[
'ID'], [
67 'CONTENT' => str_replace(
80 Option::set(
'landing',
'update_block_domainua',
$lastId);
85 Option::delete(
'landing',
array(
'name' =>
'update_block_domainua'));
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)