php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #59445
Patch loader revision 2012-01-17 19:16 UTC by dbarona at nexura dot com

Patch loader for APC Bug #59445

Patch version 2012-01-17 19:16 UTC

Return to Bug #59445 | Download this patch
Patch Revisions:

Developer: dbarona@nexura.com

						<label for="depto">Departamento</label>
							<select name="depto" id="depto">
								<option selected="selected" value="0">Seleccione</option>
								<?
								$deptos=$objGstpredio->getDeptos();
								if($deptos){
									foreach($deptos as $id=>$depto){
										echo '<option value="'.$id.'"';
										if($_POST['depto']==$id) echo' selected="selected"';
										echo'>'.$depto.'</option>';
									}
								}
								?>
							</select><br />
						
						
						<label for="ag_ciudadCompania">Ciudad</label>
							<select id="ag_ciudadCompania" name="ag_ciudadCompania">
								<option value="" selected="selected">Seleccione</option>
								<?
									$municipios=$objGstpredio->getMupios($_POST['depto']);
									if($municipios){
										foreach($municipios as $id=>$municipio){
											echo '<option value="'.$id.'"';
											if($_POST['ag_ciudadCompania']==$id) echo' selected="selected"';
											echo'>'.$municipio.'</option>';
										}
									}
								?>
							</select>*<br />
							
							
								$tabla=$prefix.'sx_ciudades';
								$tablas['sx_ciudades']=$tabla;
								$tablas['sx_ciudades_column']=array(
									'id'=>$tabla.'.id',
									'idParentEstado'=>$tabla.'.idParentEstado',
									'nombre'=>$tabla.'.nombre'
								);
								
								
								$idCampoCleaned=ereg_replace(':[0-9]+','',$idCampo);
								
								
								
								
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC