Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/02/2011, 12:27
Avatar de oscarios
oscarios
 
Fecha de Ingreso: septiembre-2004
Mensajes: 186
Antigüedad: 19 años, 7 meses
Puntos: 2
Respuesta: variables trocadas

ULTIMA PARTE

Código PHP:
Ver original
  1. <body onload="document.getElementById('mac').focus()">
  2. <p>&nbsp;</p>
  3. <table width="80%" border="0" align="center" cellpadding="2" cellspacing="0">
  4.   <tr>
  5.     <td>[<a href="javascript:history.back(1)">Atras</a>]</td>
  6.   </tr>
  7.   <tr>
  8.     <td align="center" bgcolor="#CCCCCC"><strong>RECEIVING&nbsp;&nbsp;&nbsp;M A C</strong></td>
  9.   </tr>
  10. </table>
  11. <p>&nbsp;</p>
  12. <form action="<?php echo $editFormAction; ?>" method="POST" name="form1" id="form1" onsubmit="MM_validateForm('mac','','R','serial','','R');return document.MM_returnValue">
  13.   <table width="80%" border="0" align="center" cellpadding="3" cellspacing="0" class="tablagris">
  14.     <tr>
  15.       <td colspan="5" align="center" bgcolor="#F5F5F5">OPERADOR:<strong><?php echo $row_Recomaestra1['Operador']; ?></strong></td>
  16.     </tr>
  17.     <tr>
  18.       <td width="120" align="right" bgcolor="#EFEFEF"><span class="texto2">No. Sap:</span></td>
  19.       <td width="209" bgcolor="#EFEFEF" class="texto2"><?php echo $row_Recomaestra1['sap']; ?></td>
  20.       <td width="153" align="right" bgcolor="#EFEFEF"><span class="texto2">Manufacturer:</span></td>
  21.       <td colspan="2" bgcolor="#EFEFEF" class="texto2"><?php echo $row_Recomaestra1['fabricante']; ?></td>
  22.     </tr>
  23.     <tr>
  24.       <td align="right" bgcolor="#F5F5F5"><span class="texto2">Category:</span></td>
  25.       <td bgcolor="#F5F5F5"><?php echo $row_Recomaestra1['categoria']; ?></td>
  26.       <td align="right" bgcolor="#F5F5F5"><span class="texto2">Model:</span></td>
  27.       <td colspan="2" bgcolor="#F5F5F5" class="texto2"><?php echo $row_Recomaestra1['modelo']; ?></td>
  28.     </tr>
  29.     <tr>
  30.       <td align="right" bgcolor="#EFEFEF"><span class="texto2">Wire Receipt:</span></td>
  31.       <td bgcolor="#EFEFEF"><?php echo $row_Recomaestra1['numentra']; ?></td>
  32.       <td align="right" bgcolor="#EFEFEF"><span class="texto2">Location:</span></td>
  33.       <td width="156" bgcolor="#EFEFEF"><?php echo $row_Recomaestra1['location']; ?></td>
  34.       <td width="138" bgcolor="#EFEFEF">box <?php echo $row_Recomaestra1['caja']; ?> Layette <?php echo $row_Recomaestra1['canastilla']; ?></td>
  35.     </tr>
  36.     <tr>
  37.       <td align="right" bgcolor="#F5F5F5"><span class="texto2">Estado:</span></td>
  38.       <td bgcolor="#F5F5F5"><?php echo $row_Recomaestra1['estado']; ?> / <?php echo $row_Recomaestra1['marcacion']; ?></td>
  39.       <td align="right" bgcolor="#F5F5F5"><span class="texto2">Mac:</span></td>
  40.       <td colspan="2" bgcolor="#F5F5F5" class="texto2"><input name="mac" type="text" class="selecform" id="mac" size="12" maxlength="12" onkeypress="pasaSiguiente(this, document.getElementById('serial'), 13)" /></td>
  41.     </tr>
  42.     <tr>
  43.       <td align="right" bgcolor="#EFEFEF"><span class="texto2">Origin:</span></td>
  44.       <td bgcolor="#EFEFEF"><?php echo $row_Recomaestra1['origen']; ?></td>
  45.       <td align="right" bgcolor="#EFEFEF" class="texto2">Serial:</td>
  46.       <td colspan="2" bgcolor="#EFEFEF" class="texto2"><input name="serial" type="text" class="selecform" id="serial" size="32" onkeyup="this.value = this.value.replace (/[~!@/#$%^&amp;*()_+,-.?[']/, '') "/></td>
  47.     </tr>
  48.     <tr>
  49.       <td colspan="3" bgcolor="#FFBE84"><input name="estado" type="hidden" id="estado" value="Field Pull" />
  50.         <input name="user" type="hidden" id="user" value="<?php echo $row_Recomaestra1['user']; ?>" />
  51.         <input name="categoria" type="hidden" id="categoria" value="<?php echo $row_Recomaestra1['categoria']; ?>" />
  52.         <input name="fabricante" type="hidden" id="fabricante" value="<?php echo $row_Recomaestra1['fabricante']; ?>" />
  53.         <input name="modelos" type="hidden" id="modelos" value="<?php echo $row_Recomaestra1['modelo']; ?>" />
  54.         <input name="location" type="hidden" id="location" value="<?php echo $row_Recomaestra1['location']; ?>" />
  55.         <input name="origen" type="hidden" id="origen" value="<?php echo $row_Recomaestra1['origen']; ?>" />
  56.         <input name="sap" type="hidden" id="sap" value="<?php echo $row_Recomaestra1['sap']; ?>" />
  57.         <input name="numentra" type="hidden" id="numentra" value="<?php echo $row_Recomaestra1['numentra']; ?>" />
  58.         <input name="caja" type="hidden" id="caja" value="<?php echo $row_Recomaestra1['caja']; ?>" />
  59.       <input name="canastilla" type="hidden" id="canastilla" value="<?php echo $row_Recomaestra1['canastilla']; ?>" />
  60.       <input name="marcacion" type="hidden" id="marcacion" value="<?php echo $row_Recomaestra1['marcacion']; ?>" />
  61.       <input name="operador" type="hidden" id="operador" value="<?php echo $row_Recomaestra1['Operador']; ?>" /></td>
  62.       <td colspan="2" bgcolor="#FFBE84"><input type="submit" value="Guardar" />
  63.         <input type="button" name="button2" id="button2" value="Cambio" onclick="window.location='recibo3.php?varwr=<?php echo $row_Recomaestra1['numentra']; ?>'" />
  64.         <a href="recibo6.php?busca=<?php echo $row_Recomaestra1['numentra']; ?>">
  65.         <label>
  66.           <input type="button" name="button" id="button" value="Salir y Cerrar Wr" onclick="window.location='recibo6.php?busca=<?php echo $row_Recomaestra1['numentra']; ?>'"/>
  67.         </label>
  68.         </a></td>
  69.     </tr>
  70.   </table>
  71.   <input type="hidden" name="MM_insert" value="form1" />
  72. </form>
  73. <p>&nbsp;</p>
  74. <table width="80%" border="0" align="center" cellpadding="2" cellspacing="0">
  75.   <tr>
  76.     <td bgcolor="#CCCCCC">Sap</td>
  77.     <td bgcolor="#CCCCCC">Mac</td>
  78.     <td bgcolor="#CCCCCC">Serial</td>
  79.     <td bgcolor="#CCCCCC">Fecha</td>
  80.     <td bgcolor="#CCCCCC">Operador</td>
  81.     <td bgcolor="#CCCCCC">wr</td>
  82.     <td bgcolor="#CCCCCC">&nbsp;</td>
  83.   </tr>
  84.   <?php do { ?>
  85.     <tr>
  86.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['sap']; ?></td>
  87.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['mac']; ?></td>
  88.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['serial']; ?></td>
  89.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['fecha']; ?></td>
  90.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['Operador']; ?></td>
  91.       <td bgcolor="#E4E4E4"><?php echo $row_Recomaestra1['numentra']; ?></td>
  92.       <td bgcolor="#E4E4E4"><a href="delete.php?campoid=<?php echo $row_Recomaestra1['id']; ?>&amp;busca=<?php echo $row_Recomaestra1['user']; ?>"><img src="img/ico_x.gif" width="13" height="13" border="0" /></a></td>
  93.     </tr>
  94.     <?php } while ($row_Recomaestra1 = mysql_fetch_assoc($Recomaestra1)); ?>
  95. </table>
  96. <p>&nbsp;</p>
  97. </body>
  98. </html>
  99. <?php
  100. mysql_free_result($Recomaestra1);
  101. ?>
__________________
oscariosdw