Your IP : 3.133.145.211


Current Path : /var/www/axolotl/data/www/b24.axolotl.ru/public_html/bitrix/admin/
Upload File :
Current File : /var/www/axolotl/data/www/b24.axolotl.ru/public_html/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'
		)
	);
}