<?php
	include("../../cabecera.php");
?>
<table class="titular" cellpadding="0" cellspacing="0">
	<tr>
		<td>Nuevo Centro</td>
	</tr>
</table>
	<form id=formulario action="altacentro.php" method="post" enctype="multipart/form-data">
		<table cellpadding="0"cellspacing="0">
		  <tr>
	  		<td colspan="7" style="border:1px solid #ccc;padding:10;">
			  	<table border="0" cellpadding="0" cellspacing="0" style="width:100%;height:100%">
			  	  <tr>
			  	    <td class=fichaden colspan="0" style="font-weight:bold;border-bottom:1px solid #ccc">
			  	    	Datos del Centro
			  	    </td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Nombre del Centro &nbsp;&nbsp;&nbsp;<input class="caja" type="text" id="ncentro" name="centro" value="" style="width:200"></td>
			  	  				<td class="fichaden">Direccion &nbsp;&nbsp;&nbsp;<input class="caja" type="text" name="direccion" value="" style="width:280"></td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Localidad &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="localidad" value="" style="width:450"></td>
			  	  				<td class="fichaden">Codigo Postal &nbsp;&nbsp;&nbsp;<input class=caja maxlength="5" type="text" name="cp" value="" style="width:60"></td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Provincia &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="provincia" value="" style="width:230"></td>
			  	  				<td class="fichaden">
				  	  				Comunidad &nbsp;&nbsp;&nbsp;
				  	  				<select id="comunidad" name="comunidad" class="caja" style="width:290" onChange="comprobarOtra('comunidad','otracomunidad')">
				  	  					<?php
				  	  						include ("rellenarcomunidades.php");
				  	  					?>
								  	      	<option value="Otra">Otra
								  	</select>
								  	<input type="text" name="otracomunidad" id="otracomunidad" class="caja" value="" style="width:290;display:none">
				  	  			</td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Telefono &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="telefono" value="" style="width:150"></td>
			  	  				<td class="fichaden">Fax &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="fax" value="" style="width:150"></td>
			  	  				<td class="fichaden">email &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="mail" value="" style="width:220"></td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">P&aacute;gina Web &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="url" value="" style="width:250"></td>
			  	  				<td class="fichaden">Orientador/a &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="orientador" value="" style="width:239"></td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Director/a &nbsp;&nbsp;&nbsp;<input class=caja type="text" name="director" value="" style="width:140"></td>
			  	  				<td class="fichaden">Subir Logo (png/jpg) (150x75 recomendado)&nbsp;<input class=caja type="file" name="logo" value="" style="width:250" onchange="comprobarFoto(this.value)"></td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	  <tr>
			  	  	<td>
			  	  		<table cellpadding="0" cellspacing="0" style="width:100%">
			  	  			<tr>
			  	  				<td class="fichaden">Centro/s de Adscripci&oacute;n &nbsp;&nbsp;&nbsp;</td>
			  	  			</tr>
			  	  			<tr>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion0" value="" style="width:220"></td>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion1" value="" style="width:220"></td>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion2" value="" style="width:220"></td>
			  	  			</tr>
			  	  			<tr>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion3" value="" style="width:220"></td>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion4" value="" style="width:220"></td>
			  	  				<td class="fichaden"><input class="caja" type="text" name="centroAdscripcion5" value="" style="width:220"></td>
			  	  			</tr>
			  	  			<tr>
			  	  				<td colspan="3" class="fichaden" style="font-size:10">(*)Mas adelante, en "Modificar Centro" puedes asignar m&aacute;s centros de adscripci&oacute;n</td>
			  	  			</tr>
			  	  		</table>
			  	  	</td>
			  	  </tr>
			  	</table>
			  </tr>
			<tr>
			    <td style="text-align:center;padding-top:10">
					<input type="button" value="Enviar" class="boton" onclick="formulario.submit()">
				</td>
			</tr>
	  	</td>
	  </tr>
	  </table>
	</form>
	<script language="javascript">
		document.getElementById('ncentro').focus();
	</script>
<?php include("../../pie.php");?>
