Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/wbs24.ozonapinew/options/ |
Upload File : |
<?php use Bitrix\Main\Loader; use Bitrix\Main\Web\Uri; use Bitrix\Main\Application; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Config\Option; use Wbs24\Ozonapinew\{ Agents, Settings, Wrappers, DeliveryServices, Formula }; if (!$USER->IsAdmin()) return; $moduleId = basename(dirname(__DIR__, 1)); $suffix = strtoupper($moduleId); Loc::loadMessages(__FILE__); Loader::includeModule($moduleId); $request = Application::getInstance()->getContext()->getRequest(); $uriString = $request->getRequestUri(); $uri = new Uri($uriString); $redirect = $uri->getUri(); // Получение профиля $profileId = $_REQUEST['profile_id']; $settingsObject = new Settings(); $optionObject = new Wrappers\Option(); // Получение аккаунта $account = $optionObject->setPrefix($profileId); // Подключение js и css $settingsObject->loadJs([$profileId]); $settingsObject->loadCss(); // Получение данных для настройки подключаемых свойств к заказу $allSites = $settingsObject->getSiteId(); $allOrderStatuses = $settingsObject->getAllOrderStatuses(); $allDeliveryService = $settingsObject->getDeliveryService(); $allPaymentSystem = $settingsObject->getPaymentSystem(); $allDays = $settingsObject->getDays(); $accounts = $settingsObject->getAccounts(); $orderFlags = $settingsObject->getOrderFlags(); // Проверка, уставновлен ли Curl $isCurlInstalled = $settingsObject->isCurlInstalled(); $settingsError = $settingsObject->getLastError(); $aTabs = []; $arAllOptions = []; $currentUserId = $optionObject->get($moduleId, 'userId'); $allCustomers = $settingsObject->getCustomerIds($currentUserId); $aTabs[] = [ "DIV" => str_replace(".", "_", $moduleId), "TAB" => Loc::getMessage($suffix.".TAB_NAME"), "ICON" => "settings", "TITLE" => '', ]; // Получение настроек связанных с автозапуском $scheduler_interval = $optionObject->get($moduleId, 'scheduler_interval'); $isHttps = $optionObject->get($moduleId, 'isHttps'); $arAllOptions["main"] = [ Loc::getMessage($suffix.".RFBS_HEAD"), [$account."rfbs", Loc::getMessage($suffix.".RFBS"), "", ["checkbox", ""]], ]; $arAllOptions["main2"] = [ Loc::getMessage($suffix.".AGENT_HEAD"), [$account."scheduler_is_on", Loc::getMessage($suffix.".SCHEDULER_IS_ON"), "", ["checkbox", ""]], [$account."scheduler_interval", Loc::getMessage($suffix.".SCHEDULER_INTERVAL"), "", ["text", ""]], [$account."isHttps", Loc::getMessage($suffix.".IS_HTTPS"), "nothing", ["selectbox", ['nothing' => Loc::getMessage($suffix.".NOT_SELECTED"), 'Y' => 'HTTPS', 'N' => 'HTTP']]], ( ($isHttps == 'nothing' || empty($scheduler_interval)) ? ['note' => Loc::getMessage($suffix.".AGENT_NOTE")] : [] ), Loc::getMessage($suffix.".SITE_HEAD"), [ $account."useRealOrderDateCreating", \ShowJSHint(Loc::getMessage($suffix.".USE_REAL_ORDER_DATE_CREATING_HINT"), ["return" => true]) .Loc::getMessage($suffix.".USE_REAL_ORDER_DATE_CREATING"), "", ["checkbox", ""] ], [ $account."notTransferCustomerInfoToOrder", \ShowJSHint(Loc::getMessage($suffix.".NOT_TRANSFER_CUSTOMER_INFO_TO_ORDER_HINT"), ["return" => true]) . Loc::getMessage($suffix.".NOT_TRANSFER_CUSTOMER_INFO_TO_ORDER"), "", ["checkbox", ""] ], [$account."userId", Loc::getMessage($suffix.".USER_ID"), "", ["text", ""]], [$account."customerId", Loc::getMessage($suffix.".CUSTOMER_ID"), "0", ["selectbox", $allCustomers]], ['note' => Loc::getMessage($suffix.".USER_NOTE")], [$account."siteId", Loc::getMessage($suffix.".SITE_ID"), "nothing", ["selectbox", $allSites]], [$account."orderNumberTemplate", Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE"), "", ["text", "60"]], ]; $arAllOptions["main3"] = [ [$account."deliveryServiceId", Loc::getMessage($suffix.".DELIVERY_SERVICE_ID"), "nothing", ["selectbox", $allDeliveryService]], ]; // список доставок OZON $deliveryServicesObject = new DeliveryServices($profileId); $deliveryServicesList = $deliveryServicesObject->getList(); $allDeliveryServiceWithDisallow = $allDeliveryService; $allDeliveryServiceWithDisallow['nothing'] = Loc::getMessage($suffix.".DEFAULT"); $allDeliveryServiceWithDisallow['disallow'] = Loc::getMessage($suffix.".DISALLOW_TO_CREATE_ORDER"); foreach ($deliveryServicesList as $delivery) { $arAllOptions['main3'][] = [ $account."delivery_".$delivery['delivery_id'], $delivery['name'], "nothing", ["selectbox", $allDeliveryServiceWithDisallow] ]; } $arAllOptions["main3b"] = [ [$account."paymentSystemId", Loc::getMessage($suffix.".PAYMENT_SYSTEM_ID"), "nothing", ["selectbox", $allPaymentSystem]], ]; $arAllOptions["main4"] = [ [$account."userDescriptionTemplate", Loc::getMessage($suffix.".USER_DESCRIPTION_TEMPLATE"), "", ["text", "70"]], ['note' => Loc::getMessage($suffix.".USER_DESCRIPTION_TEMPLATE_NOTE")], [$account."allowBasketUpdate", Loc::getMessage($suffix.".ALLOW_BASKET_UPDATE"), "", ["checkbox", ""]], [ $account."allowCanBuyZero", \ShowJSHint(Loc::getMessage($suffix.".ALLOW_CAN_BUY_ZERO_HINT"), ["return" => true]) . Loc::getMessage($suffix.".ALLOW_CAN_BUY_ZERO"), "", ["checkbox", ""] ], Loc::getMessage($suffix.".STATUS_HEAD"), // статусы добавляются в массив ниже ]; // добавить сопоставление статусов в настройки $statusesList = [ "awaiting_registration", "acceptance_in_progress", "awaiting_approve", "awaiting_packaging", "awaiting_deliver", "arbitration", "client_arbitration", "sent_by_seller", "delivering", "driver_pickup", "last-mile", "delivered", "cancelled", "not_accepted", ]; foreach ($statusesList as $statusCode) { $arAllOptions['main4'][] = [$account.$statusCode, Loc::getMessage($suffix.".".strtoupper($statusCode)), "nothing", ["selectbox", $allOrderStatuses]]; } $arAllOptions['main4'][] = [$account."allowRfbsStatusSend", Loc::getMessage($suffix.".ALLOW_RFBS_STATUS_SEND"), "", ["checkbox", ""]]; $arAllOptions['main4'][] = ['note' => Loc::getMessage($suffix.".RFBS_NOTE")]; foreach ($statusesList as $statusCode) { $arrForFlags['nothing'] = Loc::getMessage($suffix.".NOT_SELECTED"); $arrForFlags[$statusCode] = Loc::getMessage($suffix.".".strtoupper($statusCode)); } $arAllOptions['main4'][] = Loc::getMessage($suffix.".FLAG_HEAD"); $arAllOptions['main4'][] = [$account."paymentFlag", Loc::getMessage($suffix.".PAYMENT_FLAG"), "nothing", ["multiselectbox", $arrForFlags]]; $arAllOptions['main4'][] = [$account."shippingFlag", Loc::getMessage($suffix.".SHIPPING_FLAG"), "nothing", ["multiselectbox", $arrForFlags]]; $arAllOptions['main4'][] = [$account."cancelledFlag", Loc::getMessage($suffix.".CANCELLED_FLAG"), "nothing", ["multiselectbox", $arrForFlags]]; $arAllOptions['main4'][] = Loc::getMessage($suffix.".DISALLOW_STATUSES_HEAD"); $arAllOptions['main4'][] = [$account."disallowStatuses", Loc::getMessage($suffix.".DISALLOW_STATUSES"), "nothing", ["multiselectbox", $allOrderStatuses]]; $arAllOptions['main4'][] = Loc::getMessage($suffix.".PUSH_NOTIFY_HEAD"); $arAllOptions['main4'][] = [ $account."receiveStatusesUsingPushNotify", \ShowJSHint( Loc::getMessage($suffix.".RECEIVE_STATUSES_USING_PUSH_NOTIFY_HINT"), ["return" => true] ).Loc::getMessage($suffix.".RECEIVE_STATUSES_USING_PUSH_NOTIFY"), "", ["checkbox", ""] ]; $arAllOptions['main4'][] = [ 'note' => Loc::getMessage($suffix.".PUSH_NOTIFY_STATUSES_NOTE"), ]; // изменение статусов заказов на маркетплейсе $arAllOptions['main4'][] = Loc::getMessage($suffix.".SHIP_ORDER_HEAD"); $arAllOptions['main4'][] = [ $account."autoShipOrder", \ShowJSHint( Loc::getMessage($suffix.".SHIP_ORDER_HINT"), ["return" => true] ).Loc::getMessage($suffix.".SHIP_ORDER"), "", [ "selectbox", array_merge( $orderFlags, $settingsObject->getAllOrderStatuses(false) ) ] ]; $arAllOptions['main4'][] = [ 'note' => Loc::getMessage($suffix.".SHIP_ORDER_NOTE"), ]; $arAllOptions['main4'][] = [ $account."autoPackageLabel", \ShowJSHint( Loc::getMessage($suffix.".AUTO_PACKAGE_LABEL_HINT"), ["return" => true] ).Loc::getMessage($suffix.".AUTO_PACKAGE_LABEL"), "", ["checkbox", ""] ]; $arAllOptions['recordShipmentDate'] = [ [ $account."recordShipmentDateWithTime", \ShowJSHint( Loc::getMessage($suffix.".RECORD_SHIPMENT_DATE_WITH_TIME_HINT"), ["return" => true] ).Loc::getMessage($suffix.".RECORD_SHIPMENT_DATE_WITH_TIME"), "", ["checkbox", ""] ], [ $account."dontUpdateShipmentDate", \ShowJSHint( Loc::getMessage($suffix.".DONT_UPDATE_SHIPMENT_DATE_HINT"), ["return" => true] ).Loc::getMessage($suffix.".DONT_UPDATE_SHIPMENT_DATE"), "", ["checkbox", ""] ] ]; if ((isset($_REQUEST["save"]) || isset($_REQUEST["apply"]) || isset($_REQUEST["addAccount"])) && check_bitrix_sessid()) { __AdmSettingsSaveOptions($moduleId, $arAllOptions["main"]); __AdmSettingsSaveOptions($moduleId, $arAllOptions["main2"]); __AdmSettingsSaveOptions($moduleId, $arAllOptions["main3"]); __AdmSettingsSaveOptions($moduleId, $arAllOptions["main3b"]); __AdmSettingsSaveOptions($moduleId, $arAllOptions["main4"]); __AdmSettingsSaveOptions($moduleId, $arAllOptions['recordShipmentDate']); $personTypeId = $_REQUEST[$account."personTypeId"] ?? ''; $optionObject->set($moduleId, 'personTypeId', $personTypeId); $propertyOfExternalOrderNumber = $_REQUEST[$account."propertyOfExternalOrderNumber"] ?? ''; $optionObject->set($moduleId, 'propertyOfExternalOrderNumber', $propertyOfExternalOrderNumber); $propertyOfShipmentDate = $_REQUEST[$account."propertyOfShipmentDate"] ?? ''; $optionObject->set($moduleId, 'propertyOfShipmentDate', $propertyOfShipmentDate); $deadlineCreateOrdersHours = $_REQUEST[$account."deadlineCreateOrdersHours"] ?? ''; $optionObject->set($moduleId, 'deadlineCreateOrdersHours', $deadlineCreateOrdersHours); $propertyOfTrackNumber = $_REQUEST[$account."propertyOfTrackNumber"] ?? ''; $optionObject->set($moduleId, 'propertyOfTrackNumber', $propertyOfTrackNumber); $allowSendTrackNumber = $_REQUEST[$account."allowSendTrackNumber"] ?? ''; $optionObject->set($moduleId, 'allowSendTrackNumber', $allowSendTrackNumber); $propertyOfUpdateTrackNumber = $_REQUEST[$account."propertyOfUpdateTrackNumber"] ?? ''; $optionObject->set($moduleId, 'propertyOfUpdateTrackNumber', $propertyOfUpdateTrackNumber); // сохранение идентификатора/свойства для offer id $offerId = $_REQUEST[$account."skuPropertyInOzonForProducts"] ?? ''; $optionObject->set($moduleId, 'skuPropertyInOzonForProducts', $offerId); $tradeOfferId = $_REQUEST[$account."skuPropertyInOzonForProductOffers"] ?? ''; $optionObject->set($moduleId, 'skuPropertyInOzonForProductOffers', $tradeOfferId); $packageProductRatio = $_REQUEST[$account."packageProductRatio"] ?? ''; $optionObject->set($moduleId, 'packageProductRatio', $packageProductRatio); $packageOfferRatio = $_REQUEST[$account."packageOfferRatio"] ?? ''; $optionObject->set($moduleId, 'packageOfferRatio', $packageOfferRatio); if ($isCurlInstalled) { $agents = new Agents; $agents->updateAgents($accounts); $agentsPrices = new Agents\Prices(); $agentsPrices->updateAgents($accounts); $agentsStocks = new Agents\Stocks(); $agentsStocks->updateAgents($accounts); $UpdateOrder = new Agents\UpdateOrder(); $UpdateOrder->updatePackageLabelAgent($accounts); } if (isset($_REQUEST["addAccount"])) $settingsObject->addAccount(); LocalRedirect($redirect); } $tabControl = new CAdminTabControl("tabControl", $aTabs); ?> <form method="post" action="<?=$redirect?>" name="<?=str_replace(".", "_", $moduleId)?>"> <? echo bitrix_sessid_post(); $tabControl->Begin(); $tabControl->BeginNextTab(); __AdmSettingsDrawList($moduleId, $arAllOptions["main"]); $siteId = $optionObject->get($moduleId, 'siteId'); $personTypeId = $optionObject->get($moduleId, 'personTypeId'); $deliveryServiceId = $optionObject->get($moduleId, 'deliveryServiceId'); $paymentSystemId = $optionObject->get($moduleId, 'paymentSystemId'); $propertyOfExternalOrderNumber = $optionObject->get($moduleId, 'propertyOfExternalOrderNumber'); $propertyOfShipmentDate = $optionObject->get($moduleId, 'propertyOfShipmentDate'); $propertyOfTrackNumber = $optionObject->get($moduleId, 'propertyOfTrackNumber'); $allowSendTrackNumber = $optionObject->get($moduleId, 'allowSendTrackNumber'); $propertyOfUpdateTrackNumber = $optionObject->get($moduleId, 'propertyOfUpdateTrackNumber'); $offerId = $optionObject->get($moduleId, 'skuPropertyInOzonForProducts'); $tradeOfferId = $optionObject->get($moduleId, 'skuPropertyInOzonForProductOffers'); $packageProductRatio = $optionObject->get($moduleId, 'packageProductRatio'); $packageOfferRatio = $optionObject->get($moduleId, 'packageOfferRatio'); $expertMode = $optionObject->get($moduleId, 'expertMode'); # используется для отображения кастомных настроек, не доступных обычным пользователям $deadlineCreateOrdersHours = $optionObject->get($moduleId, 'deadlineCreateOrdersHours'); $showSiteNote = ( $siteId == 'nothing' || $personTypeId == 'nothing' || $deliveryServiceId == 'nothing' || $paymentSystemId == 'nothing' || $propertyOfExternalOrderNumber == 'nothing' || $propertyOfShipmentDate == 'nothing' ); ?> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PROPERTY_OF_TRACK_NUMBER");?> <a name="opt_propertyOfTrackNumber"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOrderProperties($personTypeId, $account.'propertyOfTrackNumber', $propertyOfTrackNumber);?> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".ALLOW_SENDING_TRACK_NUMBER");?> </td> <td width="50%" class="adm-detail-content-cell-r"> <input type="checkbox" name="<?=$account?>allowSendTrackNumber" value="<?=$allowSendTrackNumber ? $allowSendTrackNumber : 'N' ?>"> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PROPERTY_OF_UPDATE_TRACK_NUMBER");?> <a name="opt_propertyOfUpdateTrackNumber"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOrderProperties($personTypeId, $account.'propertyOfUpdateTrackNumber', $propertyOfUpdateTrackNumber);?> </td> </tr> <tr> <td colspan="2" align="center"> <div class="adm-info-message-wrap" align="center"> <div class="adm-info-message"> <div style="text-align:left;"><?=Loc::getMessage($suffix.".ALLOW_SENDING_TRACK_NUMBER_NOTE");?></div> </div> </div> </td> </tr> <? __AdmSettingsDrawList($moduleId, $arAllOptions["main2"]); // настройка типа плательщика ?> <tr> <td width="50%" class="adm-detail-content-cell-l"> </td> <td width="50%" class="adm-detail-content-cell-r"> <a href="#" data-template="{DAY}" class="wbs24-snippet <?= $account . 'js-order-number-template' ?>"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_DAY");?></a> <a href="#" data-template="{MONTH}" class="wbs24-snippet <?= $account . 'js-order-number-template' ?>"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_MONTH");?></a> <a href="#" data-template="{YEAR}" class="wbs24-snippet <?= $account . 'js-order-number-template' ?>"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_YEAR");?></a> <br> <br> <a href="#" data-template="{ORDER_OZON}" class="wbs24-snippet <?= $account . 'js-order-number-template' ?>"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_MARKETPLACE");?></a> <a href="#" data-template="{ORDER_ID}" class="wbs24-snippet <?= $account . 'js-order-number-template' ?>"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_ID");?></a> </td> </tr> <tr> <td colspan="2" align="center"> <div class="adm-info-message-wrap" align="center"> <div class="adm-info-message"> <div style="text-align:left;"><?=Loc::getMessage($suffix.".ORDER_NUMBER_TEMPLATE_MESSAGE");?></div> </div> </div> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PERSON_TYPE_ID");?> <a name="opt_personTypeId"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForPayer($siteId, $account.'personTypeId', $personTypeId);?> </td> </tr> <? __AdmSettingsDrawList($moduleId, $arAllOptions["main3"]); // сопоставление служб доставки ОЗОН - Bitrix ?> <tr> <td width="50%" class="adm-detail-content-cell-l"></td> <td width="50%" class="adm-detail-content-cell-r"> <input type="submit" class="wbs24_ozonapinew_<?=$account;?>get_delivery_services" value="<?=Loc::getMessage($suffix.".GET_DELIVERY_SERVICES");?>" > </td> </tr> <? __AdmSettingsDrawList($moduleId, $arAllOptions["main3b"]); // настройка свойств заказа ?> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PROPERTY_OF_EXTERNAL_ORDER_NUMBER");?> <a name="opt_propertyOfExternalOrderNumber"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOrderProperties($personTypeId, $account.'propertyOfExternalOrderNumber', $propertyOfExternalOrderNumber);?> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PROPERTY_OF_SHIPMENT_DATE");?> <a name="opt_propertyOfShipmentDate"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOrderProperties($personTypeId, $account.'propertyOfShipmentDate', $propertyOfShipmentDate);?> <div style="margin-top:5px;"> <? if ($expertMode == 'Y') { ?> <div> <span style="padding-right:5px;"> <?= \ShowJSHint(Loc::getMessage($suffix.".DEADLINE_FOR_ORDER_CREATION_HINT"), ["return" => true]).Loc::getMessage($suffix.".DEADLINE_FOR_ORDER_CREATION")?> </span> <?=$settingsObject->getSelectDeadlineCreateOrdersHours($account.'deadlineCreateOrdersHours', $deadlineCreateOrdersHours);?> </div> </div> <? } ?> </td> </tr> <? __AdmSettingsDrawList($moduleId, $arAllOptions['recordShipmentDate']); // настройка offer id ?> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".SKU_PROPERTY_IN_OZON_FOR_PRODUCTS");?> <a name="opt_skuPropertyInOzonForProducts"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOfferId($siteId, $account.'skuPropertyInOzonForProducts', $offerId);?> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".SKU_PROPERTY_IN_OZON_FOR_PRODUCT_OFFERS");?> <a name="opt_skuPropertyInOzonForProductOffers"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForOfferId($siteId, $account.'skuPropertyInOzonForProductOffers', $tradeOfferId);?> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PACKAGING_RATIO_PRODUCT_PROPERTIES");?> <a name="opt_packageProductRatio"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForPackageRatio($siteId, $account.'packageProductRatio', $packageProductRatio);?> </td> </tr> <tr> <td width="50%" class="adm-detail-content-cell-l"> <?=Loc::getMessage($suffix.".PACKAGING_RATIO_OFFERS_PROPERTIES");?> <a name="opt_packageOfferRatio"></a> </td> <td width="50%" class="adm-detail-content-cell-r"> <?=$settingsObject->getSelectForPackageRatio($siteId, $account.'packageOfferRatio', $packageOfferRatio);?> </td> </tr> <tr> <td colspan="2" align="center"> <div class="adm-info-message-wrap" align="center"> <div class="adm-info-message"> <div style="text-align:left;"><?=Loc::getMessage($suffix.".PACKAGING_RATIO_MESSAGE");?></div> </div> </div> </td> </tr> <? // сообщение об обязательных настройках ?> <tr class="wbs24_ozonapinew_option_<?=$account?>site_note" style="<?=$showSiteNote ? '' : 'display: none;'?>"> <td colspan="2" align="center"> <div class="adm-info-message-wrap" align="center"> <div class="adm-info-message"><?=Loc::getMessage($suffix.".SITE_NOTE");?></div> </div> </td> </tr> <? __AdmSettingsDrawList($moduleId, $arAllOptions["main4"]); $tabControl->BeginNextTab(); $tabControl->Buttons([]); ?> <input type="submit" name="addAccount" class="wbs24_ozonapinew_option_add_account adm-btn-save" value="<?=Loc::getMessage($suffix.".ADD_ACCOUNT");?>"> <? echo Loc::getMessage($suffix.".SERVICE_MSG"); $tabControl->End(); ?> </form>