| Current Path : /var/www/amortar/data/www/a-mortar/bitrix/intec_mail_landing/ |
| Current File : /var/www/amortar/data/www/a-mortar/bitrix/intec_mail_landing/footer.php |
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
global $serverName;
global $templatePath;
global $APPLICATION;
global $includePath;
$useBlock1 = true;
$useBlock2 = true;
$useBlock3 = true;
$useBlock4 = true;
$footerText2 = false;
$aboutBlock = true;
$useReviews = true;
$useSocial = false;
$reviewsIblockId = 26;
?>
</td>
<td></td>
</tr>
<?if ($useBlock1){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 26px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."block1.php",
)
);?>
</td>
<td></td>
</tr>
<?}?>
<?if ($useBlock2){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 40px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."block2.php",
)
);?>
</td>
<td></td>
</tr>
<?}?>
<?if ($useBlock3){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 40px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."block3.php",
)
);?>
</td>
<td></td>
</tr>
<?}?>
<?if ($useBlock4){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 30px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."block4.php",
)
);?>
</td>
<td></td>
</tr>
<?}?>
<?if ($useReviews){?>
<?/*==================== Reviews ====================*/
CModule::IncludeModule('iblock');
$arSelect = Array("ID", "NAME", "PREVIEW_PICTURE", "DETAIL_TEXT", "PREVIEW_TEXT");
$arFilter = Array("IBLOCK_ID"=>$reviewsIblockId, "ACTIVE"=>"Y");
$res = CIBlockElement::GetList(Array("ID"=>"rand"), $arFilter, false, Array("nPageSize"=>2), $arSelect);
while($ob = $res->GetNextElement())
{
$arReviews[] = $ob->GetFields();
}
/*==================== END Reviews ====================*/
?>
<?if ($arReviews){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 40px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<b style=" font-size: 20px; "><?=GetMessage("REVIEWS_TITLE")?></b>
<table cellpadding="0" cellspacing="0" style="padding-top:30px;">
<tbody>
<?foreach($arReviews as $oneReview){?>
<?$file = CFile::ResizeImageGet($oneReview['PREVIEW_PICTURE'], array('width'=>100, 'height'=>100), BX_RESIZE_IMAGE_PROPORTIONAL, true);?>
<tr>
<td style="vertical-align:top; width:110px;padding-right:10px;"><img style="max-width:100px;border-radius: 50%;" src="<?=$file['src']?>" alt=""></td>
<td style="vertical-align:top;font-size: 14px;line-height: 20px;">
<b><?=$oneReview['NAME']?></b>
<p><?=$oneReview['DETAIL_TEXT']?$oneReview['DETAIL_TEXT']:$oneReview['PREVIEW_TEXT']?></p>
</td>
<tr>
<?}?>
</tbody>
</table>
</td>
<td></td>
</tr>
<?}?>
<?}?>
<?if ($aboutBlock){?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 40px;padding-bottom: 20px;font-size: 14px;font-family: Arial;color: #1f1f1f;padding-left: 25px;padding-right: 25px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."about_company.php",
)
);?>
</td>
<td></td>
</tr>
<?}?>
<tr style="background: #fff;">
<td></td>
<td style="vertical-align: top;padding-top: 19px;padding-bottom: 20px;font-size: 16px;font-family:Trebuchet MS;color: #1f1f1f;">
<div style="text-align: center;margin-bottom: 22px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."footer_text_1.php",
)
);?>
</div>
<?if ($footerText2){?>
<p style="text-align:center;font-size: 14px;line-height: 19px;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => $includePath."footer_text_2.php",
)
);?>
</p>
<?}?>
<?if ($useSocial){?>
<p style="margin-top: 30px;color: #ccc;text-align: center;">
<a href="vk.com"><img src="<?=$serverName.$templatePath?>/images/VK_Logo.png" alt="" style="width: 27px;margin: 5px;">https://vk.com/club103534758</a>
<a href="instagram"><img src="<?=$serverName.$templatePath?>/images/instagram.png" alt="" style="width: 27px;margin: 5px;">https://www.instagram.com/super_svet74/</a>
</p>
<?}?>
</td>
<td></td>
</tr>
<tr style="padding-top: 0px;">
<td></td>
<td style="padding-top: 60px;padding-bottom: 60px;">
<p style="text-align: center;">
<span class="logo" style="max-width:150px; display:inline-block;">
<?$APPLICATION->IncludeComponent("bitrix:main.include","",Array(
"AREA_FILE_SHOW" => "file",
"PATH" => "/include/logo.php",
)
);?>
</span>
</p>
</td>
<td></td>
</tr>
</table>
</div>