<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <!--  <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="language" content="pt-BR" />
    <meta name="target_country" content="br" />
    <meta name="rating" content="general"/>
    <meta name="robots" content="index,follow"/>
    <meta name="revisit-after" content="1 days"/>
    <meta name="author" content="Felipe Govoni" />
    <meta name="reply-to" content="contato@govoni.com.br"/>
    <title><?php if (isset($seo_title)){echo $seo_title;}?></title>
    <link rel="stylesheet" href="<?php echo base_url('assets/bootstrap/css/bootstrap.min.css');?>" media='all'/>
    <link href="<?php echo base_url('assets/fontawesome/css/all.css');?>" rel="stylesheet" media='all'/>
    <script src="<?php echo base_url('assets/js/jquery.js');?>"></script>
    <script src="<?php echo base_url('assets/bootstrap/js/bootstrap.bundle.js');?>"></script>
    <script src="<?php echo base_url('assets/js/menu.js');?>"></script>


    <style>

        body table{
            font-size: 1.0rem;
            line-height: 1.0;
        }

        @media print {
            body table{
                font-size: 0.7rem;
                line-height: 0.1;
            }

            th{
                line-height: 0.1;
            }
        }








    </style>
</head>
<body>




    <div class="container">


        <div class='row mt-3'>

            
            <div class='col-6 col-md-10 col-pr-10'>
                <?php echo $empresa[0]->fantasia.
                "<br>
                Data: ". date('d/m/Y')."<br>
                Hora: ". date('h:i:s');
                ?>

                <h4><?php echo $titulo; ?></h4>
            </div>
            
            <div class='col-6 col-md-2 col-pr-2'>
                <img src='<?php echo base_url('assets/img/logo.png'); ?>' class="img-fluid">
            </div>

            <div class='col-12'>
                <hr class='d-print-none'>
            </div>

        </div>


    </div>




    <!--------------------- conteudo -------------------->

        <?php echo $contents;?>

    







        


    <!--------------------- RODAPE -------------------->
  
    <div class="footer d-print-none">
      <div class="container">
        <div class="row justify-content-center p-3">

          <div class="col-12 text-center">
          <span class="text-center">
          <center>
            Desenvolvido por<a href="https://www.mbasis.com.br/" target="_blank"> MBA Sistemas</a>
          </center>
        </span>    
            
          </div>
          
        </div>
        
      </div>
    </div>
    
   

</body>
</html>