SetTitle("Photogallery"); ?> IsAdmin()) {?> IncludeComponent("mbs:webalbums.uploader", ".default", Array( "COMPONENT_TEMPLATE" => ".default", "DEFAULT_TITLE" => "Новая фотография", // Название изображения по умолчанию "FOLDER_PATH" => "/tmp", // Папка для загрузки изображений относительно /upload "IBLOCK_ID" => "11", // ID инфоблока "IBLOCK_SECTION_ID" => "5", // ID раздела для загрузки "IBLOCK_TYPE" => "photogllery", // Тип инфоблока ), false );?> IncludeComponent( "mbs:webalbums.album", "album", array( "ADD_SECTIONS_CHAIN" => "N", "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "BROWSER_TITLE" => "-", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "CACHE_TIME" => "36000000", "CACHE_TYPE" => "A", "COMPONENT_TEMPLATE" => "album", "DETAIL_URL" => "", "DISPLAY_BOTTOM_PAGER" => "Y", "DISPLAY_TOP_PAGER" => "N", "ELEMENT_SORT_FIELD" => "sort", "ELEMENT_SORT_ORDER" => "asc", "FIELD_CODE" => array( 0 => "DETAIL_PICTURE", 1 => "", ), "FILTER_NAME" => "arrFilter", "IBLOCK_ID" => "11", "IBLOCK_TYPE" => "photogllery", "LINE_ELEMENT_COUNT" => "6", "META_DESCRIPTION" => "-", "META_KEYWORDS" => "-", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => ".default", "PAGER_TITLE" => "Photos", "PAGE_ELEMENT_COUNT" => "60", "PROPERTY_CODE" => array( 0 => "CAPTION_EN", 1 => "", ), "SECTION_CODE" => "", "SECTION_ID" => "5", "SECTION_URL" => "", "SECTION_USER_FIELDS" => array( 0 => "", 1 => "", ), "SET_STATUS_404" => "N", "SET_TITLE" => "N" ), false ); $APPLICATION->SetTitle("Main album"); ?>