Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/12/2004, 01:10
elteddy
 
Fecha de Ingreso: marzo-2002
Mensajes: 50
Antigüedad: 22 años, 1 mes
Puntos: 0
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td align="center" valign="top">
<? if (!$HTTP_POST_VARS){ ?>
<form name="PEDIDOS" method="post" action="">
<table width="772" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr align="left" bordercolor="#0066FF" bgcolor="#0066FF">
<td valign="top" bgcolor="#0066FF" class="Estilo8"><p class="Estilo11">Nombre<br>
<input name="nombre " type="text" class="cantidad" id="nombre ">
<br>
Apellido<br>
<input name="apellido" type="text" class="cantidad" id="apellido">
<br>
<br>
</p> </td>
<td valign="top" bgcolor="#0066FF" class="Estilo8"><span class="Estilo11"><strong>Email<br>
<input name="mail" type="text" class="cantidad" id="mail">
<br>
Tel&eacute;fono<br>
<input name="telefono" type="text" class="cantidad" id="telefono">
</strong></span><strong><br>
</strong></td>
<td bgcolor="#0066FF" class="Estilo8">&nbsp;</td>
<td rowspan="2" bgcolor="#0066FF" class="Estilo8">&nbsp;</td>
</tr>
<tr align="left" bordercolor="#0066FF" bgcolor="#0066FF">
<td bgcolor="#0066FF" class="Estilo8"><span class="Estilo11">IMPRESORAS EPSON</span></td>
<td bgcolor="#0066FF" class="Estilo8">&nbsp;</td>
<td bgcolor="#0066FF" class="Estilo8">&nbsp;</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td height="20" class="xl47">Reseteador CHIPs </td>
<td width="408" height="20" class="xl61">Reseteador Universal para Epson </td>
<td width="96" height="20" class="xl45">Todos </td>
<td width="57" height="20" align="center"><input name="Reseteador CHIPs " type="text" class="cantidad" id="Reseteador CHIPs " size="6" maxlength="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048120 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">Negro </td>
<td height="20" align="center"><input name="T048120 " type="text" class="cantidad" id="T048120 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048220 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">Cyan </td>
<td height="20" align="center"><input name="T048220 " type="text" class="cantidad" id="T048220 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048320 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">M;agenta </td>
<td height="20" align="center"><input name="T048320 " type="text" class="cantidad" id="T048320 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048420 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">Yellow </td>
<td height="20" align="center"><input name="T048420 " type="text" class="cantidad" id="T048420 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048520 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">Cyan light </td>
<td height="20" align="center"><input name="T048520 " type="text" class="cantidad" id="T048520 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl67">T048620 </td>
<td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td>
<td height="20" class="xl91">Mag. Light </td>
<td height="20" align="center"><input name="T048620 " type="text" class="cantidad" id="T048620 " size="6">
</td>
</tr>
<tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF">
<td width="206" height="20" class="xl49">T046120 </td>
<td height="20" class="xl66">Epson Stylus C63/C83/CX6300 Black </td>
</table>
</form></td>
<?
}else{
//Estoy recibiendo el formulario, compongo el cuerpo
$cuerpo = "PEDIDO\n";
$cuerpo .= "Nombre: " . $HTTP_POST_VARS["nombre"] . "\n";
$cuerpo .= "Apellido: " . $HTTP_POST_VARS["apellido"] . "\n";
$cuerpo .= "E-mail: " . $HTTP_POST_VARS["mail"] . "\n";
$cuerpo .= "Teléfono: " . $HTTP_POST_VARS["teléfono"] . "\n";

$cuerpo .= "Reseteador CHIPs: " . $HTTP_POST_VARS["Reseteador CHIPs"] . "\n";
$cuerpo .= "T048120: " . $HTTP_POST_VARS["T048120"] . "\n";
$cuerpo .= "T048220: " . $HTTP_POST_VARS["T048220"] . "\n";
$cuerpo .= "T048320: " . $HTTP_POST_VARS["T048320"] . "\n";


//mando el correo...
mail("[email protected]","PEDIDO",$cuerpo);

//doy las gracias por el envío
echo("Muchas Gracias, el formulario fue enviado correctamente");
}
?>
</tr>
</table>
</body>
</html>
__________________
rodrigo