<?php
session_start();
require_once('conexion.php');
require_once('include/sesiones.php');
if (isset($_SESSION['clie_id']))
{
  
?>
<!DOCTYPE html>
<html lang="en">
  <head>
	<?php include ('head.php');?>
<script>

function miFuncion() {
       load(1);
    }
</script>
  </head>
<body onload="miFuncion();">
<?php
 

  $configuracion="";
  $cotizacion="";
  $clientes="";

  include ('menu.php');
?> 
    
<div class="main">
<div class="">
    <div class="" >
        <div class="col-md-2">
        <?php include ('include/menu_ventas.php');?>
	    </div> <!-- /span6 -->
     	
      
        <div class="col-md-10" >
            <div class="widget stacked">
                <div class="widget-content">
                   <div class="panel panel-default">
                <div class="panel-body">
                    <h1 class="panel-title pull-left" style="font-size:20px;"><i class="fas fa-file-alt fa-2x"></i> FAMILIAS</h1>
                </div>
            </div>
                    <div class="widget stacked">
                        <div class="widget-content">
                            <section id="buttons">
                                <div class="col-md-7"></div>
                                <div class="col-md-5">
                                    <input type="text" class="form-control" id="q" placeholder="Buscador" onKeyUp='load(1);' autofocus value="" autocomplete="off">
                                </div>
                            </section>
                        </div>
                    </div>
                    <center> <span id="loader"></span></center>
                    <div id="resultados"></div><!-- Carga los datos ajax -->
                    <div class='outer_div'></div><!-- Carga los datos ajax -->
                </div>    
            </div>
        </div> <!-- /span8 -->
    </div> <!-- /row -->
</div> <!-- /main -->
</div>
<div class="footer" style="
        width: 100%;
        height:40px;
  position: fixed;
  bottom: 0;
  z-index:1000;">
    
    <div class="container">
        <div class="row">
            <div id="footer-copyright" class="col-md-5">
            2017-21 VICPOS.COM.
            </div> <!-- /span6 -->
            <div id="footer-copyright" class="col-md-6">
            Desarrollado por <a href="http://vicpos.com" target="_blank">Vicpos.com</a>
            </div> <!-- /.span6 -->
            <div id="footer-terms" class="col-md-1">
            <p>V 3</p>
            </div> <!-- /.span6 -->
        </div> <!-- /row -->
    </div> <!-- /container -->
</div> <!-- /footer -->
<script type="text/javascript" src="php_familias/ajax.js"></script>

  </body>
</html>

<?php

}
else
{
    echo '<script>location.href = "index.php";</script>';
}
?>
