header.php 2.68 KB
Newer Older
Kulya's avatar
Kulya committed
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
<?php namespace AloVoice; 
?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>AloVoice beta</title>
	<?php if(empty($isFullPage)){ ?>
    <!-- подключаем библиотеку BX24 -->
    <script src="//api.bitrix24.com/api/v1/"></script>
	<?php } ?>
	<!--===============================================================================================-->
	<link rel="icon" type="image/png" href="<?=$this->alvhost?>template/images/icons/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/vendor/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/vendor/animate/animate.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/vendor/select2/select2.min.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/vendor/perfect-scrollbar/perfect-scrollbar.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/css/util.css">
	<link rel="stylesheet" type="text/css" href="<?=$this->alvhost?>template/css/main.css<?php echo '?t='.time();?>">
	<!--===============================================================================================-->

	<!-- feather -->
	<!-- <script src="https://unpkg.com/feather-icons"></script>
	<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> -->
	<style>
		.alvcontainer {
			margin-right: auto;
			margin-left: auto;
			padding-right: 10px;
			padding-left: 10px;
			width: 90%;
		}
	</style>

</head>
<body>
	<div class="alvcontainer">
	<?php if(!empty($arAlvSections)) { ?>
	<div class="row menu_top">
		<ul class="alv_topmenu" id="myTab" role="tablist">
		<?php  foreach($arAlvSections as $sid => $section){ ?>
			<li class="nav-item">
				<a class="nav-link alv_navliink <?php if( $sid==$loadPage ) { echo "active"; } ?>" id="<?php echo $sid; ?>-tab" data-toggle="tab" href="#<?php echo $sid; ?>" role="tab" aria-controls="<?php echo $sid; ?>" aria-selected="true"><b><?php echo $section["name"]; ?></b></a>
			</li>
		<?php } ?>
		</ul>
	</div>
	<?php  } ?>
	<?php if(empty($isFullPage)){ ?>
    <script>
		//var bx24 = new BX24();
		BX24.init(function(){
			console.log('Инициализация завершена!', BX24.isAdmin());
		});
		function alv() {
			console.log(" --- === beginALV === ---");
		}

    </script>
	<?php } ?>