<?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 } ?>