require _SERVER DOCUMENT_ROOT bitrix header php APPLICATION- SetTitle

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Тестовая страница");
?><br>
<?
$obCity = new Ccity();
$arCity = $obCity -> GetFullInfo();
echo $arCty["CITY_NAME"]["VALUE"];
?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
<?