Your IP : 216.73.216.170


Current Path : /home/bitrix/ext_www/school1535.yacl.site/bitrix/admin/
Upload File :
Current File : /home/bitrix/ext_www/school1535.yacl.site/bitrix/admin/adv_banner_preview.php

<?php
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
$GLOBALS['APPLICATION']->ShowHead();
CUtil::InitJSCore(array('fx'));
if (intval($_GET['id']) > 0 && $_GET['name'] <> '')
{
	$GLOBALS['APPLICATION']->IncludeComponent(
		'bitrix:advertising.banner',
		htmlspecialcharsbx($_GET['name']),
		array(
			'QUANTITY' => 1,
			'BANNER_ID' => intval($_GET['id']),
			'PREVIEW' => 'Y'
		)
	);
}