Il form spezza il template

minatore

Utente Attivo
25 Set 2007
410
0
0

Ciao a tutti, ho un codice html all'interno del quale c'è un form, quando lo chiudo appena dopo la tabella, mi spezza il template, potete vedere il risultato su xxx.annunciitaliani.it, mentre se lo chiudo a fine pagina tutto va bene, però così facendo ho un problema con php
Come faccio a chiudere il form dopo la tabella e non intaccare la grafica?
Grazie
Codice
HTML:
<form  name='tipo' method="GET" action="index.php">
<input type="hidden" name="lehekulg" value="ricveicoli" />
<table background="images/testata.jpg" cellpadding="0" cellspacing="0" width="900" height="471" border="0">
	<tr>
		<td></td>
	</tr>
</table>
<table background="images/bottom_testata.jpg" cellpadding="0" cellspacing="0" width="900" height="47" border="0" bordercolor="#003300">
	<tr>
		<td width="510"></td>
        <td width="105" class="font_1">Seleziona Marca</td>
        <td width="130">
        <?php
			print"
				<select name='cmb_costruttore' class='select_1'>";
					for($a=0; $a<mysql_num_rows($query_costruttore);$a++)
						{
							$a_elenco_costruttore=mysql_fetch_assoc($query_costruttore);
								print"
									<option value='".intval($a_elenco_costruttore['id_costruttore'])."'>
									".$a_elenco_costruttore['desc_costruttore']."
									</option>";
						}
			print"
				</select>";
		?>
        </td>
        <td><input type="image" value="cerca" img src="images/t_cerca.jpg" /></td>
        <td width="20"></td>
	</tr>
</table>
</form>
<table background="images/corpo.jpg" cellpadding="0" cellspacing="0" width="900" height="500" border="0" bordercolor="#CC3300">
	<tr>
    	<td valign="top" width="40"></td>
		<td valign="top" width="550">
        	<?php
                if(isset($_GET['lehekulg']))
                    {
                        $pagina = $_GET['lehekulg']. '.php';
                        if (file_exists($pagina))
                            { 
                                include($pagina);										
                            }
                        else							
                            {
                                include('veicoli.php');
                            }
                    }
                else
                    {
                        include('veicoli.php');
                    }
            ?>
        </td>
        <td valign="top">
        	<table background="images/menu.jpg" cellspacing="0" cellpadding="0" width="237" height="362" border="0" bordercolor="#00CC00">
            	<tr>
                	<td height="13"></td>
                    <td></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="index.php?lehekulg=veicoli"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="quad"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="pit"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="moto"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="scooter"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="noleggio"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="azienda"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20" height="37"></td>
                    <td><a href="login"><img src="images/tasto_menu.gif" border="0"></a></td>
                    <td width="40"></td>
                </tr>
                <tr>
                	<td width="20"></td>
                    <td></td>
                    <td width="40"></td>
                </tr>
            </table>
        </td>
	</tr>
</table>
<table background="images/bottom.jpg" cellpadding="0" cellspacing="0" width="900" height="79" border="0">
	<tr>
		<td></td>
	</tr>
</table>
</div>
 

Discussioni simili