Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/11/2007, 08:17
Jhorb
 
Fecha de Ingreso: junio-2002
Mensajes: 261
Antigüedad: 21 años, 10 meses
Puntos: 0
Re: Realizar submit sin enviar

Segunda parte ya q es muy extenso y no lo soportaba el editor:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SisAudite - Módulo de Opciones</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body >

<div id="Layer1">
<div class="Estilo2" id="IdMenu"><a href="pregauditoria.php">Nueva Auditoria</a> | <a href="auditoriasquery.php">Ver Auditorias</a> | <a href="preguntascreacion.php">Crear Preguntas</a> | <a href="RecUsuarioscreacion.php">Crear Usuarios</a> | <a href="<?php echo $logoutAction ?>">Logout</a> </div>
</div>
<div id="Layer4">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="form1" method="post" action="">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="2%" rowspan="2">&nbsp;</td>
<td colspan="4"><div align="center" class="Estilo8">Realice a continuación la búsqueda de la auditoria que desee calificar</div></td>
<td width="2%" rowspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="37%"><span class="Estilo8">
<label>Código de usuario </label>
</span></td>
<td width="23%"><select name="codigo" id="codigo" onClick="submit()">
<?php
do {
?>
<option value="<?php echo $row_RecUsuario['codigo']?>"<?php if (!(strcmp($row_RecUsuario['codigo'], $_POST['codigo']))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecUsuario['codigo']?></option>
<?php
} while ($row_RecUsuario = mysql_fetch_assoc($RecUsuario));
$rows = mysql_num_rows($RecUsuario);
if($rows > 0) {
mysql_data_seek($RecUsuario, 0);
$row_RecUsuario = mysql_fetch_assoc($RecUsuario);
}
?>
</select></td>
<td width="21%"><span class="Estilo8">Empresa</span></td>
<td width="15%"><select name="empresa" id="empresa" onclick="submit()">
<?php
do {
?>
<option value="<?php echo $row_RecEmpresa['empresa']?>"<?php if (!(strcmp($row_RecEmpresa['empresa'], $_POST['empresa']))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecEmpresa['empresa']?></option>
<?php
} while ($row_RecEmpresa = mysql_fetch_assoc($RecEmpresa));
$rows = mysql_num_rows($RecEmpresa);
if($rows > 0) {
mysql_data_seek($RecEmpresa, 0);
$row_RecEmpresa = mysql_fetch_assoc($RecEmpresa);
}
?>
</select></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span class="Estilo8">Software</span></td>
<td><select name="software" id="software" onclick="submit()">
<?php
do {
?>
<option value="<?php echo $row_RecSoftware['software']?>"<?php if (!(strcmp($row_RecSoftware['software'], $_POST['software']))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecSoftware['software']?></option>
<?php
} while ($row_RecSoftware = mysql_fetch_assoc($RecSoftware));
$rows = mysql_num_rows($RecSoftware);
if($rows > 0) {
mysql_data_seek($RecSoftware, 0);
$row_RecSoftware = mysql_fetch_assoc($RecSoftware);
}
?>
</select></td>
<td><span class="Estilo8">Fecha</span></td>
<td><select name="fecha" id="fecha" onclick="submit()">
<?php
do {
?>
<option value="<?php echo $row_RecFechas['fecha']?>"<?php if (!(strcmp($row_RecFechas['fecha'], $_POST['fecha']))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecFechas['fecha']?></option>
<?php
} while ($row_RecFechas = mysql_fetch_assoc($RecFechas));
$rows = mysql_num_rows($RecFechas);
if($rows > 0) {
mysql_data_seek($RecFechas, 0);
$row_RecFechas = mysql_fetch_assoc($RecFechas);
}
?>
</select></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span class="Estilo8">Número auditoria </span></td>
<td><select name="numero" id="numero" onChange="submit()">
<?php
do {
?>
<option value="<?php echo $row_RecNumAudito['numero']?>"<?php if (!(strcmp($row_RecNumAudito['numero'], $_POST['numero']))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecNumAudito['numero']?></option>
<?php
} while ($row_RecNumAudito = mysql_fetch_assoc($RecNumAudito));
$rows = mysql_num_rows($RecNumAudito);
if($rows > 0) {
mysql_data_seek($RecNumAudito, 0);
$row_RecNumAudito = mysql_fetch_assoc($RecNumAudito);
}
?>
</select></td>
<td colspan="2">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="4"><label> </label></td>
<td>&nbsp;</td>
</tr>
</table>
</form></td>
</tr>
</table>
<p>&nbsp;</p>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="form2" method="post" action="calificarauditorias.php">
<label>
<div align="right">
<input name="varnumero" type="hidden" id="varnumero" value="<?php echo $_POST['numero']; ?>">
<input type="submit" name="Submit" value="Enviar">
</div>
</label>
</form>
</td>
</tr>
</table>
<p>&nbsp;</p>
</div>
<table width="719" height="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="127" style="width:719px; height:127px; background-image:url(imagenes/Fondo_03.jpg); background-repeat:no-repeat"><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</tr>
<tr>
<td height="80" style="width:719px; height:178px; background-image:url(imagenes/Fondo_06.jpg); background-repeat:repeat-y"></tr>
<tr>
<td height="60" style="width:719px; height:75px; background-image:url(imagenes/Fondo_06.jpg); background-repeat:repeat-y"></td>
</tr>
<tr>
<td height="150" style="width:719px; height:178px; background-image:url(imagenes/Fondo_06.jpg); background-repeat:repeat-y"></tr>
<tr>
<td style="width:719px; height:30px; background-image:url(imagenes/Fondo_10.jpg); background-repeat:no-repeat">&nbsp;</td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($RecEmpresa);

mysql_free_result($RecSoftware);

mysql_free_result($RecFechas);

mysql_free_result($RecNumAudito);

mysql_free_result($RecUsuario);
?>
__________________
Buscando el camino...