<?php
session_start();
if (!isset($_SESSION["user_id"]) || $_SESSION["user_id"]==null):
   print "<script>alert(\"Acceso Invalido!\");
   window.location='login.php';</script>";
endif;
if ($_SESSION["user_at"] < 2):
   print "<script>alert(\"Sin Acceso a Transaccion!\");
   window.location='vt000.php';</script>";
endif;
include_once ("lib/fpdf/funci.php");
date_default_timezone_set('America/La_Paz');
$coalm = $_SESSION["user_al"];
$conex = conectar();
?>
<body bgcolor="#E0FFFF">
<div class="main-wrapper">
<link href="css/tabla.css" rel="stylesheet" type="text/css" />
<link href="bootstrap/css/bootstrap.css" rel="stylesheet" />
<style type="text/css">
   .campos{
      border-radius: 5px;
      border: 1px solid #39c;
      text-align: center;
      font-family: Arial;
      font-size: 9pt;
      background-color: #E9E9E9;
   }

   .redondo{
      border-radius: 5px;
      border: 1px solid #39c;
   }
</style>
<br>
<center><h1>Buscar por Nombre</h1></center>
<table width="450" border="0" cellpadding="3" cellspacing="1" align="center">
<form method="POST" action="vt229.php">
<tr height="50">
<center>
<FONT FACE="times new roman"><strong>Producto :</strong></FONT>
<input type="text" autofocus name="buspro" size="30" class="campos">
&nbsp;
<button type="submit" name="enviar" class="btn btn-success btn-sm">Buscar</button>
&nbsp;
<a href="vt000.php" class="btn btn-danger btn-sm">Salir</a></center>
</center>
</tr>
</form>
</table>