<?php
$_helper = $this->helper('Solwin\Cpanel\Helper\CssSetting');
$vmenu_helper = $this->helper('Solwin\Verticalmenu\Helper\Data');
$enable_vmenu = $vmenu_helper->getEnableModule();
$Data_helper = $this->helper('Solwin\Cpanel\Helper\CssSetting');
$IsHomePage = $Data_helper->getIsHomePage();
$header_type = $_helper->getCpanelDesignConfig('cpanelsection/headergroup/headertype');
?>
<?php if ($header_type == 1) { ?>
    <header class="page-header htype-<?php echo $header_type; ?>">
        <div class="panel wrapper">
            <div class="panel header">
                <?php echo $this->getChildHtml("skip_to_content"); ?>
                <?php echo $this->getChildHtml("currency"); ?>
                <?php echo $this->getChildHtml("store_language"); ?>
                <?php echo $this->getChildHtml("header.links"); ?>
            </div>
        </div>
        <div class="header content">
            <?php echo $this->getChildHtml("logo"); ?>
            <?php echo $this->getChildHtml("minicart"); ?>
            <?php echo $this->getChildHtml("top.search"); ?>
        </div>
        <?php echo $this->getChildHtml("navigation.sections"); ?>
        <?php if ($enable_vmenu) { ?>
            <div style="position: relative;" class="page-main vert_menu hidden-xs">
                <?php echo $this->getChildHtml("theme.verticalmenu"); ?>
            </div>
        <?php } ?>
    </header>
<?php } else if ($header_type == 2) { ?>
    <header class="page-header htype-<?php echo $header_type; ?>">
       
        <div class="header content">
            <div class="panel wrapper" id="paneltoplinks">
            <div class="panel header" >
                <?php echo $this->getChildHtml("skip_to_content"); ?>
                <?php echo $this->getChildHtml("currency"); ?>
                <?php echo $this->getChildHtml("store_language"); ?>
                <?php echo $this->getChildHtml("header.links"); ?>
            </div>
            </div>
            <?php echo $this->getChildHtml("logo"); ?>
            <?php echo $this->getChildHtml("minicart"); ?>
            <?php echo $this->getChildHtml("top.search"); ?>
        </div>
        <?php echo $this->getChildHtml("navigation.sections"); ?>
        <?php if ($enable_vmenu) { ?>
            <div style="position: relative;" class="page-main vert_menu hidden-xs">
                <?php //echo $this->getChildHtml("theme.verticalmenu"); ?>
            </div>
        <?php } ?>
    </header>
<?php } ?>