$today_date = date(‘d.m.Y H:i:s’);
if(CModule::IncludeModule(«iblock»))
{
$arSelect = Array(«ID», «NAME», «DATE_ACTIVE_TO»);
$arFilter = Array(«IBLOCK_ID»=> НОМЕР_ИНФОБЛОКА, «<DATE_ACTIVE_TO» => $today_date);
$rsResCat = CIBlockElement::GetList(Array(), $arFilter, false, Array(«nPageSize»=>50), $arSelect);
$arItems = array();
while($arItemCat = $rsResCat->GetNext())
{
$arItems[] = $arItemCat;
}
Вывести элементы у которых закончилась дата активности
Wow, amazing blog format! How long have you been blogging
for? you make running a blog glance easy. The total glance
of your site is wonderful, as well as the content!
You can see similar here najlepszy sklep
Hey! Do you know if they make any plugins to assist with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m not seeing
very good success. If you know of any please share. Appreciate
it! You can read similar article here: Sklep internetowy