scusami non l'ho copiato integralmente, il codice completo è questo:codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Documento senza titolo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <script type="text/javascript" language="javascript"> function controllo(){ if document.forms[1].elements[0]="" or document.forms[1].elements[1]=""{ alert(" necessario compilare il i campi regione o città"); x=""} else{ x=document.forms[1].action="pa.asp";} } </script> <body> <table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0" bgcolor="#FF9900"> <tr> <td width="100%" height="39"></td> <td width="208"></td> <td width="1"></td> </tr> <tr> <td height="156">[img]tr/accomodatio.jpg[/img]</td> <td> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="150"> <param name="movie" value="tr/Movie1.swf"> <param name="quality" value="high"> <embed src="tr/Movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="150"></embed></object></td> <td></td> </tr> <tr> <td height="444" valign="top"> <table width="100%" height="100%" border="1"> <tr> <td width="115" rowspan="3" valign="top"><table width="100%" height="100%" border="1"> <tr> <td><div align="center"><font color="#FFFFFF">members</font></div></td> </tr> <tr> <td><form name="form1" method="post" action="visualizza.asp"> <table width="89%" height="138" border="1"> <tr> <td width="39%" height="10"><font color="#FFFFFF" size="2">login:</font></td> <td width="61%" height="10"></td> </tr> <tr> <td colspan="2"> <input name="login" type="text" size="20"></td> </tr> <tr> <td><font color="#FFFFFF" size="2">password:</font></td> <td></td> </tr> <tr> <td colspan="2"><input name="password" type="text" size="20"></td> </tr> <tr> <td><input type="submit" name="Submit" value="Invia"></td> <td></td> </tr> </table> </form></td> </tr> <tr> <td height="20"> <div align="center"> <table width="62%" height="129" border="1"> <tr> <td><div align="center"><font color="#FFFFFF" size="2">mission</font></div></td> </tr> <tr> <td><div align="center"><font color="#FFFFFF" size="2">contatti</font></div></td> </tr> <tr> <td><div align="center"><font color="#FFFFFF" size="2">inscriviti</font></div></td> </tr> <tr> <td><div align="center"><font color="#FFFFFF" size="2">e mail</font></div></td> </tr> <tr> <td><div align="center"><font color="#FFFFFF" size="2">note legali</font></div></td> </tr> <tr> <td height="5">[img]spacer.gif[/img]</td> </tr> </table> </div></td> </tr> <tr> <td height="20"> <div align="center"> </div></td> </tr> <tr> <td width="108" height="20"> <div align="center"> </div></td> </tr> <tr> <td height="20"> <div align="center"> </div></td> </tr> <tr> <td height="33"> <div align="center"> </div></td> </tr> <tr> <td height="20"> <div align="center"></div></td> </tr> <tr> <td height="20"> <div align="center"></div></td> </tr> </table></td> <td width="297"></td> <td width="120"></td> </tr> <tr> <td height="94"></td> <td></td> </tr> <tr> <td height="354"></td> <td></td> </tr> <tr> <td height="5"></td> <td>[img]spacer.gif[/img]</td> <td></td> </tr> </table></td> <td valign="top"><table width="84%" height="185" border="1"> <tr> <td valign="top"><form name="form2" method="get" action="&{x};"> <table width="73%" height="277" border="1"> <tr> <td><table width="101%" border="1"> <tr> <td width="31%"></td> <td width="46%"><div align="center"><font color="#FFFFFF">reaserch</font></div></td> <td width="23%"></td> </tr> </table></td> </tr> <tr> <td><table width="101%" border="1"> <tr> <td width="35%"><font color="#FFFFFF" size="2">regione</font></td> <td width="58%"><input name="regione" type="text" size="15"></td> <td width="7%"></td> </tr> </table></td> </tr> <tr> <td height="23"><table width="101%" border="1"> <tr> <td width="34%"><font color="#FFFFFF" size="2">città</font></td> <td width="55%"><input name="posto" type="text" size="15"></td> <td width="0%"></td> </tr> </table></td> </tr> <tr> <td height="23"><table width="103%" border="1"> <tr> <td width="33%" height="26"><font color="#FFFFFF" size="2">nome</font></td> <td width="56%"><input name="nome" type="text" size="15"></td> <td width="0%"></td> </tr> </table></td> </tr> <tr> <td height="24"><table width="100%" border="1"> <tr> <td width="36%"><font color="#FFFFFF" size="2">categoria</font></td> <td width="26%"><select name="categor" size="1"> <option></option> <option value="hot">hotel</option> <option value="agrit">agriturismo</option> <option value="bandb">b&b</option> <option value="hostel">hostel</option> <option value="camere">affittacamere</option> <option value="campeggi">campeggio</option> </select></td> <td width="38%"></td> </tr> </table></td> </tr> <tr> <td></td> </tr> <tr> <td><table width="99%" border="1"> <tr> <td width="37%"><font color="#FFFFFF" size="2">stelle</font></td> <td width="28%"><select name="stel"> <option></option> <option value="uno">1</option> <option value="due">2</option> <option value="tre">3</option> <option value="quattro">4</option> <option value="cinque">5</option> <option value="sei">6</option> <option value="sette">7</option> <option value="otto">8</option> <option value="nove">9</option> <option value="dieci">10</option> </select></td> <td width="35%"></td> </tr> </table></td> </tr> <tr> <td height="38"> <table width="99%" border="1"> <tr> <td width="41%" height="28"> <input type="submit" name="Submit2" on click="controllo()" value="Invia"></td> <td width="46%"></td> <td width="13%"></td> </tr> </table></td> </tr> </table> </form></td> </tr> <tr> <td></td> </tr> <tr> <td height="5">[img]spacer.gif[/img]</td> </tr> </table></td> <td></td> </tr> <tr> <td height="3"></td> <td>[img]spacer.gif[/img]</td> <td>[img]spacer.gif[/img]</td> </tr> <tr> <td height="3"></td> <td>[img]spacer.gif[/img]</td> <td>[img]spacer.gif[/img]</td> </tr> </table> </body> </html>

Rispondi quotando