Código PHP:
<input name="poblacion1" type="text" class="text" id="poblacion" tabindex="110" value="<?php echo @$camp11; ?>" />
</p>
<p><label for="provincia1">Provincia:</label>
<select name="provincia1" id="provincia1" tabindex="120" size="1">
<?php
$provincia1= array( "a_coruña" => "a_coruña" ,"alava" => "alava", "albacete" => "albatece" ,"alicante" => "alicante" ,
"almeria" => "almeria" ,"asturias" => "asturias" , "avila" => "avila" ,"badajoz" => "badajoz" , "baleares" => "baleares" ,"barcelona" => "barcelona" , "burgos" => "burgos" ,"caceres" => "caceres" , "cadiz" => "cadiz" ,"cantabria" => "cantabria" ,"castellon" => "castellon" ,"ceuta" => "ceuta" ,"ciudad_real" => "ciudad_real" ,"cordoba" => "cordoba" ,"cuenca" => "cuenca" ,"girona" => "girona" ,"granada" => "granada" ,"guadalajara" => "guadalajara" ,"guipuzcua" => "guipuzcua" ,"huelva" => "huelva" ,"huesca" => "huesca" ,"jaen" => "jaen" ,"la_rioja" => "la_rioja" ,"las_palmas" => "las_palmas" ,"leon" => "leon" ,"lleida" => "lleida" ,"lugo" => "lugo" ,"madrid" => "madrid" , "malaga" => "malaga" ,"melilla" => "melilla" ,"murcia" => "murcia" ,"navarra" => "navarra" ,"ourense" => "ourense" ,"palencia" => "palencia" , "pontevedra" => "pontevedra" ,"salamanca" => "salamanca" , "santa_cruz_de_tenerife" => "santa_cruz_de_tenerife" ,"segovia" => "segovia" ,"sevilla" => "sevilla" ,"soria" => "soria" ,"tarragona" => "tarragona" ,"teruel" => "teruel" , "toledo" => "toledo" ,"valencia" => "valencia" ,"valladolid" => "valladolid" ,"vizcaya" => "vizcaya" ,"zamora" => "zamora" ,"zaragoza" => "zaragoza" );
foreach($provincia1 as $campoprovincia =>$provincias)
{
echo "<option value = \"{$provincias}\"";
if (@$camp12== $provincias )
{
echo "selected" ;
}
echo ">{$provincias}</option>";
}
?>
</select>
</p>
</fieldset>
<fieldset>
<legend><strong>Destino</strong></legend>
<p>
<label for="direccion2">Dirección:</label>
<input name="direccion2" type="text" class="text" id="direccion2" tabindex="120" value="<?php echo @$camp13; ?>"/>
</p>
<p>
<label for="poblacion2">Población:</label>
<input name="poblacion2" type="text" class="text" id="poblacion2" tabindex="130" value="<?php echo @$camp14; ?>"/>
</p>
<p><label for="provincia2">Provincia:</label>
<select name="provincia2" id="provincia2" tabindex="120" size="1">
<?php
$provincia2= array( "a_coruña" => "a_coruña" ,"alava" => "alava", "albacete" => "albatece" ,"alicante" => "alicante" ,
"almeria" => "almeria" ,"asturias" => "asturias" , "avila" => "avila" ,"badajoz" => "badajoz" , "baleares" => "baleares" ,"barcelona" => "barcelona" , "burgos" => "burgos" ,"caceres" => "caceres" , "cadiz" => "cadiz" ,"cantabria" => "cantabria" ,"castellon" => "castellon" ,"ceuta" => "ceuta" ,"ciudad_real" => "ciudad_real" ,"cordoba" => "cordoba" ,"cuenca" => "cuenca" ,"girona" => "girona" ,"granada" => "granada" ,"guadalajara" => "guadalajara" ,"guipuzcua" => "guipuzcua" ,"huelva" => "huelva" ,"huesca" => "huesca" ,"jaen" => "jaen" ,"la_rioja" => "la_rioja" ,"las_palmas" => "las_palmas" ,"leon" => "leon" ,"lleida" => "lleida" ,"lugo" => "lugo" ,"madrid" => "madrid" , "malaga" => "malaga" ,"melilla" => "melilla" ,"murcia" => "murcia" ,"navarra" => "navarra" ,"ourense" => "ourense" ,"palencia" => "palencia" , "pontevedra" => "pontevedra" ,"salamanca" => "salamanca" , "santa_cruz_de_tenerife" => "santa_cruz_de_tenerife" ,"segovia" => "segovia" ,"sevilla" => "sevilla" ,"soria" => "soria" ,"tarragona" => "tarragona" ,"teruel" => "teruel" , "toledo" => "toledo" ,"valencia" => "valencia" ,"valladolid" => "valladolid" ,"vizcaya" => "vizcaya" ,"zamora" => "zamora" ,"zaragoza" => "zaragoza" );
foreach($provincia2 as $campoprovincia =>$provincias)
{
echo "<option value = \"{$provincias}\"";
if (@$camp15== $provincias )
{
echo "selected" ;
}
echo ">{$provincias}</option>";
}
?>
</select>
</p>
</fieldset>
<fieldset>
<legend><strong>Inventario objetos</strong></legend>
<p>
<label for="salon" class="subHead">Objetos Salón</label>
<textarea name="salon" id="salon" cols="45" rows="5" tabindex="140"><?php echo @$camp16; ?></textarea>
</p>
<p>
<label for="cocina" class="subHead">Objetos Cocina</label>
<textarea name="cocina" id="cocina" cols="45" rows="5" tabindex="150"><?php echo @$camp17; ?></textarea>
</p>
<p>
<label for="dormitorio1" class="subHead">Objetos Dormitorio 1</label>
<textarea name="dormitorio1" id="dormitorio1" cols="45" rows="5" tabindex="160"> <?php echo @$camp18; ?></textarea>
</p>
<p>
<label for="dormitorio2" class="subHead">Objetos Dormitorio 2</label>
<textarea name="dormitorio2" id="dormitorio2" cols="45" rows="5" tabindex="170"><?php echo @$camp19; ?></textarea>
</p>
<p>
<label for="dormitorio3" class="subHead">Objetos Dormitorio 3</label>
<textarea name="dormitorio3" id="dormitorio3" cols="45" rows="5" tabindex="180" ><?php echo @$camp20; ?></textarea>
</p>
<p>
<label for="dormitorio4" class="subHead">Objetos Dormitorio 4</label>
<textarea name="dormitorio4" id="dormitorio4" cols="45" rows="5" tabindex="190" ><?php echo @$camp21; ?></textarea>
</p>
<p>
<label for="otros" class="subHead">Otros Objetos</label>
<textarea name="otrosobjetos" id="otrosobjetos" cols="45" rows="5" tabindex="200"> <?php echo @$camp22; ?></textarea>
</p>
</fieldset>
<p>
<input type="submit" name="submit" id="submit" value="" tabindex="210" />
</p>
</form>
</div>
</div>
<?php require_once("admin_footer.php"); ?>