• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::ShowBanner
static function ShowBanner($type, $html_before="", $html_after="")
{
	if(!CModule::IncludeModule("advertising"))
		return;

	/** @global CMain $APPLICATION */
	global $APPLICATION;
	$APPLICATION->AddBufferContent(array("CAdvBanner", "Show"), $type, $html_before, $html_after);
}