MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/asjudine/www/interesados_unidad_prima.php
.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CONSULTA INGRESAR PROCESO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
.titulos {
	font: 16px;
	color: #F00;
	font-family:Arial;
	font-weight:bold
}
.boton {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
.texto {background-color: #CCFFCC; font-size: 11px; font-family: Arial; color:#0000CC; display: block;}
.fecha {font-size: 12px; font-family: Arial; color:#990000; display: block; }
.campo {background-color:#FFFFAA; width: 100px; border:2px solid #990000;}
.lista {font-family: Arial; font-size: 11px;	color: #990000;}
.Estilo2 {font-family: Arial;	font-size: 16px;	color: #990000;}
.boton2 {font-family: Verdana; font-size: 8 pt; color: #000080; background-color: #C0C0C0; border-style: solid; width:70px; height:22px;}
body {
		background-image: url(ELEMENTOS/gri06.jpg );  
	color: #666;
}
.Estilo50 {color: #CC3333;
	font-family: "Arial Narrow";
	font-weight: bold;
}
-->
</style>
<script languaje="JavaScript">
function Mostrar_Fecha()
{
         var mydate=new Date()
         var year=mydate.getYear()
         if (year < 1000)
                 year+=1900
                 var day=mydate.getDay()
                 var month=mydate.getMonth()
                 var daym=mydate.getDate()
                 if (daym<10)
                    daym="0"+daym
                    var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado")
                    var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
                    document.write("<b><font face='Arial, Helvetica, sans-serif'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></b>")
}					
</script>
<script language="javascript">
function AbreGral()
{ 
    var menu;   
	menu=window.open("mostrar_ingreso.php","","toolbar=no,scrollbars=no,width=800,height=500,status=yes");  
	menu.focus();  
	var ventana = window.self;  
	ventana.opener = window.self;  
	ventana.close();
}
</script>
</head>
<body onLoad="document.formulario.cedula.focus()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
 <center> <img src="ELEMENTOS\CABEZOTE SERVIASJUDINET.jpg" WIDTH=60% > </center>
<form name="formulario" action="" method="post">
<table width="671" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td><fieldset><table width="505" border="15" align="center" cellpadding="2" cellspacing="2">
  <tr bgcolor="#FFFFCC">
    <td colspan="2" bgcolor="#FFFFFF" class="titulos"><div align="center">LISTADO MUY INTERESADOS</div></td>
 
     <tr>
 
  <tr bgcolor="#ECE9D8">
        <td bgcolor="#2E7068"><div align="right"><strong><span style="color:#FFFFFF">SELECCIONE LA UNIDAD: </span></strong></div></td>
  
   <td width="178" bgcolor="#EFEFEF">
            <select name="unidad" class="Estilo81" id="unidad">
            <option value="0" selected="selected">--SELECCIONE UNIDAD--</option>
            <option value="ARPG">ARPG</option>
            <option value="CADC">CADC</option>
            <option value="CADR">CADR</option>
            <option value="CCPP">CCPP</option>
            <option value="CCPP1">CCPP1</option>
            <option value="CDCA">CDCA</option>
            <option value="CMPL">CMPL</option>
            <option value="CPEE">CPEE</option>
            <option value="CPPJ">CPPJ</option>
            <option value="CPRN">CPRN</option>
            <option value="CPRN1">CPRN1</option>
            <option value="DAAV">DAAV</option>
            <option value="DABG">DABG</option>
            <option value="DACH">DACH</option>
            <option value="DPCC">DPCC</option>
            <option value="MCPE">MCPE</option>
            <option value="NDFC">NDFC</option>
            <option value="NDFC1">NDFC1</option>
            <option value="NNAN">NNAN</option>
            <option value="NNEE">NNEE</option>
            <option value="NNFA">NNFA</option>
            <option value="NNPN">NNPN</option>
            <option value="NPFM">NPFM</option>
            <option value="YYY0">YYY0</option>
            </select>
            </td>
      </tr>
 
 <tr bgcolor="#306090">
    <td height="22" colspan="4" bgcolor="#EFEFEF" class="fecha"><div align="center">
  <CENTER>
   <input name="menu2" type="button" class="Estilo50" id="menu2" onClick="window.location.href='menu_consultorio_prima.php'" value="IR AL MENU">
    <input name="consultar" id="consultar" type="submit" class="Estilo51" value="Consultar">
   
    </div></td> 
  </tr>
 
</table>

<html>
<script type="text/javascript" language="Javascript">
<!-- Begin
document.oncontextmenu = function(){return false}
// End -->
</script>

<script language="JavaScript1.2">

function disabletext(e){
return false
}

function reEnable(){
return true
}

//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable
}
</script>

<center>
<form action="registro.php" method ="POST">
  <br>
	 
     
     
      </br>
             
</form>

<br>

</html>


<?php
require_once("Conectarse.php");
    require_once("mainfile.php");
    include ("config.php");


$sucu =$_GET["sucu"] ;
$nom =$_GET["nom"] ;
$ced =$_GET["ced"] ;
 

$diser=$_POST["nombredir"];



$control = mysql_query('SELECT apellidos,nombres,cedula,celular,email,unidad,grado,direccion_residencia,
ciudad_residencia FROM consultorio_prima WHERE unidad= "'.$_POST["unidad"].'" and unidad != "" and estado= "4" ');
		  if (!$control) {   
				die('Invalid query 0: ' . mysql_error());
			}					          
					  if ((mysql_num_rows($control)!=0)) 
	                    {	 
               echo "<TABLE width='750' border='2' align='center' cellpadding ='0' cellspacing='1' bgcolor='#000000'>
                      
					        <TR>
							<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>CEDULA</span></div></TD>  
					 	    <TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>APELLIDOS</span></div></TD>
					   		<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>NOMBRES</span></div></TD>
					  		<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>CELULAR</span></div></TD> 
					  		<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>CORREO</span></div></TD>
					  		<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>UNIDAD</span></div></TD> 
					  		<TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>GRADO</span></div></TD>";		 		  
            
			
 while(list($apellidos,$nombre,$cedula,$celular,$email,$unidad,$grado,$direccion_residencia,$ciudad_residencia) = mysql_fetch_row($control)) 
                              {    
  
$tota = $tota + 1;
				
				 printf("<tr>
			     <td bgcolor='#99CCFF'><div align='center' class='Estilo21'><input type='button' value=$cedula name='proceso' class=Estilo21 onClick =	window.open('interesados_unidad_prima.php?cedula=$cedula&celular=$celular','','top=30,left=50,toolbar=yes,scrollbars=yes,width=950,height=800,status=yes')></a></span></div></td>		                   <td bgcolor='#99CCFF'><div align='center' class='lista'>".$apellidos."</a></span></div></td>
				   <td bgcolor='#99CCFF'><div align='center' class='lista'>".$nombre."</a></span></div></td>		
				   <td bgcolor='#99CCFF'><div align='center' class='lista'>".$celular."</a></span></div></td>
				   <td bgcolor='#99CCFF'><div align='center' class='lista'>".$email ."</a></span></div></td>
				   <td bgcolor='#99CCFF'><div align='center' class='lista'>".$unidad."</a></span></div></td>
			       <td bgcolor='#99CCFF'><div align='center' class='lista'>".$grado."</a></span></div></td>");
							  }
						}
						
					 echo "<TABLE width='200' border='0' align='center' cellpadding ='0' cellspacing='1'>
                     <TR>
                     <TD bgcolor='#CCCCCC'><div align='center'><span class='fecha'>TOTAL</span></div></TD>";		 		  	
					 printf("<tr>   
					 <td bgcolor='#99CCFF'><div align='center' class='lista'>".$tota."</a></span></div></td>");	

echo "</form>";  

?>