<?php
/*
 * Copyright (c) 2018 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');
/*
 * Website Login Template
 * All content on this file will allways appear on Login page
 * 
 * @var $render_css string rendered css
 * @var $render_js string rendered js
 * @var $render_meta string rendered meta
 * @var $title string if not set will display CI_NAME constant value
 * @var $content string view content
 */
$min = (ENVIRONMENT == 'development') ? null : '.min';
?>

<!DOCTYPE html>
<html lang="id">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <?php echo $render_meta ?>

        <title><?php echo $title ?></title>
        <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("assets/plugins/font-awesome/css/font-awesome" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/plugins/simple-line-icons/simple-line-icons" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/plugins/bootstrap/css/bootstrap" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/plugins/bootstrap-switch/css/bootstrap-switch" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/plugins/select2/css/select2" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/plugins/select2/css/select2-bootstrap.min.css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/backoffice/css/components" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/backoffice/css/plugins" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/backoffice/css/login-2" . $min . ".css") ?>" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url("assets/backoffice/css/style.css") ?>" />
        <?php echo $render_css ?>

    </head>

    <body class="login" style="background-color: #000000;">
        <!-- BEGIN LOGO -->
        <div class="logo">
            <a href="index.html">
                <img src="<?php echo base_url("assets/backoffice/img/logo-big.png") ?>" alt="" style="height: 90px; width: auto;"/> 
            </a>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN LOGIN -->
        <div class="content">
           <?php echo $content ?>
        </div>
        <div class="copyright"> 2019 © Mercedes-Benz Indonesia. Earworks Consulting. </div>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/jquery/jquery.min.js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/bootstrap/js/bootstrap" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/backoffice/js/js.cookie.min.js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/jquery-slimscroll/jquery.slimscroll" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/backoffice/js/jquery.blockui.min.js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/bootstrap-switch/js/bootstrap-switch" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/jquery-validation/js/jquery.validate" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/jquery-validation/js/additional-methods" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/plugins/select2/js/select2.full" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/backoffice/js/app" . $min . ".js") ?>"></script>
        <script type="text/javascript" src="<?php echo base_url("assets/backoffice/js/script.js") ?>"></script>
        <?php echo $render_js ?>
    </body>
</html>