<?php
#   SGT - The SGT for Internet - http://sgt.eti.br
#   Copyright (c) 2016-2018, Jean Azevedo. All rights reserved.

#   This file is part of SGT.

#   SGT is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   any later version.

#   SGT is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.

#   You should have received a copy of the GNU General Public License
#   along with Foobar.  If not, see <http://www.gnu.org/licenses/>.

    include "qrm_.php";
    include "../conectar.php";
?>
<!doctype html>
<html>
<head>
    <?php
        include '../css.html';
    ?>
    <meta charset="UTF-8">
    <title>QR Monitor - SGT</title>
</head>
<body>
    <div class="main_sgt">
        <div class="container-fluid content_sgt">
            <div class="row">
                <div class="col-24 col-md-1"></div>
                <div class="col align-self-center">
                    <ul class="list-unstyled">
                        <li><strong>Cód.:</strong> <?php echo $dados['cod_m']; ?></li>
                        <li><strong>Unidade:</strong> <?php echo $dados_unid['unidade']; ?></li>
                        <li><strong>Setor:</strong> <?php echo $dados_set['setor']; ?></li>
                        <li><strong>Marca:</strong> <?php echo $dados_marc['marca']; ?></li>
                        <li><strong>Modelo:</strong> <?php echo $dados_mod['modelo']; ?></li>
                        <li><strong>Número de Série :</strong> <?php echo $dados['nserie']; ?></li>
                        <li><strong>Data de Aquisição:</strong> <?php echo date('d/m/Y', strtotime($dados['daquise'])); ?></li>
                        <li><strong>Termino da Garantia:</strong> <?php echo date('d/m/Y', strtotime($dados['garantia'])); ?></li>
                        <li><strong>Loja:</strong> <?php echo $dados['loja']; ?></li>
                        <li><strong>Número da Nota Fiscal:</strong> <?php echo $dados['nnota']; ?></li>
                        <li><strong>Número do Imobilizado:</strong> <?php echo $dados['nptri']; ?></li>
                    </ul>
                    <button type="button" class="btn btn-primary" align="center" onclick="javascript: window.location.href='<?php echo $sgturl; ?>';">Fazer Login</button>
                </div>
            </div>
        </div>
        <?php
            include '../roda_pe_.html';
        ?>
    </div>
</body>
</html>