pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

PHP pastebin - collaborative debugging tool View Help


Posted by jachable on Fri 26 Oct 03:57
report abuse | download | new post

  1. <html>
  2. <head>
  3. <title>.:AVI: Alta de Pedido:.</title>
  4. <meta http-equiv="" content="text/html; charset=iso-8859-1">
  5. <link href="css/tisoft.css" rel="stylesheet" type="text/css">
  6. <script type="text/javascript" src="f_pedido2.js"></script>
  7. <script language="JavaScript">
  8. function ajaxFunction()
  9. {
  10.         var ajaxRequest= false;  // The variable that makes Ajax possible!
  11.         try
  12.         {
  13.                 ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
  14.         }
  15.         catch (e)
  16.         {
  17.                 try{
  18.                                 ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
  19.                         }
  20.                 catch (e){
  21.                                 ajaxRequest = false;
  22.                         }       
  23.         }
  24.        
  25.         if(!ajaxRequest && typeof XMLHttpRequest != 'undefined')
  26.         {
  27.                 ajaxRequest = new XMLHttpRequest();
  28.         }
  29.         return ajaxRequest;
  30. }
  31.  
  32. </script>
  33. </head>
  34.  
  35. <body bgcolor="#EFEFEF">
  36. <!--
  37. <table width="900" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
  38.   <tr>
  39.         <td align="center" > <script src="menu/xaramenu.js" ></script>
  40.       <script menumaker src="menu/andybar.js"></script>
  41.     </td>
  42.   </tr>
  43. </table>
  44. -->
  45. <table width="900" height="545" border="1" align="center" cellpadding="0" cellspacing="0">
  46.   <tr>
  47.  
  48.     <td align="center" bgcolor="#FFFFFF">
  49.           <table width="700" height="466" border="0" align="center" cellpadding="2" cellspacing="0" bordercolor="#E3E3F0" bgcolor="#FFFFFF">
  50.         <tr>
  51.           <td align="center" valign="top">
  52.                         <table width="800" height="414" border="1" align="center" cellpadding="1" cellspacing="0" bordercolor="#CCCCCC">
  53.               <tr>
  54.                 <td height="23" class="titulocolumnaavi"><font size="3">Alta de Pedido</font></td>
  55.               </tr>
  56.               <tr>
  57.                 <td><form name="form1" method="post" action="make_pedido.php?act=1">
  58.  
  59.                     <table width="700" border="0" align="center" bordercolor="#E3E3F0">
  60.                       <tr>
  61.                         <td colspan="2" class="titulocolumna2"><div align="center">Llene los siguientes datos: </div></td>
  62.                       </tr>
  63.                       <tr>
  64.                         <td class="titulocolumna2"><div align="left">Clave del Contrato: </div></td>
  65.                         <td><input type="radio" name="origen_pedido" onClick="set_origenpedido(0)">
  66.                                                         <input name="clave_contrato" type="text" id="clave_contrato" size="20" maxlength="10" title="Ingrese la clave del Contrato" disabled></td>
  67.                       </tr>
  68.  
  69.                       <tr>
  70.                         <td class="titulocolumna2"><div align="left">Cliente: </div></td>
  71.                         <td><input type="radio" name="origen_pedido" onClick="set_origenpedido(1)">
  72.                                                 <select name="cliente_nombre" id="cliente_nombre" disabled>
  73.                                                                         <option>---SELECCIONE---</option>
  74.                                                                         <br />
  75. <b>Warning</b>:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <b>/mnt/storage/users/j/a/c/jachable/tisoft/alta_pedido2.php</b> on line <b>93</b><br />
  76.  
  77.                                                         </select>
  78.                                                 </td>
  79.                       </tr>
  80.                                           <tr>
  81.                                                 <td class="titulocolumna2"><div align="left">Clave del Producto:</div></td>
  82.                                                 <td><input type="text" name="clave_producto" id="clave_producto">
  83.                                                         <input type="button" name="agregar" id="agregar" value="Agregar" onClick="addFila(true);">
  84.                                                 </td>
  85.  
  86.                       </tr>
  87.                                           <tr>
  88.                                                 <td colspan="2" ><a href="javascript: showHidden();">
  89.                                                         <img src="imgs/search.png" border=0> B&uacute;squeda Avanzada de Productos</a>
  90.                                                         <input type="hidden" name="tmp_pedido" id="tmp_pedido" value="-1">
  91.                                                 </td>
  92.                       </tr>
  93.  
  94.                                           <!--<tr>
  95.                         <td colspan="2">&nbsp;</td>
  96.                       </tr>-->
  97.                                 <!-- ///////////////////// INICIO Selección de Productos /////////////////////-->
  98.                                                 <table width="700" border="0" align="center" class="titulocolumna2 show" id="b_avanzada">
  99.                                                   <tr>
  100.                                                         <td class="titulocolumna2"><div align="left">+Forma de buscar:</div></td>
  101.                                                         <td class="titulocolumna2">&nbsp;
  102.                                                                 <select name="tipo_busqueda" id="tipo_busqueda" onChange="reiniciaControles()">
  103.                                                                         <option>---SELECCIONE---</option>
  104.  
  105.                                                                         <option value="1">Clave Familia</option>
  106.                                                                         <option value="2">Marca</option>
  107.                                                                         <option value="3">Nombre del Producto</option>
  108.                                                                         <option value="4">Código de Barras</option>                                                                                                                                                                                            
  109.                                                                 </select>
  110.                                                         </td>
  111.                                                         <td class="titulocolumna2"><div align="left">+Criterio:</div></td>
  112.  
  113.                                                         <td class="titulocolumna2"><input type="text" name="criterio" id="criterio">
  114.                                                         <input type="button" name="get_criterio" id="get_criterio" onClick="buscarCriterio();" value="Buscar">
  115.                                                         </td>
  116.                                                  </tr>
  117.  
  118.                                                  <tr>
  119.                                                         <td class="titulocolumna2"><div align="left">+Resultado de la B&uacute;squeda:</div></td>
  120.                                                         <td colspan="2" class="titulocolumna2">
  121.  
  122.                                                                 <select name="resultado" id="resultado" onChange="activarAdd();">
  123.                                                                         <option>---SELECCIONE---</option>                                                      
  124.                                                                 </select>
  125.                                                         </td>
  126.                                                         <td class="titulocolumna2">
  127.                                                                 <input type="button" name="anexa_producto" id="anexa_producto" onClick="addFila(false);" value="Agregar" disabled="true">
  128.                                                         </td>
  129.                                                   </tr>
  130.                                                 </table>
  131.  
  132.                                 <!-- ///////////////////// FIN Selección de Productos /////////////////////-->
  133.  
  134.                                 <br><h4 align="center" class="titulocolumnaavi">Lista de Productos para el Pedido</h4>
  135.                                 <!-- ///////////////////// INICIO Anexo de Productos /////////////////////-->
  136.                                                 <table width="700" id="tabla_producto" align="center" class="titulocolumna2">
  137.                                                   <tbody id="valores_producto">
  138.                                                         <tr>
  139.                                                                 <td>Clave</td><td>Cantidad</td><td>Descripci&oacute;n</td><td>U. Medida</td><td>Precio</td><td>Importe</td><td>Acci&oacute;n</td>
  140.  
  141.                                                         </tr>
  142.                                                   </tbody>
  143.                                                 </table>                               
  144.                                 <!-- /////////////////////// FIN Anexo de Productos //////////////////////-->
  145.                                
  146.                                           <tr class="titulocolumna3">
  147.                                                 <td colspan="2" align="left">Campos obligatorios: +<br>
  148.                                                 </td>
  149.                                           </tr>                        
  150.                       <tr>
  151.                         <td colspan="2" > <div align="center">
  152.                             <input name="Aceptar" type="button" id="Aceptar" value="Grabar" onClick="if(Validar()== true) Exist();">
  153.  
  154.                             <input name="canc" type="button" id="canc" value="Cancelar" onClick="document.URL='pedidos.php'">
  155.                           </div></td>
  156.                       </tr>
  157.                     </table>
  158.                     <div align="center"></div>
  159.                   </form>
  160.                                  
  161.                   <p>&nbsp;</p>
  162.                                 </td>
  163.               </tr>
  164.  
  165.               <tr>
  166.                 <td height="25" class="titulocolumnaavi">&nbsp;</td>
  167.               </tr>
  168.             </table>
  169.                   </td>
  170.         </tr>
  171.       </table>
  172.          </td>
  173.   </tr>
  174.  
  175. </table>
  176. </body>
  177. </html>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post