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/adirectoress/requerimiento_consulta_injustificados_direc.php
<!DOCTYPE html>
<html>
<head>
<title>Consulta Reconsideración Director</title>
<meta http-equiv="X-UA-Compatible" content="IE=8; IE=9; IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    
<style type="text/css">
	*{margin: 0;padding: 0;}
    body{background-color:#EAEAEA;font-family:Geneva, Arial, Helvetica, sans-serif;}
    header {background-color: #B7271F; text-align: center;}
    .cerrarsesion{width: auto;background-color: #DBD8C9;color: #000;font-size: 13px;position:absolute;top: 15px;right:10px;z-index:0;padding: 10px;border-radius: 10px;cursor: pointer;}
    .cerrarsesion:hover{background-color: #ffffff;color: #000;}
    .titulo{width: 100%;text-align: center;background-color: #dbd8c9;color: #b20606;padding: 6px 0;font-size: 18px;}
    table{margin: 0 auto;border: 1px solid #bebebe; text-align: center;}
    .divirmenu{text-align: center;}
    .irmenu{width: 200px;background-color: #1c4fa0;color: #fff; padding: 4px;border-radius: 6px;}
    .irmenu:hover{background-color: #67a0d9; color: #000;}
    
    .fecha{background-color: #d6e08b; padding: 2px;color: #000;font-size: 15px; text-align: center;}
    td{border: #969696 solid 1px;}
    .tdizq{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 15px;font-weight: 600; text-align: left;}
    .tdcen{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 15px;font-weight: 600; text-align: center;}
    .tdder{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 15px;font-weight: 600; text-align: right;}
	.tdi{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 15px;font-weight: 600; text-align: left;}
	.tdc{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 15px;font-weight: 600; text-align: center;}
	.tdd{background-color: #EEE; padding: 1px 4px;color: #DB282D;font-size: 15px;font-weight: 600; text-align: right;}
	
	.exp{color:#8A0000; font-size:10px;}
    .boton1{width:30%;background-color: #ffffff;color: #000;padding: 2px;border:2px solid #580000;}
    .boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
    input[type=text]{padding: 3px; font-size:14px;}
	
	.tdtitulo{background-color: #e3dec0; color: #b20606; padding: 2px; text-align: center; font-size: 12px; font-weight: 900}
    .tdfull{background-color: #fff; color: #000; padding: 1px; text-align: center; font-size: 12px;}
    .botonnew{width: 90px; background-color: #e3dec0;color: #b20606;padding: 1px;}
    .botonnew:hover{width: 90px; background-color: #cbbd6a;color: #000;padding: 1px;}
	.botondelete{width: 90px; background-color: #FDFBD9;color: #C11E22;padding: 1px;}
	.botondelete:hover{width: 90px; background-color: #910407;color: #FFF;padding: 1px;}
	
</style>
</head>

<body>
<header>
    <img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
<h3 class="titulo">RECONSIDERACIÓN REQUERIMIENTO</h3>

<form id="form1" name="form1" method="post" >
  <div align="center">
<table width="330" border="3" cellpadding="3" cellspacing="3" class="recaudo">
          <!--<caption>
          <span class="Estilo1">RECONSIDERACIÓN REQUERIMIENTO</span>
          </cation>-->
<!--<tr>
	<th colspan="2" >Digite el Numero de Cedula </th>
</tr>-->


<tr>
	<td class="tdcen" width="162">DIGITE CEDULA</td>
 	<td class="tdcen" width="135" ><input name="cedula" type="text" id="cedula" size="20" maxlength="20" /></td>
</tr>
		  
<tr>
	<td class="tdcen" colspan="2"><input name="consultar" type="submit" class="boton1" id="consultar" value="Consultar" /></td>
</tr>
		  
</table>
<p align="center">
<input name="menu2" type="button" class="irmenu" id="menu2" onclick="window.location.href='../menu_admin.php'" value="IR AL MENU" />
</p>
</form>
</body>
</html>

<?php
 
if(isset($_POST["consultar"]))
{
	require_once("../Conectarse.php");
		
	echo "<form name='form' action='' method='post'>";
    global $dbi;


	$control = mysql_query('SELECT Id, numradica, Identificacion, funcionario_requiere, fecha_calificacion  FROM requerimientos_directores  WHERE (identificacion = "' . $_POST["cedula"] . '" || numradica = "' . $_POST["cedula"] . '") and estado = "2" and calificacion = "INJUSTIFICADO" ');
	if (!$control) {
		die('Invalid query 1: ' . mysql_error());
	}

   	if ((mysql_num_rows($control)!=0)) 
	{	 
    	echo "<TABLE width='800' border='2' align='center' cellpadding='0' cellspacing='1'>
       	<TR>
		<TD class='tdtitulo'>ID</TD>
		<TD class='tdtitulo'>CEDULA</TD>
        <TD class='tdtitulo'>N° RADICACION</TD>
		<TD class='tdtitulo'>FUNCIONARIO QUE REQUIERE</TD>
		<TD class='tdtitulo'>FECHA CALIFICACION</TD>";		  
                           							  
                        
 		while(list($id, $radica , $cedu , $nombre, $fechaca ) = mysql_fetch_row($control)) 
        {
			printf("<tr>
            <td class='tdfull'>".$id."</td>
								   	
			<td bgcolor='#DEFEFD'><div align='center' class='lista'><input type='button' value=$cedu name='cedu' class=botonnew onClick =window.open('requerimiento_ingresar_reconsideracion_direc.php?cedula=$cedu&radica=$radica&id=$id','','top=50,left=100,toolbar=no,scrollbars=yes,width=820,height=600,status=yes')></a></td>
   		
			<td class='tdfull'>".$radica."</td>
			<td class='tdfull'>".$nombre."</td>
			<td class='tdfull'>".$fechaca."</td>");
		}
		echo "</table>";		
  	}
	else
	{
		echo "<script>alert('Usuario no tiene Requerimientos')</script>";
	}

	echo "</form>";
}

?>