<div class="header-2">
  <div class="page-header" 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"] : BASE_URL."files/editor/header/bg3.jpg");?>');">
    <div class="filter"></div>
    <div class="content-center">
      <div class="container">
        <div class="row">
          <?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 hh-<?php echo $pageid;?>" data-area="header-hero-<?php echo $pageid;?>" data-pageid="hh-<?php echo $pageid;?>" data-lighteditor="false" type="button"><?php echo $jkl['hd66'];?></button>
            <button class="btn btn-sm btn-success firefrontsave hh-<?php echo $pageid;?>" data-area="header-hero-<?php echo $pageid;?>" data-pageid="hh-<?php echo $pageid;?>" type="button"><?php echo $jkl['hd53'];?></button>
            <button class="btn btn-sm btn-danger firefrontclose hh-<?php echo $pageid;?>" data-area="header-hero-<?php echo $pageid;?>" data-pageid="hh-<?php echo $pageid;?>" type="button"><?php echo $jkl['hd162'];?></button>
          </div>
          <?php } ?>
          <div class="col-md-8 ml-auto mr-auto text-center header-hero-<?php echo $pageid;?>">
            <?php if (isset($cms_text) && !empty($cms_text)) foreach ($cms_text as $t) { if ($t["cmsslug"].$t["cmsid"] == 'header-hero-'.$pageid) { echo $t["description"]; break; } } ?>
            <br />
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

