require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "ИТО-Архангельск-2019");
$APPLICATION->SetTitle("ИТО-Архангельск-2019");
?>
if ($USER->IsAuthorized()) {
$is_ito_user = in_array(12, $USER->GetUserGroupArray());
if (!$is_ito_user && !$USER->IsAdmin()) {
LocalRedirect('/personal/reg.php');
} else {
LocalRedirect('/prizes/');
}
} else {
LocalRedirect('/prizes/');
}
?>
/*if ($USER->GetLogin() !== 'mineew.al@gmail.com'):?>
$APPLICATION->IncludeComponent(
'ito2019:feed',
'',
array(
'IBLOCK_ID' => 15,
'EVENTS' => array('reg', 'photo', 'like', 'comment', 'video', 'report', 'workshop', 'registration'),
'NAV_STRING_COUNT' => 10,
'TITLE' => 'Лента',
'HEIGHT' => 300
),
false
);
?>
$APPLICATION->IncludeComponent(
'ito2019:user-stats',
'',
array(
'GROUP_ID' => 12,
'MOST_ACTIVITY_COUNT' => 10,
'HEIGHT' => 267
),
false
);
?>
$APPLICATION->IncludeComponent(
'ito2019:discussed',
'',
array(
'REPORT' => array('NAME' => 'Доклад', 'IBLOCK_ID' => 25, 'URL' => '/stuff/report/detail.php?ID=#ID#&back=/&IBLOCK_ID=25', 'SECTION_URL' => '/stuff/report/'),
'PHOTOS' => array(
array('NAME' => 'Мой урок с ИКТ', 'IBLOCK_ID' => 26, 'URL' => '/stuff/biennale/img.php?ID=#ID#&back=/&IBLOCK_ID=26', 'SECTION_URL' => '/stuff/biennale/lesson.php'),
array('NAME' => 'Книги по ИКТ', 'IBLOCK_ID' => 27, 'URL' => '/stuff/biennale/img.php?ID=#ID#&back=/&IBLOCK_ID=27', 'SECTION_URL' => '/stuff/biennale/books.php'),
),
'TYPE' => 'max',
'TITLE' => 'Самое обсуждаемое',
'COUNT' => 10,
'HEIGHT' => 300
),
false
);
?>
$APPLICATION->IncludeComponent(
'ito2019:discussed',
'',
array(
'REPORT' => array('NAME' => 'Доклад', 'IBLOCK_ID' => 25, 'URL' => '/stuff/report/detail.php?ID=#ID#&back=/&IBLOCK_ID=25', 'SECTION_URL' => '/stuff/report/'),
'PHOTOS' => array(
array('NAME' => 'Мой урок с ИКТ', 'IBLOCK_ID' => 26, 'URL' => '/stuff/biennale/img.php?ID=#ID#&back=/&IBLOCK_ID=26', 'SECTION_URL' => '/stuff/biennale/lesson.php'),
array('NAME' => 'Книги по ИКТ', 'IBLOCK_ID' => 27, 'URL' => '/stuff/biennale/img.php?ID=#ID#&back=/&IBLOCK_ID=27', 'SECTION_URL' => '/stuff/biennale/books.php'),
),
'TYPE' => 'min',
'TITLE' => 'Нуждается в обсуждении',
'COUNT' => 10,
'HEIGHT' => 300
),
false
);
?>