<html>
<style type="text/css">
<!--
.style13 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; }
-->
</style>
<body>
<?php include("formato.php"); ?>
<?php CabeceraPagina(); ?>
<?php
if (!isset($buscado)){
echo "<p>Debe ingresar un Nº de Solicitud.</p> \n";
echo "<p><a href=fbusqueda.php>Volver</p> \n";
echo "</html></body> \n";
exit;
}
$link = mysql_connect("localhost", "root", "");
mysql_select_db("db_soporte", $link);
$sql = "SELECT folio FROM tbl_maestra WHERE (folio = '$buscado')";
$result = mysql_query($sql, $link);
?>
<TABLE height="5%" BORDER=1 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="100"><span class="style13"> Nº Solicitud </span></TD>
<TD width="100"><span class="style13"> Fecha </span></TD>
<TD width="150"><span class="style13"> Solicitante </span></TD>
<TD width="100"><span class="style13"> Cargo </span></TD>
<TD width="150"><span class="style13"> Dir. / Depto. </span></TD>
<TD width="100"><span class="style13"> Sistema </span></TD>
<TD width="100"><span class="style13"> Solicitud </span></TD>
<td width="200"><span class="style13"> Estado </span></td>
</TR>
<?php
while($row = mysql_fetch_array($result)) {
printf("<tr>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
<td><span class='style13'> %s</span></td>
</tr>",
$row["folio"],
$row["fecha_solicitud"],
$row["hora_solicitud"],
$row["nombre_usuario"],
$row["depto_usuario"],
$row["tipo_requerimiento"],
$row["tecnico_asignado"],
$row["estado_atencion"]);
}
echo "<p><a href=fbusqueda.php>Volver</p> \n";
?>
</table>
<?php PiePagina(); ?>
</body>
</html>