<!DOCTYPE html>
<html lang="en">
<?php
Include("../includes/con_cliente.php");
 require_once('../includes/connection.php');
    session_start();
    if(isset($_SESSION['User']))
    {
        $query="select * from tbusuario where nomeuser='".$_SESSION['User']."'";
        $result=mysqli_query($con,$query);
        $resultado = mysqli_fetch_assoc($result);
        $r_resultado = $resultado;
    }
    else
    {
        header("location:../index.php");
    }
 ?>


<head>
    <title>SCA - Módulo CRM</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
    
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/style.css">
  </head>
  <body>
    
    <div class="wrapper d-flex align-items-stretch">
      <nav id="sidebar" class="active">
        <h1><a href="index.html" class="logo">CRM</a></h1>
        <ul class="list-unstyled components mb-5">
          <!-- <li class="active">
            <a href="#"><span class="fa fa-newspaper-o"></span> Novo Contrato</a>

          </li>
         <li>
              <a href="#"><span class="fa fa-briefcase"></span> Vales</a>
          </li>
          <li>
            <a href="#"><span class="fa fa-legal"></span> Administração</a>
          </li>
          <li>
            <a href="#"><span class="fa fa-line-chart"></span> Dashboard</a>
          </li> -->
          <li>
            <a href="fatura01.php"><span class="fa fa-reply-all"></span> Voltar</a>
          </li>
        </ul>

        <div class="footer">
          <p>
            Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved - Fábio Freitas <a href="https://colorlib.com" target="_blank">Colorlib.com</a>
          </p>
        </div>
      </nav>

        <!-- Page Content  -->
      <div id="content" class="p-4 p-md-5">

      <!--  <nav class="navbar navbar-expand-lg navbar-light bg-light">
          <div class="container-fluid">

            <button type="button" id="sidebarCollapse" class="btn btn-primary">
              <i class="fa fa-bars"></i>
              <span class="sr-only">Toggle Menu</span>
            </button>
            

            
          </div>
        </nav> -->

        <h2 class="mb-4">Novo Contrato</h2>
        
      </div>
    </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/popper.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/main.js"></script>
  </body>
</html>
