Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/11/2013, 19:40
Avatar de el_cesar
el_cesar
 
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 23 años, 5 meses
Puntos: 20
Respuesta: Que framework Utilizar?

Código PHP:
Ver original
  1. <td  align="left" valign="middle"><p><span class="error">*</span>Qué relación tiene con ellas? </p></td>
  2.         <td width="15%" align="left" valign="middle"><p>
  3.           <select name="relationship_type_them" id="relationship_type_them" class="select_mid">
  4.           <option selected="selected" value="" disabled="disabled">Seleccione</option>
  5.          <option value="Familia" <?php if(isset($canidateBasicDetails['relationship_type_them'])&&($canidateBasicDetails['relationship_type_them'] == "Familia")){?> selected="selected" <?php }?>>Familia</option>
  6.          <option value="Amigos" <?php if(isset($canidateBasicDetails['relationship_type_them'])&&($canidateBasicDetails['relationship_type_them'] == "Amigos")){?> selected="selected" <?php }?>>Amigos</option>
  7.            <option value="Inquilinos" <?php if(isset($canidateBasicDetails['relationship_type_them'])&&($canidateBasicDetails['relationship_type_them'] == "Inquilinos")){?> selected="selected" <?php }?>>Inquilinos</option>
  8.          
  9.          
  10.         </select>
  11.         <span class="error" id="error_relationship_type_them" style="float:left"></span>
  12.         </p>
  13.       </tr>
  14.     </table>
  15.       <td width="83%"></td>
  16.       </tr>
  17.    
  18.        <tr>
  19.     <td  colspan="2"><table width="100%" border="00" cellspacing="00" cellpadding="00" class="bgcolor">
  20.       <tr>
  21.         <td width="30%" height="40" align="left" valign="middle"><p><span class="error">*</span>Dirección Residencia </p></td>
  22.         <td width="20%" align="left" valign="middle"><input type="text" name="home_address" id="home_address" value="<?php if(isset($canidateBasicDetails['home_address'])&&($canidateBasicDetails['home_address'] != "")){
  23.   echo $canidateBasicDetails['home_address'];
  24.  }?>" autocomplete="off" />
  25.        
  26.          <span class="error" id="error_home_address" style="float:left"></span>
  27.         </td>
  28.         <td width="30%" align="left" valign="middle"><p><span class="error">*</span>Barrio</p></td>
  29.         <td width="20%" align="left" valign="middle"><input type="text" name="neighborhood_of_residence" id="neighborhood_of_residence" value="<?php if(isset($canidateBasicDetails['neighborhood_of_residence'])&&($canidateBasicDetails['neighborhood_of_residence'] != "")){
  30.   echo $canidateBasicDetails['neighborhood_of_residence'];
  31.  }?>" autocomplete="off" />
  32.                  <span class="error" id="error_neighborhood_of_residence" style="float:left"></span>
  33.  
  34.        
  35.         </td>
  36.       </tr>
  37.       </table>
  38.       </td>
  39.       </tr>
  40.      
  41.      
  42.      <tr>
  43.     <td  colspan="2"><table width="100%" border="00" cellspacing="00" cellpadding="00" class="bgcolor">
  44.       <tr>
  45.         <td height="40" width="30%"><p>Estrato </p></td>
  46.         <td width="20%">
  47.        
  48.         <select name="stratum_of_residence" id="stratum_of_residence" class="select_mid">
  49.           <option selected="selected" value="" disabled="disabled">Seleccione</option>
  50.           <?php
  51.          
  52.           for($i=1;$i<=6;$i++){
  53.           ?>
  54.           <option value="<?php echo $i;?>" <?php if(isset($canidateBasicDetails['stratum_of_residence'])&&($canidateBasicDetails['stratum_of_residence'] == $i)){?> selected="selected" <?php }?>><?php echo $i;?></option>
  55.           <?php } ?>
  56.          
  57.  
  58.         </select></td>
  59.         <td width="30%"><p><span class="error">*</span>Profesión</p></td>
  60.         <td width="20%">
  61.         <?php
  62.         $profession = array("Administrador","Administrativo","Agente Comercial","Albañil","Almacenero","Archivero","Armador, estructuras metálicas","Arqueólogo","Arquitecto","Aseador, equipo industrial ","Aseador, especializado","Asesor","Asistente","Auxiliar","Auxiliar de sala, esterilización","Capataz, construcción","Carpintero","Chofer","Comercial / Vendedor","Conserje","Constructor","Contratista, acabados de cemento ","Contratista, construcción ","Contratista, pintura ","Controlador de plagas","Coordinador","Documentalista","Economista","Educador","Electricista","Especialista","Estadístico","Exterminador de plagas","Fontanero","Fumigador ","Informático","Ingeniero","Inspector","Inspector, rutas ","Instalador, alfombras","Instalador, pisos ","Interventor","Jardinero","Jefe","Limpiador","Maestro, constructor ","Maestro, obra - contratista  ","Mecánico","Militar","Montador, estructuras - acero","Montador, estructuras metálicas ","Oficinista","Operario, mantenimiento - piscinas","Piscinero","Plomero","Policía","Portero","Programador","Proveedor","Psicoanalista","Psicólogo","Psicopedagogo","Psicoterapeuta","Publicista","Químico","Recepcionista","Secretario","Supervisor, construcción - obras civiles","Supervisor, construcción residencial","Supervisor, obra","Supervisor, rutas ","Técnico","Telefonista","Vigilante");                      ?>      <select name="profession" id="profession" class="select_mid">        <option selected="selected" value="" disabled="disabled">Seleccione</option>
  63.           <?php
  64.           foreach($profession as $value){
  65.          
  66.           ?>
  67.           <option <?php if(isset($canidateBasicDetails['profession'])&&($canidateBasicDetails['profession'] == $value)){?> selected="selected" <?php }?> value="<?php echo $value;?>"><?php echo $value;?></option>
  68.           <?php }?>
  69.          
  70.       </select>
__________________
Say no more.......