<head><meta charset="gb18030">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta name="description" content="Materialize is a Material Design Admin Template,It's modern, responsive and based on Material Design by Google.">
    <meta name="keywords" content="materialize, admin template, dashboard template, flat admin template, responsive admin template, eCommerce dashboard, analytic dashboard">
    <meta name="author" content="ThemeSelect">
    <title>Sistema</title>
    <link rel="apple-touch-icon" href="app-assets/images/favicon/apple-touch-icon-152x152.png">
    <link rel="shortcut icon" type="image/x-icon" href="app-assets/images/favicon/favicon-32x32.png">
    <!--CAMBIAR POR LOGO DE EMPRESA DESARROLLADORA-->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <!--BEGIN: VENDOR CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/vendors.min.css">
    <!--END: VENDOR CSS-->
    <!--BEGIN: Page Level CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/themes/vertical-gradient-menu-template/materialize.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/themes/vertical-gradient-menu-template/style.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/pages/dashboard.css">
    <!--    END: Page Level CSS
        BEGIN: Login CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/pages/login.css">
    <!--    END: Login CSS
        BEGIN: Custom CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/custom/custom.css">
    <!--END: Custom CSS-->
</head>
<?php
session_start();

include_once __DIR__ . '/util/Configuraciones.php';

if (isset($_SESSION['usuario'])) {
    $usuario = $_SESSION['usuario'];
    $gg = '<input id="txtUsuario" type="hide" value="' . $usuario . '" style="display: none;">';
    echo $gg;
} else {
    $url_base = Configuraciones::url_base();
    header("Location:" . $url_base . "../main/login.php");
}
?>
<!--BEGIN VENDOR JS-->
<script src="app-assets/js/vendors.min.js"></script>
<!--         BEGIN VENDOR JS
         BEGIN PAGE VENDOR JS-->
<script src="app-assets/vendors/chartjs/chart.min.js"></script>
<!--         END PAGE VENDOR JS
         BEGIN THEME  JS-->
<script src="app-assets/js/plugins.js"></script>
<script src="app-assets/js/search.js"></script>
<script src="app-assets/js/custom/custom-script.js"></script>
<script src="view/js/Acceso/despachadorIndex.js"></script>
<!--
<html lang="en">

     Mirrored from coderthemes.com/velonic/admin/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 14 May 2015 23:17:26 GMT 
    

    <body class="vertical-layout page-header-light vertical-menu-collapsible vertical-gradient-menu preload-transitions 1-column login-bg   blank-page blank-page" data-open="click" data-menu="vertical-gradient-menu" data-col="1-column">
        <div class="row">
            <div class="col s12">
                <div class="container">
                    <div id="login-page" class="row">
                        <div class="col s12 m6 l4 z-depth-4 card-panel border-radius-6 login-card bg-opacity-8">
                            <form class="login-form">
                                <div class="row">
                                    <div class="input-field col s12 center">
                                        <h5 class="ml-4">EMPRESA</h5>
                                    </div>
                                </div>
                                <div class="row margin">
                                    <div class="input-field col s12">
                                        <i class="material-icons prefix pt-2">person_outline</i>
                                        <input id="txtUsuario" type="text" required>
                                        <label for="username" class="center-align">Username</label>
                                    </div>
                                </div>
                                <div class="row margin">
                                    <div class="input-field col s12">
                                        <i class="material-icons prefix pt-2">lock_outline</i>
                                        <input id= "txtPass" type="password" required>
                                        <label for="password">Password</label>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="input-field col s12">
                                        <a id="btnAcceder" class="btn waves-effect waves-light border-round gradient-45deg-light-blue-cyan col s12">Iniciar Sesión</a>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="content-overlay"></div>
            </div>
        </div>

        
                <div class="container-fluid h-100">
        
                    <div class="row no-margin h-100">
        
                        <div class="col-sm-12 no-padding login-box h-100">
                            <div class="row no-margin w-100">
                                <div class="col-lg-7 col-md-7 box-de">
        
                                    <img src="assets/images/inicio.jpg" alt="">
                                </div>
                                <div class="col-lg-5 col-md-5 log-det">
                                    <div class="row" style="margin: 0 0 2rem 0 ;">
                                        <img src="assets/images/logo.png" alt="" style="margin: auto; max-width: 50%;">
        
                                    </div>
                                    <form class="login-form" action="login.php" method="POST">
                                        <div class="text-box-cont">
                                            <div class="input-group mb-3">
                                                <div class="input-group-prepend">
                                                    <span class="input-group-text" id="basic-addon1">
                                                        <i class="far fa-user"></i>
                                                    </span>
                                                </div>
                                                <input type="text" class="form-control" placeholder="Usuario" aria-label="Username" aria-describedby="basic-addon1" id = "txtUsuario" required>
                                            </div>
                                            <div class="input-group mb-3">
                                                <div class="input-group-prepend">
                                                    <span class="input-group-text" id="basic-addon1"><i class="fas fa-lock"></i></span>
                                                </div>
                                                <input type="password" class="form-control" placeholder="Contraseña" aria-label="Username" aria-describedby="basic-addon1" id= "txtPass" required>
                                            </div>
        
        
                                            <div class="input-group center  mb-3"> 
                                                <button id="btnAcceder" class="btn btn-primary " style="width: 100%">Iniciar Sesión</button>
                                            </div>  
                                        </div>
                                    </form>
                                </div>
                                <div class="foter-credit">
                                    <a href="https://targox.pe/">Targox 2020. Todos los derechos reservados.</a>
                                </div>
        
                            </div>
                        </div>
        
                    </div>
                </div>
        




         END: Footer
         BEGIN VENDOR JS
        <script src="app-assets/js/vendors.min.js"></script>
         BEGIN VENDOR JS
         BEGIN PAGE VENDOR JS
        <script src="app-assets/vendors/chartjs/chart.min.js"></script>
         END PAGE VENDOR JS
         BEGIN THEME  JS
        <script src="app-assets/js/plugins.js"></script>
        <script src="app-assets/js/search.js"></script>
        <script src="app-assets/js/custom/custom-script.js"></script>
    </body>
    
</html>-->
