<?php
// Copyright 1999-2017. Plesk International GmbH. All rights reserved.
?>
<?php echo $this->doctype(); ?>
<html <?php echo $this->htmlDoc() ?>>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE">
    <meta name="forgery_protection_token" id="forgery_protection_token" content="<?php echo Session::get()->panel()->forgeryProtectionToken; ?>">
    <?=$this->headTitle()?>
    <link rel="shortcut icon" href="<?php echo \Session::get()->panel()->baseUrl . $this->cacheStamp('/favicon.ico'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <?=$GLOBALS['skin']->getThemeCssIncludes()?>
    <?=$this->headStyle()?>
    <?=$this->headLink()?>
    <?php $this->jsLoad()->prepend('/javascript/responsive.js'); ?>
    <?php $this->jsLoad()->prepend('/javascript/externals/svgxuse.min.js'); ?>
    <?php $this->jsLoad()->prepend('/javascript/externals/modernizr.js'); ?>
    <?php $this->jsLoad()->prepend('/javascript/common.js'); ?>
    <?php $this->jsLoad()->requireJs(); ?>
    <?php $this->jsLoad()->prepend('/javascript/jsw.min.js'); ?>
    <?php $this->jsLoad()->prepend('/javascript/externals/prototype.js'); ?>
    <?=$this->headScript()?>
</head>
<body class="page-simplified">
<?php echo $this->partial('partials/cookie-policy.phtml', ['layoutType' => 'simplified']); ?>
<div class="page-simplified__container">
    <div class="page-simplified__container-inner">

        <header class="page-simplified__header">
            <div class="page-simplified__header-inner">
                <?php if (!empty($this->layout()->logo)): ?>
                <div class="page-simplified__header-logo">
                    <img class="page-simplified__header-logo-image" src="<?= $this->layout()->logo['image']; ?>" alt="<?= $this->layout()->logo['title']; ?>">
                </div>
                <?php endif; ?>
                <div class="page-simplified__header-actions">
                    <a class="page-simplified__header-action" href="/logout.php" data-type="link-logout">
                        <span class="icon">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="M13,16H6v3.573c0,0.078-0.045,0.148-0.115,0.181s-0.153,0.022-0.213-0.027l-4.75-3.958 c-0.228-0.19-0.36-0.471-0.36-0.768c0-0.297,0.132-0.578,0.36-0.768l4.75-3.958c0.06-0.05,0.143-0.06,0.213-0.028 C5.955,10.279,6,10.349,6,10.427V14h7c0.552,0,1,0.448,1,1C14,15.552,13.552,16,13,16z M32,2v21.13c0,0.538-0.288,1.035-0.756,1.302 l-11,6.286c-0.231,0.132-0.487,0.198-0.744,0.198c-0.26,0-0.52-0.068-0.753-0.203C18.285,30.444,18,29.95,18,29.415V26h-4 c-1.105,0-2-0.895-2-2v-3.5c0-0.276,0.224-0.5,0.5-0.5h1c0.276,0,0.5,0.224,0.5,0.5V24h4V8.87c0-0.538,0.288-1.035,0.756-1.302 L28.5,2H14v7.5c0,0.276-0.224,0.5-0.5,0.5h-1C12.224,10,12,9.776,12,9.5V2c0-1.105,0.895-2,2-2h16C31.105,0,32,0.895,32,2z  M30,3.446L20,9.161V24v2v2.554l10-5.714V3.446z"></path></svg>
                        </span>
                        <?=$this->lmsg('smb.components.shortcuts.logOut')?>
                    </a>
                </div>
            </div>
        </header>

        <div class="page-simplified__main">
            <?php if (!empty($this->layout()->banner)): ?>
            <div class="page-simplified__banner">
                <img class="page-simplified__banner-image" src="<?= $this->layout()->banner; ?>" alt="" />
            </div>
            <?php endif; ?>
            <?php if (!empty($this->layout()->content)): ?>
            <div class="page-simplified__content">
                <div class="page-simplified__content-inner">
                    <div id="main">
                        <?=$this->layout()->content?>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
    </div>
</div>

<?=$this->partial('partials/task-progress-bar.phtml', ['hidden' => true])?>

<div id="bottomAnchor" style="position: fixed; top: 0; z-index: -1; opacity: 0.001;"></div>
</body>
</html>
