-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathheader.php
More file actions
25 lines (21 loc) · 757 Bytes
/
Copy pathheader.php
File metadata and controls
25 lines (21 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?
/**
* @global $APPLICATION;
* @var $arTemplateParams - included from .settings.php
*/
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
use Bitrix\Main\Localization\Loc as Loc;
use \Bitrix\Main\Page\Asset as Asset;
include $_SERVER["DOCUMENT_ROOT"] . SITE_TEMPLATE_PATH . "/.settings.php";
?>
<!DOCTYPE html>
<html lang="<?=$arTemplateParams["HTML_LANG"];?>">
<head>
<?Asset::getInstance()->addJs( SITE_TEMPLATE_PATH . '/js/init.js');?>
<?Asset::getInstance()->addCss( SITE_TEMPLATE_PATH . '/css/main.css' );?>
<?$APPLICATION->ShowHead();?>
<title><?$APPLICATION->ShowTitle()?></title>
</head>
<body>
<div id="panel"><?$APPLICATION->ShowPanel();?></div>
<h1 id="pagetitle"><?$APPLICATION->ShowTitle(false);?></h1>