79 lines
2.1 KiB
PHP
79 lines
2.1 KiB
PHP
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
|
/** @var array $arParams */
|
|
/** @var array $arResult */
|
|
/** @global CMain $APPLICATION */
|
|
/** @global CUser $USER */
|
|
/** @global CDatabase $DB */
|
|
/** @var CBitrixComponentTemplate $this */
|
|
/** @var string $templateName */
|
|
/** @var string $templateFile */
|
|
/** @var string $templateFolder */
|
|
/** @var string $componentPath */
|
|
/** @var CBitrixComponent $component */
|
|
$this->setFrameMode(true);
|
|
?>
|
|
<?
|
|
$main_office_markup_content = [
|
|
"@context" => "https://schema.org",
|
|
"@type" => "FinancialService",
|
|
"image" => [
|
|
"https://avatars.mds.yandex.net/get-altay/2389272/2a000001749629d635959647ec27834f22be/XXXL",
|
|
],
|
|
"name" => "Эволюция Автолизинга",
|
|
"address" => [
|
|
"@type" => "PostalAddress",
|
|
"streetAddress" => "Котляковская ул., 8",
|
|
"addressLocality" => "Москва",
|
|
"addressRegion" => "Москва",
|
|
"postalCode" => "115201",
|
|
"addressCountry" => "Россия",
|
|
],
|
|
//"review" => [
|
|
// "@type" => "Review",
|
|
// "reviewRating" => [
|
|
// "@type" => "Rating",
|
|
// "ratingValue" => "4",
|
|
// "bestRating" => "5"
|
|
// ],
|
|
// "author" => [
|
|
// "@type" => "Person",
|
|
// "name" => "Lillian Ruiz",
|
|
// ]
|
|
//],
|
|
"geo" => [
|
|
"@type" => "GeoCoordinates",
|
|
"latitude" => 55.643978,
|
|
"longitude" => 37.640452,
|
|
],
|
|
"url" => "https://".SITE_SERVER_NAME."/about/contacts/",
|
|
"telephone" => "+74951466767",
|
|
"openingHoursSpecification" => [
|
|
[
|
|
"@type" => "OpeningHoursSpecification",
|
|
"dayOfWeek" => [
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
],
|
|
"opens" => "09:00",
|
|
"closes" => "18:00",
|
|
],
|
|
[
|
|
"@type" => "OpeningHoursSpecification",
|
|
"dayOfWeek" => "Saturday",
|
|
"opens" => "00:00",
|
|
"closes" => "00:00",
|
|
],
|
|
[
|
|
"@type" => "OpeningHoursSpecification",
|
|
"dayOfWeek" => "Sunday",
|
|
"opens" => "00:00",
|
|
"closes" => "00:00",
|
|
],
|
|
],
|
|
];
|
|
|
|
$APPLICATION->AddHeadString('<script type="application/ld+json">'.json_encode($main_office_markup_content).'</script>', false, "AFTER_JS");
|
|
?>
|