<?php
/**
 * @version 7.9 [rev.7.9.01]
 */

$this->setGlobal('themeFolder', $this->baseUrl . '/' . $this->themesFolder . '/' . 'admin');
?>
<!DOCTYPE html>

<html lang="<?php echo $this->htmlLang(); ?>" dir="<?php echo $htmlDir = $this->htmlDir(); ?>">
<head>
    <?php echo $this->headTitle(); ?>

    <?php
    $this->headMeta()
        ->appendName('viewport', 'width=device-width, initial-scale=1.0')
        ->appendHttpEquiv('X-UA-Compatible', 'IE=edge');
    echo $this->headMeta();

    /** add rtl bootstrap css if the case */
    if ($htmlDir == \Cube\View\Helper\HtmlDir::RTL) {
        $this->script()
            ->addHeaderCode('<link href="' . $this->baseUrl . '/css/bootstrap-rtl.min.css" rel="stylesheet" type="text/css">')
            ->addHeaderCode('<link href="' . $this->baseUrl . '/css/style.rtl.css" media="all" rel="stylesheet" type="text/css"');
    }

    $this->script()->addHeaderCode('<link href="' . $this->themeFolder . '/css/login.css" media="all" rel="stylesheet" type="text/css">');
    ?>

    <?php echo $this->script()->displayHeaderCode(); ?>
</head>

<body>
<div class="login-container">
    <header>
        <h1>
            <img src="<?php echo $this->baseUrl; ?>/<?php echo $this->themesFolder; ?>/admin/images/logo.png"
                 alt="Logo">
        </h1>
    </header>


    <?php echo $this->getContent(); ?>
    <hr/>

    <footer>
        <small>
            v<?php echo \Ppb\Utility::VERSION; ?>
            &copy;<?php echo date('Y'); ?> Online Ventures Software. <br>
            All rights reserved.
        </small>

    </footer>

</div>
<!-- /container -->
</body>
</html>
