Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/01/2010, 17:53
rrecarte
 
Fecha de Ingreso: agosto-2008
Mensajes: 367
Antigüedad: 16 años, 2 meses
Puntos: 5
Respuesta: limitar maximo de caracteres en textarea

$reg=$_GET['regresar'];
$modelo=$select['modelo'];
$estado=$select['estado'];
$marca=$select['marca'];
$direccion=$select['direccion'];
$combustible=$select['combustible'];
$aire=$select['aire'];
$color=$select['color'];
$vidrios=$select['vidrios'];
$llantas=$select['llantas'];
$extra=$select['extra'];
$techo=$select['techo'];
$ano=$select['ano'];
$precio=$select['precio'];
$foto1=$select['foto1'];
$foto2=$select['foto2'];
$foto3=$select['foto3'];
$foto4=$select['foto4'];
$img=$select['img'];
$camino=$select['camino'];
$audio=$select['audio'];
$alarma=$select['alarma'];
$cilindrada=$select['cilindrada'];
$transmision=$select['transmision'];
$bloqueo=$select['bloqueo'];
$abs=$select['abs'];
$airbag=$select['airbag'];
$valvulas=$select['valvulas'];
$puertas=$select['puertas'];
$faros=$select['faros'];
$parabrisas=$select['parabrisas'];
$espejos=$select['espejos'];
$inyeccion=$select['inyeccion'];
$turbo=$select['turbo'];
?><html>

<head>
<title>Your company name</title>
<link rel="stylesheet" type="text/css" href="Template025.css">
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
.Estilo3 {
color: #000000;
font-weight: bold;
}
-->
</style>

</head>

<body leftmargin="0" topmargin="0">

<p align="center" class="NoBreakBeforeAfter">
<table cellpadding="0" cellspacing="0" class="Top" width="752">
<tr>
<td><img src="images/LogoLeft.jpg" WIDTH="112" HEIGHT="164"></td>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/Logo1.gif" WIDTH="251" HEIGHT="103"></td>
</tr>
<tr>
<td><img src="images/Logo2.jpg" WIDTH="251" HEIGHT="61"></td>
</tr>
</table>
</td>
<td width="100%">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="TopBar1"><img src="_blank.gif" width="1" height="103"></td>
</tr>
<tr>
<td class="TopBar2" valign="Top" width="100%">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><a href="<?php echo $lugar; ?>"><img src="images/indexselectreg.jpg" WIDTH="67" HEIGHT="23" border="0"></a></td>
<td width="25%"></td>
<td></td>
<td width="25%"></td>
<td></td>
<td width="25%"></td>
<td></td>
<td width="25%"></td>
<td></td>
<td><img src="_blank.gif" width="10" height="1"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="TopBar2"><img src="_blank.gif" width="1" height="38"></td>
</tr>
</table>
</td>
</tr>
</table>

<table cellpadding="0" cellspacing="0" class="Middle" width="752">
<tr>
<td></td>
</tr>
</table>

<table cellpadding="0" cellspacing="0" class="Middle" width="752">
<tr>
<td valign="top" height="1">
<table cellpadding="0" cellspacing="0" height="100%">
<tr height="0">
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td><a href="registro.php"><img src="images/MenuLinkAboutUs.jpg" border="0" width="122" height="25"></a></td>
</tr>
<tr>
<td><a href="envia_form_php.php"><img src="images/MenuLinkContactUs.jpg" border="0" width="122" height="25"></a></td>
</tr>
<tr>
<td><a href="index.php?login=si"><img src="images/MenuLinkOurClients.jpg" border="0" width="122" height="25"></a></td>
</tr>
<tr>
<td><a href="index.html"><img src="images/MenuLinkProducts.gif" border="0" width="122" height="25"></a></td>
</tr>
<tr>
<td><a href="index.html"><img src="images/MenuLinkServices.gif" border="0" width="122" height="25"></a></td>
</tr>
</table> </td>
<td><img src="images/MenuRight.jpg" width="82" height="125"></td>
</tr>
</table> </td>
</tr>
<tr height="0">
<td><img src="images/MenuBottom.jpg" width="204" height="37"></td>
</tr>
<tr height="100%">
<td class="MenuBack"></td>
</tr>
<tr height="0">
<td><a href="index.html"><img src="images/ContactInfo.jpg" border="0" width="204" height="117"></a></td>
</tr>
</table> </td>
<td width="100%" class="Gray" valign="top"><table border="0" width="100%">
<td><img src="images/bgmain.gif" border="0" width="530" height="4"></td>
</table>
<table width="100%" border="0">
<td><form name="categoria" method="get" action="pre_upload.php">
<label for="provincia">Categoria</label>
<select id="provincia" name="categoria">
<option>Cargando...</option>
</select>

<label for="municipio">Marca</label>
<select id="municipio" name="marca" onChange="MostrarConsulta('uploadveiculos/consultaupload.php'); return false">
<option>- Selecciona una Marca -</option>
</select>


<div id="resultado"></div></form></tr>
<tr> </tr>
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td><img src="images/bgmain.gif" border="0" width="530" height="4"></td>
</tr>
</table>
<table width="100%">
<td width="20%" valign="middle" ></td>
</table>
<table width="100%" >
<tr><br>
<td width="16%" >Publicar:</td>
<td >Telefono:
<input name="tel" type="checkbox" value="si"></td>
<td colspan="2" >Celular:
<input name="cel" type="checkbox" value="si"></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width="16%">Año: </td>
<td width="22%"><? echo "<select name='ano'>" ; $row=2010; for($i=1940; $i<=$row; $i++){ echo "<option value='$i' >" . $i ."</option>"; } echo "</select>"; ; ?></td>
<td width="28%">Espejos Electricos: </td>
<td width="7%"><input name="espejos" type="checkbox" value="si"></td>
<td width="18%">Frenos ABS: </td>
<td width="9%"><input name="abs" type="checkbox" value="si"></td>
</tr>
<tr>
<td width="16%"> Puertas: </td>
<td width="22%"><select name="puertas">
<option value="2">2</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="+5">+5</option>
</select></td>
<td>Levanta Cristales </td>
<td><input name="vidrios" type="checkbox" value="si"></td>
<td width="18%">16 Valvulas </td>
<td width="9%"><input name="valvulas" type="checkbox" value="si"></td>
</tr>
<tr>
<td width="16%">Cilindrada: </td>
<td width="22%"><select name="Cilindrada">
<option value="800">800</option>
<option value="1.0">1.0</option>
<option value="1.1">1.1</option>
<option value="1.3">1.3</option>
<option value="1.4">1.4</option>
<option value="1.6">1.6</option>
<option value="1.8">1.8</option>
<option value="2.0">2.0</option>
<option value="+2.0">+2.0</option>