<?php 
if(empty($_SESSION['venta_codigo'])){
	$_SESSION['venta_codigo'] = $code;
}
echo $_SESSION['venta_codigo'];
?>
<div id="spinner" class="show w-100 vh-100 position-fixed translate-middle top-50 start-50  d-flex align-items-center justify-content-center">
    <div class="spinner-grow text-primary" role="status"></div>
</div>

        <div class="container-fluid fixed-top" style="background:green;color:white;">
            <div class="container topbar d-none d-lg-block" style="background:green;color:white;"></div>
            <div class="container px-0" style="background:green;">
                <nav class="navbar navbar-light navbar-expand-xl" style="background:green;color:white;">
                    <a href="<?php echo PATH_HOME; ?>" class="navbar-brand">
                        <?php echo '<img src="'.PATH_HOME.'web/logo2.png" width="110px">'; ?></a>
                    <button class="navbar-toggler py-2 px-3" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" style="background:green;">
                        <span class="fa fa-bars text-primary"></span>
                    </button>
                    <div class="collapse navbar-collapse" id="navbarCollapse" style="background:green;color:white;">
                        <div class="navbar-nav mx-auto" style='font-weight:bold;color:white;background:green;'>
                            <a href="<?php echo PATH_HOME; ?>" class="nav-item nav-link">Inicio</a>
                            <a href="#" class="nav-item nav-link">Quienes somos</a>
                            <div class="nav-item dropdown" style="background:green;">
                                <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Categorias de Productos</a>
                                <div class="dropdown-menu m-0 bg-secondary rounded-0" style="background:green;">
                                    <a href="#" class="dropdown-item">En General</a>
                                    <a href="#" class="dropdown-item">Destacados</a>
                                    <a href="#" class="dropdown-item">Con descuentos</a>
                                    <a href="#" class="dropdown-item">En Promoción</a>
                                </div>
                            </div>
                            <a href="#" class="nav-item nav-link">Contactos</a>
                        </div>
                        
                    </div>
                </nav>
            </div>
        </div>
