<div class="page-header page-header-xs" style="background-image: url('<?php echo (isset($JAK_CMS_PAGE["previmg"]) && !empty($JAK_CMS_PAGE["previmg"]) ? (!empty(JAK_EDITOR_PATH_BASE) ? str_replace(JAK_EDITOR_PATH_BASE, BASE_URL) : BASE_URL).$JAK_CMS_PAGE["previmg"] : '');?>')">
  <div class="filter"></div>
  <div class="content-center">
    <?php if (JAK_CLIENTID && $jakclient->getVar("frontendadmin") == 1) { ?>
      <div class="col-md-8 ml-auto mr-auto text-center mb-1" style="margin-top: 120px">
        <button class="btn btn-sm btn-primary firefrontedit h-<?php echo $pageid;?>" data-area="header-<?php echo $pageid;?>" data-pageid="h-<?php echo $pageid;?>" data-lighteditor="false" type="button"><?php echo $jkl['hd66'];?></button>
        <button class="btn btn-sm btn-success firefrontsave h-<?php echo $pageid;?>" data-area="header-<?php echo $pageid;?>" data-pageid="h-<?php echo $pageid;?>" type="button"><?php echo $jkl['hd53'];?></button>
        <button class="btn btn-sm btn-danger firefrontclose h-<?php echo $pageid;?>" data-area="header-<?php echo $pageid;?>" data-pageid="h-<?php echo $pageid;?>" type="button"><?php echo $jkl['hd162'];?></button>
      </div>
    <?php } ?>
    <div class="container header-<?php echo $pageid;?>">
      <?php if (isset($cms_text) && !empty($cms_text)) foreach ($cms_text as $t) { if ($t["cmsslug"].$t["cmsid"] == 'header-'.$pageid) { echo $t["description"]; break; } } ?>
    </div>
  </div>
</div>
