<?php
/*
 * Copyright (c) 2020 Earworks.
 * Codeigniter Project Template Modification
 * Please contact our email for more information :
 *  contact@earworks.co.id
 */
defined('BASEPATH') OR exit('No direct script access allowed');
$ver = VERSION;
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="description" content="<?= APPLICATION_TITLE ?> Backoffice">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <?php echo $render_meta ?>
        <!-- icon -->
        <link rel="apple-touch-icon" sizes="57x57" href="<?= base_url("img/icon/apple-icon-57x57.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="60x60" href="<?= base_url("img/icon/apple-icon-60x60.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="72x72" href="<?= base_url("img/icon/apple-icon-72x72.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="76x76" href="<?= base_url("img/icon/apple-icon-76x76.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="114x114" href="<?= base_url("img/icon/apple-icon-114x114.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="120x120" href="<?= base_url("img/icon/apple-icon-120x120.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="144x144" href="<?= base_url("img/icon/apple-icon-144x144.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="152x152" href="<?= base_url("img/icon/apple-icon-152x152.png?v=$ver") ?>">
        <link rel="apple-touch-icon" sizes="180x180" href="<?= base_url("img/icon/apple-icon-180x180.png?v=$ver") ?>">
        <link rel="icon" type="image/png" sizes="192x192"  href="<?= base_url("img/icon/android-icon-192x192.png?v=$ver") ?>">
        <link rel="icon" type="image/png" sizes="32x32" href="<?= base_url("img/icon/favicon-32x32.png?v=$ver") ?>">
        <link rel="icon" type="image/png" sizes="96x96" href="<?= base_url("img/icon/favicon-96x96.png?v=$ver") ?>">
        <link rel="icon" type="image/png" sizes="16x16" href="<?= base_url("img/icon/favicon-16x16.png?v=$ver") ?>">
        <link rel="manifest" href="<?= base_url("img/icon/manifest.json?v=$ver") ?>">
        <meta name="msapplication-TileColor" content="#ffffff">
        <meta name="msapplication-TileImage" content="<?= base_url("img/icon/ms-icon-144x144.png?v=$ver") ?>">
        <meta name="theme-color" content="#ffffff">
        <!-- end icon -->
        <title><?php echo $title ?></title>
        <!-- Start Load CSS Plugins -->
        <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("../plugins/font-awesome/css/font-awesome.css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("../plugins/bootstrap/css/bootstrap.css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("../plugins/metronic/css/components.min.css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("../plugins/metronic/css/plugins.min.css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("../plugins/metronic/css/login.min.css") ?>" />
        <?php echo $render_css_plugin ?>
        <!-- End Load CSS Plugins -->
        <!-- Start Load Custom CSS -->
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("css/style.css?v=" . $ver) ?>" />
        <!-- End Load Custom CSS -->
        <?php echo $render_css ?>
    </head>
    <body class=" login">
        <div class="message-wrapper">
            <?= implode('', show_message()) ?>
        </div>
        <!-- BEGIN LOGO -->
        <div class="logo">
            <a href="index.html">
                <img src="<?php echo base_url('img/Transitionslogo.png?v='.$ver) ?>" alt="" style="width: 100px;" /> </a>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN LOGIN -->
        <div class="content">
            <?php echo $content ?>
        </div>
        <div class="copyright"> <?= date('Y') ?> © Earworks Consulting. </div>
    </body>
    <!-- BEGIN CORE PLUGINS -->
    <script src="<?php echo base_url("../plugins/jquery/jquery-3.4.1.min.js") ?>"></script>
    <script src="<?php echo base_url("../plugins/bootstrap/js/bootstrap.min.js") ?>"></script>
    <!-- END CORE PLUGINS -->
    <!-- Start Load JS Plugins-->
    <?php echo $render_js_plugin ?>
    <!-- End Load JS Plugins -->
    <!-- Start Load Custom JS -->
    <script type="text/javascript" src="<?php echo base_url("js/script.js?v=" . $ver) ?>"></script>
    <!-- End Load  CUstom JS -->
    <?php echo $render_js ?>
</html>