$arSelect = Array("ID", "IBLOCK_ID", "NAME", "PROPERTY_*");
$arFilter = Array(
"IBLOCK_ID"=>IntVal($IBLOCK),
"PROPERTY_MARK"=>$_POST['marka'],
"PROPERTY_MODEL"=>$_POST['model'],
"PROPERTY_YEAR"=>$_POST['year'],
"PROPERTY_MODIFICATION"=>$_POST['modif'],
"INCLUDE_SUBSECTIONS" => "Y",
"ACTIVE"=>"Y"
);
$res = CIBlockElement::GetList(Array(), $arFilter, false, false, $arSelect);
"smart_filter_index" => "filter/#SMART_FILTER_PATH#/apply/",
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
use Bitrix\Main\Loader;
Loader::includeModule("sale");
$ORDER_ID = $_POST['order_id'];
$APPLICATION->SetTitle("Спасибо! Номер вашего заказа №" . $ORDER_ID);
$arOrder = CSaleOrder::GetById($ORDER_ID);
if (!$arOrder)
{
echo "Заказ с кодом ".$ORDER_ID." не найден";
}
else
{...}