Resultado"; include "../cabeza.php"; include "../include/conexion.php"; if ($_GET["pagina"]=="") $pagina=1; else $pagina=$_GET[pagina]; //MANEJO DE BUSQUEDA if (isset($_GET["region"])==1) $_SESSION["region"]=$_GET["region"]; if (isset($_GET["nombres"])==1) $_SESSION["b_nombres"]=$_GET["nombres"]; if (isset($_GET["sexo"])==1) $_SESSION["sexo"]=$_GET["sexo"]; if (isset($_GET["tipomep"])==1) $_SESSION["tipomep"]=$_GET["tipomep"]; if ($_GET["altura1"]!="" && $_GET["altura2"]!="") { $_SESSION["altura1"]=$_GET["altura1"]; $_SESSION["altura2"]=$_GET["altura2"]; } if ($_GET["edad1"]!="" && $_GET["edad2"]!="") { $_SESSION["edad1"]=$_GET["edad1"]; $_SESSION["edad2"]=$_GET["edad2"]; } $sql="SELECT M.id as id,nombres, fecha_nac,region,foto from mep as M where 1=1 "; If ($_SESSION["b_nombres"]!="") { $mnom=explode(" ",$_SESSION["b_nombres"]); $sql .= " and ( nombres like '%".trim($mnom[0])."%' or mail like '%".trim($mnom[0])."%' or apellidos like '%".trim($mnom[0])."%' or desc_ult_trabajo like '%".trim($mnom[0])."%' or desc_penult_trabajo like '%".trim($mnom[0])."%' or ultimainst like '%".trim($mnom[0])."%' or comunainst like '%".trim($mnom[0])."%' or cursos1 like '%".trim($mnom[0])."%' or cursos2 like '%".trim($mnom[0])."%' or ultimaempresa like '%".trim($mnom[0])."%' or penult_empresa like '%".trim($mnom[0])."%') "; } If ($_SESSION["region"]!="") $sql .= " and region='$_SESSION[region]' "; If ($_SESSION["sexo"]!="") $sql .= " and sexo='$_SESSION[sexo]' "; If ($_SESSION["tipomep"]!="") { If ($_SESSION["tipomep"]=="M") $sql .= " and tipomodel=1 "; If ($_SESSION["tipomep"]=="E") $sql .= " and tipoextra=1 "; If ($_SESSION["tipomep"]=="P") $sql .= " and tipoprom=1 "; } // ALTURA If ($_SESSION["altura1"]!="" && $_SESSION["altura2"]!="") { $_SESSION["altura1"]=trim(str_replace(",","",$_SESSION["altura1"])); $_SESSION["altura2"]=trim(str_replace(",","",$_SESSION["altura2"])); $sql .= " and altura between '$_SESSION[altura1]' and '$_SESSION[altura2]' "; } If ($_GET["edad1"]!="" ) { //fe1=Dateadd("yyyy",(CInt($_SESSION["edad1")))*-1,Now()) //fe2=Dateadd("yyyy",(CInt($_SESSION["edad2"))+2)*-1,Now()) //sql = $sql & " && year(fecha_nac) between "&Year(fe2)&" && "& Year(fe1) &" "; //if ($_GET["edad1"]!="" && $_GET["edad2"]!="") $ano1=date("Y")-($_GET[edad1]-1); $ano2=date("Y")-($_GET[edad2]+1); $sql .= "and year(fecha_nac)< $ano1 and year(fecha_nac)> $ano2 "; } $sql .= " order by nivel desc, fechareg desc"; $regxpag=35; $inicio=0; If ($pagina>1) $inicio=($pagina-1)*$regxpag; $sql .= " limit $inicio, $regxpag "; ?>

Inicio  »  : Más de 11.400 Personas Disponibles para la Búsqueda



Buscador Avanzado

Región:
Sexo:
Altura: y cms 
Edad: y años
Personal:
Nombres:

Detalle de Selección

Selección: ".mysql_num_rows($result3)." Personas "; while ($rs3=mysql_fetch_array($result3)) { ?>
>Eliminar
_t.jpg); background-position: top center;";>
"; } ?>

Anterior 5) $inicio=$_GET["pagina"]-5; else $inicio=1; for ($i = $inicio;$i<$inicio+10;$i++) { ?> ";?> Siguiente