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/public_html/aevaluacion/consulta_evaluacion_directores_admin.php
<?php
global $dbi;
 
require_once("../Conectarse.php");
error_reporting(0);

$sql2 = mysql_query('SELECT * FROM Usuarios WHERE Cargo like "%Diser%" and codigo != 499 order by Nombre_Completo  ');
	if (!$sql2) {
		die('Invalid query 12: ' . mysql_error());
	}
	$row_sql2 = mysql_fetch_assoc($sql2);
	$totalRows_sql2 = mysql_num_rows($sql2); 
   
?>


<!DOCTYPE HTML>

<html>
<head>
<title>Consulta puntos por 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">
<meta name="viewport" content="width=device-width, user-scalable=yes">


<link rel="stylesheet" href="css/estilos.css">



<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>

<?php include('../headerint.php'); ?>
<h3 class="titulo">CONSULTA PUNTOS MENSUAL DIRECTORES</h3>


<main class="main">

<form name="formulario" action="" method="post">

	<div class="fecha"><script languaje="JavaScript">Mostrar_Fecha()</script></div>



		<table class="tabla">
			<tr>
				<td>DIRECTORES DE SERVICIO :</td>
				<td>
				<select name="director">
					<option value = "">SELECCIONE DIRECTOR</option>
					<?php
					do {  
					?>
					<option value="<?php echo $row_sql2['Nombre_Completo'];?>"><?php echo $row_sql2['Nombre_Completo']?></option>
					<?php
					} while ($row_sql2 = mysql_fetch_assoc($sql2));
					$rows2 = mysql_num_rows($sql2);
					if($rows2 > 0) {
						mysql_data_seek($sql2, 0);
						$row_sql2 = mysql_fetch_assoc($sql2);
					}
					?>
				</select>
				</td>
			</tr>

			<tr>
				<td>SELECCIONE MES :</td>
				<td>
					<select name="mess" required>
						<option value="0" required>--SELECCIONE EL MES--</option>
						<option value="1">ENERO</option>
						<option value="2">FEBRERO</option>
						<option value="3">MARZO</option>
						<option value="4">ABRIL</option>
						<option value="5">MAYO</option>
						<option value="6">JUNIO</option>
						<option value="7">JULIO</option>
						<option value="8">AGOSTO</option>
						<option value="9">SEPTIEMBRE</option>
						<option value="10">OCTUBRE</option>
						<option value="11">NOVIEMBRE</option>
						<option value="12">DICIEMBRE</option>
					</select>
				</td>
			</tr>


			<tr>
				<td>
					<input name="menu2" type="button" class="irmenu" id="menu2" onClick="window.location.href='menu_evaluacion_profesional.php'" value="IR AL MENU">
				</td>
				<td>
					<input name="consultar" type="submit" class="direcciona" id="consultar" value="CONSULTAR"  />
				</td>
			</tr>
		</table>

</form>
</main>
</body>
</html>

<?php

if(isset($_POST["consultar"]))
{
	
	$controdatos = mysql_query('SELECT cedula, nombre_completo FROM Usuarios WHERE nombre_completo = "'.$_POST["director"].'" ');

	if (!$controdatos) {die('Invalid query datos principales: ' . mysql_error());}			  
	list($cedula, $nombre) = mysql_fetch_row($controdatos);

	//GENERENCIA GENERAL
	$contro1 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,calif_4, mes, acumulado_mensual FROM eval_direc_gerencia_gen WHERE nombre_completo = "'.$_POST["director"]  . '" and mes = "'.$_POST["mess"].'" ');
	
	if (!$contro1) {die('Invalid query 1: ' . mysql_error());}		  
	list($cedula_gg, $nombre_gg, $cal1_gg,$cal2_gg,$cal3_gg,$cal4_gg,$mes_gg,$acmes_geren_general) = mysql_fetch_row($contro1);

	//CONTROL INTERNO
	$contro2 = mysql_query('SELECT  cedula, nombre_completo, calif_1, mes, acumulado_mensual FROM eval_direc_control_interno WHERE nombre_completo = "' . $_POST["director"]  . '"  and mes = "'.$_POST["mess"].'"');

	if (!$contro2) {die('Invalid query 2: ' . mysql_error());}			  
	list($cedula_ci, $nombre_ci,$cal1_ci,$mes_ci,$acmes_control_interno) = mysql_fetch_row($contro2);

	//GERENCIA ADMINISTRATIVA
	$contro3 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,calif_4,calif_5, calif_ausentismo, mes, acumulado_mensual FROM eval_direc_gerencia_adm WHERE nombre_completo = "' . $_POST["director"]  . '" and mes = "'.$_POST["mess"].'"');

	if (!$contro3) {die('Invalid query 3: ' . mysql_error());}			  
	list($cedula_ga, $nombre_ga,$cal1_ga,$cal2_ga,$cal3_ga,$cal4_ga,$cal5_ga,$calif_ausen,$mes_ga,$acmes_geren_admin) = mysql_fetch_row($contro3);

	//ASISTENTE DE GERENICA ADMINISTRATIVA
	$contro4 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,calif_4,calif_5,mes,acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE nombre_completo = "'.$_POST["director"] . '" and mes = "'.$_POST["mess"].'" ');

	if (!$contro4) {die('Invalid query 4: ' . mysql_error());}			  
	list($cedula_aga, $nombre_aga,$cal1_aga,$cal2_aga,$cal3_aga,$cal4_aga,$cal5_aga,$mes_aga,$acmes_asist_geren_admin) = mysql_fetch_row($contro4);

	//ACTUACIONES JURIDICAS
	$contro5 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3, mes,acumulado_mensual FROM eval_direc_juridicas WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'"');

	if (!$contro5) {die('Invalid query 5: ' . mysql_error());}			  
	list($cedula_aj, $nombre_aj,$cal1_aj,$cal2_aj,$cal3_aj,$mes_aj,$acmes_juridicas) = mysql_fetch_row($contro5);

	//MONITOREO CAMARAS
	$contro6 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,calif_4, mes,acumulado_mensual FROM eval_direc_moni_camaras WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'" ');

	if (!$contro6) {die('Invalid query 6: ' . mysql_error());}			  
	list($cedula_mc, $nombre_mc,$cal1_mc,$cal2_mc,$cal3_mc,$cal4_mc,$mes_mc,$acmes_camaras) = mysql_fetch_row($contro6);

	//ASISTENTE VENTAS
	$contro7 = mysql_query('SELECT  cedula, nombre_completo, calif_1, calif_2, calif_3, calif_4, calif_5, calif_6,  mes,acumulado_mensual FROM eval_direc_asist_ventas WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'" ');

	if (!$contro7) {die('Invalid query 7: ' . mysql_error());}			  
	list($cedula_av, $nombre_av,$cal1_av,$cal2_av,$cal3_av,$cal4_av, $cal5_av, $cal6_av, $mes_av,$acmes_asist_ventas) = mysql_fetch_row($contro7);

	//ASISTENTE GERENCIA COMERCIAL
	$contro8 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,mes,acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'" ');

	if (!$contro8) {die('Invalid query 8: ' . mysql_error());}			  
	list($cedula_agc, $nombre_agc,$cal1_agc,$cal2_agc,$cal3_agc,$mes_agc,$acmes_asist_geren_comerc) = mysql_fetch_row($contro8);

	//HISTOSER
	$contro9 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,calif_3,calif_4,mes,acumulado_mensual FROM eval_direc_histoser WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'" ');

	if (!$contro9) {die('Invalid query 9: ' . mysql_error());}			  
	list($cedula_hi, $nombre_hi,$cal1_hi,$cal2_hi,$cal3_hi,$cal4_hi,$mes_hi,$acmes_histoser) = mysql_fetch_row($contro9);

	//SUPERVISORA OFICINAS
	$contro10 = mysql_query('SELECT  cedula, nombre_completo, calif_1,calif_2,mes,acumulado_mensual FROM eval_direc_super_oficinas WHERE nombre_completo = "'.$_POST["director"].'" and mes = "'.$_POST["mess"].'" ');

	if (!$contro10) {die('Invalid query 10: ' . mysql_error());}			  
	list($cedula_so, $nombre_so,$cal1_so,$cal2_so,$mes_so,$acmes_super_ofici) = mysql_fetch_row($contro10);


	$total = $acmes_geren_general + $acmes_control_interno + $acmes_geren_admin + $acmes_asist_geren_admin + $acmes_juridicas + $acmes_camaras + $acmes_asist_ventas + $acmes_asist_geren_comerc +  $acmes_histoser + $acmes_super_ofici;

}


?>


<?php if(isset($_POST["consultar"])): ?>


<main class="main">

<p class="nombre"><?php echo $nombre; ?></p>


<p class="titulos">PUNTOS OBTENIDOS</p>
<!--<table class="">
	<tr>
		<td class="puntaje">NOMBRE</td>
		<td class="puntaje"><input name="nombre_completo" type="text" id="nombre_completo3" value="<?php echo $nombre; ?>" size="50" maxlength="50" readonly=""></td>
	</tr>
</table>-->


<table class="consulta">
  	<tr>
      	<td class="area">Puntos Gerencia General:</td>
      	<td class="puntaje"><input name="geren_gener" type="text" id="geren_gener" value="<?php echo $acmes_geren_general; ?>" size="3" maxlength="3" readonly=""></td>
	</tr>
    <tr>
      	<td class="area">Puntos Control Interno:</td>
      	<td class="puntaje"><input name="control_interno" type="text" id="control_interno" value="<?php echo $acmes_control_interno; ?>" size="3" maxlength="3" readonly=""></td>
  	</tr>
    <tr>
     	<td class="area">Puntos Gerencia Administrativa:</td>
      	<td class="puntaje"><input name="geren_admin" type="text" id="geren_admin" value="<?php echo $acmes_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
   	</tr>
    <tr>
      	<td class="area">Puntos Asistente Gerencia Administrativa:</td>
      	<td class="puntaje"><input name="asist_geren_admin" type="text" id="asist_geren_admin" value="<?php echo $acmes_asist_geren_admin ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    <tr >
      	<td class="area">Puntos Actuaciones Juridicas:</td>
      	<td class="puntaje"><input name="actua_jurid" type="text" id="actua_jurid" value="<?php echo $acmes_juridicas; ?>" size="3" maxlength="3" readonly=""></td>
   	</tr>
    <tr>
      	<td class="area">Puntos Monitoreo De Camaras:</td>
      	<td class="puntaje"><input name="monit_camara" type="text" id="monit_camara" value="<?php echo $acmes_camaras; ?>" size="3" maxlength="3" readonly=""></td>
  	</tr>
    <tr>
      	<td class="area">Puntos Asistente Ventas:</td>
      	<td class="puntaje"><input name="asist_venta" type="text" id="asist_venta" value="<?php echo $acmes_asist_ventas ?>" size="3" maxlength="3" readonly=""></td>
	</tr>
    <tr>
      	<td class="area">Puntos Asistente Gerencia Comercial:</td>
      	<td class="puntaje"><input name="asist_geren_comerc" type="text" id="asist_geren_comerc" value="<?php echo $acmes_asist_geren_comerc; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    
    <tr>
     	<td class="area">Puntos Director histoser:</td>
      	<td class="puntaje"><input name="histo" type="text" id="histo" value="<?php echo $acmes_histoser; ?>" size="3" maxlength="3" readonly=""></td>
	</tr>
  	<tr>
	  	<td class="area">Puntos Supervisora De Oficinas:</td>
      	<td class="puntaje"><input name="super_ofici" type="text" id="super_ofici" value="<?php echo $acmes_super_ofici; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>

</table>


<table>
  	<tr>
    	<td class="total">TOTAL PUNTOS <input name="codg" type="text" id="un2" value="<?php echo $total; ?>" size="3" maxlength="3" readonly="">
      	</td>
  	</tr>
</table>



     	
<p class="titulos">PUNTOS DE CADA &Aacute;REA </p>  	

 	
	<table class="table">
		<tr><td class="titulos" colspan="2">GERENCIA ADMINISTRATIVA</td></tr>
		<tr>
			<td class="enunciado">Revision De Caja Menor</td>
			<td class="num"><input name="ga1" type="text" id="ga1" value="<?php echo $cal1_ga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control De Las Facturas Servicios Publicos</td>
			<td class="num"><input name="ga2" type="text" id="ga2" value="<?php echo $cal2_ga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control De Las Novedades Para Pago De Nómina</td>
			<td class="num"><input name="ga3" type="text" id="ga3" value="<?php echo $cal3_ga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Fechas Envio Correo</td>
			<td class="num"><input name="ga4" type="text" id="ga4" value="<?php echo $cal4_ga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Mantener Al Dia Inventarios de Oficina</td>
			<td class="num"><input name="ga5" type="text" id="ga5" value="<?php echo $cal5_ga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Requerimientos Injustificados</td>
			<td class="num"><input name="ga_ausentismo" type="text" id="ga_ausentismo" value="<?php echo $calif_ausen; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
		<td class='puntos_total' colspan="12" >TOTAL<input name="rga" type="text" id="rga" value="<?php echo $acmes_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	
	<table class="table">
	<tr><td class="titulos" colspan="4">ASISTENTE VENTAS</td></tr>
		<tr>
		<!--<td class="enunciado">Control Ventas Planes Contratos</td>
		<td class="num"><input name="av1" type="text" id="av1" value="<?php echo $cal1_av; ?>" size="3" maxlength="3" readonly=""></td>-->
			<td class="enunciado">Diligenciamineto y papeleria beneficiarios</td>
			<td class="num"><input name="av1" type="text" id="av1" value="<?php echo $cal1_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Diligenciamiento y papeleria cambio de plan</td>
			<td class="num"><input name="av2" type="text" id="av2" value="<?php echo $cal2_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Aplicacion de los Planes de acuerdo a la directiva</td>
			<td class="num"><input name="av3" type="text" id="av3" value="<?php echo $cal3_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control de solicitud de papeleria</td>
			<td class="num"><input name="av4" type="text" id="av4" value="<?php echo $cal4_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Venta Contratos INT 01-02-03</td>
			<td class="num"><input name="av5" type="text" id="av5" value="<?php echo $cal5_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<!--<td class="enunciado">Venta Contratos LITI</td>
		<td class="num"><input name="av7" type="text" id="av7" value="<?php echo $cal7_av; ?>" size="3" maxlength="3" readonly=""></td>-->
		<tr>	
			<td class="enunciado">Venta Contratos INT 06-07</td>
			<td class="num"><input name="av6" type="text" id="av6" value="<?php echo $cal6_av; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>



		<tr>
			<td class='puntos_total' colspan="10" >TOTAL<input name="rav" type="text" id="rav" value="<?php echo $acmes_asist_ventas;?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	<table class="table">
		<tr><td class="titulos" colspan="2">ASISTENTE DE GERENCIA ADMINISTRATIVA</td></tr>
		<tr>
			<td class="enunciado">Consulta Novedades Diarias</td>
			<td class="num"><input name="aga1" type="text" id="aga1" value="<?php echo $cal1_aga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Revision De Viaticos Aprobados</td>
			<td class="num"><input name="aga2" type="text" id="aga2" value="<?php echo $cal2_aga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Respuesta a requerimientos</td>
			<td class="num"><input name="aga3" type="text" id="aga3" value="<?php echo $cal3_aga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control De Disponibilidad Diario</td>
			<td class="num"><input name="aga4" type="text" id="aga4" value="<?php echo $cal4_aga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>	
			<td class="enunciado">Viáticos Sin Ingresar Resultados</td>
			<td class="num"><input name="aga5" type="text" id="aga5" value="<?php echo $cal5_aga; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado"></td>
			<td class="num"></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="10" >TOTAL<input name="raga" type="text" id="raga" value="<?php echo $acmes_asist_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
 	
 

	<table class='table'>			
		<tr>
			<td class="titulos" colspan="2">GERENCIA GENERAL</td>
		</tr>
			
		<tr>
			<td class="enunciado">Control De Las Terminaciones De Procesos</td>
			<td class="num"><input name="gg1" type="text" id="gg1" value="<?php echo $cal1_gg; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Y Verificacion De Audiencias</td>
			<td class="num"><input name="gg2" type="text" id="gg2" value="<?php echo $cal2_gg; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
			
		<tr>
			<td class="enunciado">Control de asignacion de procesos</td>
			<td class="num"><input name="gg3" type="text" id="gg4" value="<?php echo $cal3_gg; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		
		<tr>
			<td class="enunciado">Control Cambio De Jornada De Los Abogado</td>
			<td class="num"><input name="gg4" type="text" id="gg5" value="<?php echo $cal4_gg; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		
		<tr>
			<td class='puntos_total' colspan="2" >TOTAL<input name="rgg" type="text" id="rgg" value="<?php echo $acmes_geren_general; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	
	<table class="table">
		<tr><td class="titulos" colspan="2">MONITOREO CAMARAS</td></tr>
		<tr>
			<td class="enunciado">Control Puntualidad</td>
			<td class="num"><input name="mc1" type="text" id="mc1" value="<?php echo $cal1_mc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Ausentismo</td>
			<td class="num"><input name="mc2" type="text" id="mc2" value="<?php echo $cal2_mc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Actividades Contravencionales</td>
			<td class="num"><input name="mc13" type="text" id="mc3" value="<?php echo $cal3_mc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control de ingreso</td>
			<td class="num"><input name="mc4" type="text" id="mc4" value="<?php echo $cal4_mc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="10" >TOTAL<input name="rmc" type="text" id="rmc" value="<?php echo $acmes_camaras; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	<table class="table">
		<tr><td class="titulos" colspan="4">DIRECTORA HISTOSER</td></tr>
		<tr>
			<td class="enunciado">Control Ingreso Atenciones</td>
			<td class="num"><input name="h1" type="text" id="h1" value="<?php echo $cal1_hi; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Diligencias Y Soporte De Inicio</td>
			<td class="num"><input name="h2" type="text" id="h2" value="<?php echo $cal2_hi; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control entre la asignacion y el inicio</td>
			<td class="num"><input name="h3" type="text" id="h3" value="<?php echo $cal3_hi; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Del Formato De Atenciones</td>
			<td class="num"><input name="h4" type="text" id="h4" value="<?php echo $cal4_hi; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="10" >TOTAL<input name="rh" type="text" id="rh" value="<?php echo $acmes_histoser;?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	

	<table class='table'>
		<tr>
			<td class="titulos" colspan="2">SUPERVISORA DE OFICINAS</td>
		</tr>
		<tr>
			<td class="enunciado">Control Novedades Diarias</td>
			<td class="num"><input name="so1" type="text" id="so1" value="<?php echo $cal1_so; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Cumplimiento Respuesta Disponibilidad</td>
			<td class="num"><input name="so2" type="text" id="so2" value="<?php echo $cal2_so; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado"></td>
			<td class="num"></td>
		</tr>
		<tr>
			<td class="enunciado"></td>
			<td class="num"></td>
		</tr>

		<tr>
			<td class='puntos_total' colspan="4" >TOTAL<input name="rso" type="text" id="rso" value="<?php echo $acmes_super_ofici; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	

	<table class="table">
  		<tr><td class="titulos" colspan="2">ACTUACIONES JURIDICAS</td></tr>
		<tr>
			<td class="enunciado">Revistas En Estado Diez(10) Ha Estado Cero(0)</td>
			<td class="num"><input name="aj1" type="text" id="aj1" value="<?php echo $cal1_aj; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Calidad En La Redaccion</td>
			<td class="num"><input name="aj2" type="text" id="aj2" value="<?php echo $cal2_aj; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Control Numero Radicado Del Proceso</td>
			<td class="num"><input name="aj3" type="text" id="aj3" value="<?php echo $cal3_aj; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado"></td>
			<td class="num"></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="12" >TOTAL<input name="rga" type="text" id="rga" value="<?php echo $acmes_juridicas; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	<table class="table">
		<tr><td class="titulos" colspan="4">ASISTENTE GERENCIA COMERCIAL</td></tr>
		<tr>
			<td class="enunciado">Programacion De Recorridos Diarios</td>
			<td class="num"><input name="agc1" type="text" id="agc1" value="<?php echo $cal1_agc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Supervision Kilometro Recorridos</td>
			<td class="num"><input name="agc2" type="text" id="agc2" value="<?php echo $cal2_agc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado">Reporte De Ventas Diarias</td>
			<td class="num"><input name="agc3" type="text" id="agc3" value="<?php echo $cal3_agc; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class="enunciado"></td>
			<td class="num"></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="10" >TOTAL<input name="ragc" type="text" id="ragc" value="<?php echo $acmes_asist_geren_comerc;?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	
	
	<table class='table'>
		<tr>
			<td class="titulos" colspan="2">CONTROL INTERNO</td>
		</tr>
		<tr>
			<td class="enunciado">Control De Quejas Y Reclamos</td>
			<td class="num"><input name="ci1" type="text" id="ci1" value="<?php echo $cal1_ci; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
		<tr>
			<td class='puntos_total' colspan="2" >TOTAL<input name="rci" type="text" id="rci" value="<?php echo $acmes_control_interno; ?>" size="3" maxlength="3" readonly=""></td>
		</tr>
	</table>
	
	
	
	
	
	
	
	
	
	


<!--
<table width="677" align="center" border="0" cellpadding="3" cellspacing="3">
	<tr>
    	<td colspan="4"  class="titulos"><div align="center">PUNTOS OBTENIDOS </div></td>
  	</tr>
  	<tr>
    <td width="257" align="right"><div align="right"><span class="Estilo29">C&eacute;dula, apellidos y nombres</span></div></td>
    <td><input name="identi" type="text" id="identi" value="<?php echo $cedula; ?>" size="12" maxlength="12" readonly=""></td>
    <td colspan="2"><input name="nombre_completo" type="text" id="nombre_completo3" value="<?php echo $nombre; ?>" size="50" maxlength="50" readonly=""></td>
    </tr>
  <tr >
      <td><div align="right"><span class="Estilo29">Puntos Gerencia General:</span></div></td>
      <td width="72"   ><input name="geren_gener" type="text" id="geren_gener" value="<?php echo $acmes_geren_general; ?>" size="3" maxlength="3" readonly=""></td>
      <td width="281"  ><div align="right"><span class="Estilo29">Puntos Control Interno:</span></div></td>
      <td width="28"   >
      <input name="control_interno" type="text" id="control_interno" value="<?php echo $acmes_control_interno; ?>" size="3" maxlength="3" readonly=""></td>
  </tr>
    <tr>
      <td height="46" align="right"><div align="right"><span class="Estilo29">Puntos Gerencia Administrativa:</span></div></td>
      <td width="72"><input name="geren_admin" type="text" id="geren_admin" value="<?php echo $acmes_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
      <td><div align="right"><span class="Estilo29">Puntos Asistente Gerencia Administrativa:</span></div></td>
      <td ><input name="asist_geren_admin" type="text" id="asist_geren_admin" value="<?php echo $acmes_asist_geren_admin ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    <tr>
      <td align="right" nowrap><div align="right"><span class="Estilo29">Puntos Actuaciones Juridicas:</span></div></td>
      <td width="72"><input name="actua_jurid" type="text" id="actua_jurid" value="<?php echo $acmes_juridicas; ?>" size="3" maxlength="3" readonly=""></td>
      <td ><div align="right"><span class="Estilo29">Puntos Monitoreo De Camaras:</span></div></td>
      <td width="28"><input name="monit_camara" type="text" id="monit_camara" value="<?php echo $acmes_camaras; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    <tr  bgcolor="#0099FF">
      <td align="right" nowrap><div align="right"><span class="Estilo29">Puntos Asistente Ventas:</span></div></td>
      <td width="72"><input name="asist_venta" type="text" id="asist_venta" value="<?php echo $acmes_asist_ventas ?>" size="3" maxlength="3" readonly=""></td>
      <td ><div align="right"><span class="Estilo29">Puntos Asistente Gerencia Comercial:</span></div></td>
      <td width="28"><input name="asist_geren_comerc" type="text" id="asist_geren_comerc" value="<?php echo $acmes_asist_geren_comerc; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    <tr >

      <td ><div align="right"><span class="Estilo29">Puntos Director histoser:</span></span></div></td>
      <td width="28">
	    <span class="Estilo29">
      <input name="histo" type="text" id="histo" value="<?php echo $acmes_histoser; ?>" size="3" maxlength="3" readonly="">
      </span></span></td>
	     <td align="right" nowrap><div align="right"><span class="Estilo29">Puntos Supervisora De Oficinas:</span></div></td>
      <td width="72" ><input name="super_ofici" type="text" id="super_ofici" value="<?php echo $acmes_super_ofici; ?>" size="3" maxlength="3" readonly="">
      </td>
    </tr>



	   	
</table>


<table  border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td  class="titulos"><div align="center">TOTAL PUNTOS </div></td>
  </tr>
  <tr bgcolor="#CCFFFF" align="center">
   <td  bgcolor="#CCFFFF"><input name="codg" type="text" id="un2" value="<?php echo $total; ?>" size="3" maxlength="3" readonly="">
      </td>
  </tr>
  
  
</table>

<BR>
<table width="677" align="center" border="0" cellpadding="3" cellspacing="3">
 <tr>
 <td colspan="4"  class="titulos"><div align="center">PUNTOS DE CADA AREA </div></td>
 </tr>
 

<table>
<tr><td class="titulos">GERENCIA GENERAL</td></tr>
<tr>
<td class="enunciado">Control De Las Terminaciones De Procesos</td>
<td class="num"><input name="gg1" type="text" id="gg1" value="<?php echo $cal1_gg; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Y Verificacion De Audiencias</td>
<td class="num"><input name="gg2" type="text" id="gg2" value="<?php echo $cal2_gg; ?>" size="3" maxlength="3" readonly=""></td>

<td class="enunciado">Control de asignacion de procesos</td>
<td class="num"><input name="gg3" type="text" id="gg4" value="<?php echo $cal3_gg; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Cambio De Jornada De Los Abogado</td>
<td class="num"><input name="gg4" type="text" id="gg5" value="<?php echo $cal4_gg; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="rgg" type="text" id="rgg" value="<?php echo $acmes_geren_general; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>

<br>

<table>
<tr>
    <td class="titulos" colspan="2">CONTROL INTERNO</td>
    <td></td>
    
    <td class="titulos" colspan="4">SUPERVISORA DE OFICINAS</td>
    <td></td>
</tr>
<tr>
<td class="enunciado">Control De Quejas Y Reclamos</td>
<td class="num"><input name="ci1" type="text" id="ci1" value="<?php echo $cal1_ci; ?>" size="3" maxlength="3" readonly=""></td>
<td></td>

<td class="enunciado">Control Novedades Diarias</td>
<td class="num"><input name="so1" type="text" id="so1" value="<?php echo $cal1_so; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Cumplimiento Respuesta Disponibilidad</td>
<td class="num"><input name="so2" type="text" id="so2" value="<?php echo $cal2_so; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
<tr>
<td bgcolor="#EDF27F" colspan="2" align="center">TOTAL<input name="rci" type="text" id="rci" value="<?php echo $acmes_control_interno; ?>" size="3" maxlength="3" readonly=""></td>
<td></td>

<td bgcolor="#EDF27F" colspan="4" align="center">TOTAL<input name="rso" type="text" id="rso" value="<?php echo $acmes_super_ofici; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>


<br>


<table>
  
<tr><td class="titulos" colspan="2">ACTUACIONES JURIDICAS</td></tr>
<tr>
<td class="enunciado">Revistas En Estado Diez(10) Ha Estado Cero(0)</td>
<td class="num"><input name="aj1" type="text" id="aj1" value="<?php echo $cal1_aj; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Calidad En La Redaccion</td>
<td class="num"><input name="aj2" type="text" id="aj2" value="<?php echo $cal2_aj; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Numero Radicado Del Proceso</td>
<td class="num"><input name="aj3" type="text" id="aj3" value="<?php echo $cal3_aj; ?>" size="3" maxlength="3" readonly=""></td>
</tr>

<tr>
<td bgcolor="#EDF27F" colspan="12" align="center">TOTAL<input name="rga" type="text" id="rga" value="<?php echo $acmes_juridicas; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>



<table>
<tr><td class="titulos" colspan="2">GERENCIA ADMINISTRATIVA</td></tr>
<tr>
<td class="enunciado">Revision De Caja Menor</td>
<td class="num"><input name="ga1" type="text" id="ga1" value="<?php echo $cal1_ga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control De Las Facturas Servicios Publicos</td>
<td class="num"><input name="ga2" type="text" id="ga2" value="<?php echo $cal2_ga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control De Las Novedades Para Pago De Nómina</td>
<td class="num"><input name="ga3" type="text" id="ga3" value="<?php echo $cal3_ga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Fechas Envio Correo</td>
<td class="num"><input name="ga4" type="text" id="ga4" value="<?php echo $cal4_ga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Mantener Al Dia Inventarios de Oficina</td>
<td class="num"><input name="ga5" type="text" id="ga5" value="<?php echo $cal5_ga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Requerimientos Injustificados</td>
<td class="num"><input name="ga_ausentismo" type="text" id="ga_ausentismo" value="<?php echo $calif_ausen; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
<tr>
<td bgcolor="#EDF27F" colspan="12" align="center">TOTAL<input name="rga" type="text" id="rga" value="<?php echo $acmes_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>

<br>

<table>
<tr><td class="titulos" colspan="5">ASISTENTE DE GERENCIA ADMINISTRATIVA</td></tr>
<tr>
<td class="enunciado">Consulta Novedades Diarias</td>
<td class="num"><input name="aga1" type="text" id="aga1" value="<?php echo $cal1_aga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Revision De Viaticos Aprobados</td>
<td class="num"><input name="aga2" type="text" id="aga2" value="<?php echo $cal2_aga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Respuesta a requerimientos</td>
<td class="num"><input name="aga3" type="text" id="aga3" value="<?php echo $cal3_aga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control De Disponibilidad Diario</td>
<td class="num"><input name="aga4" type="text" id="aga4" value="<?php echo $cal4_aga; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Viáticos Sin Ingresar Resultados</td>
<td class="num"><input name="aga5" type="text" id="aga5" value="<?php echo $cal5_aga; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="raga" type="text" id="raga" value="<?php echo $acmes_asist_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>





<table>
<tr><td class="titulos" colspan="4">MONITOREO CAMARAS</td></tr>
<tr>
<td class="enunciado">Control Puntualidad</td>
<td class="num"><input name="mc1" type="text" id="mc1" value="<?php echo $cal1_mc; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Ausentismo</td>
<td class="num"><input name="mc2" type="text" id="mc2" value="<?php echo $cal2_mc; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Actividades Contravencionales</td>
<td class="num"><input name="mc13" type="text" id="mc3" value="<?php echo $cal3_mc; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control de ingreso</td>
<td class="num"><input name="mc4" type="text" id="mc4" value="<?php echo $cal4_mc; ?>" size="3" maxlength="3" readonly=""></td>

</tr>
<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="rmc" type="text" id="rmc" value="<?php echo $acmes_camaras; ?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>


<table>
<tr><td class="titulos" colspan="4">ASISTENTE VENTAS</td></tr>
<tr>
<td class="enunciado">Control Ventas Planes Contratos</td>
<td class="num"><input name="av1" type="text" id="av1" value="<?php echo $cal1_av; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Diligenciamineto y papeleria beneficiarios</td>
<td class="num"><input name="av1" type="text" id="av1" value="<?php echo $cal1_av; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Diligenciamiento y papeleria cambio de plan</td>
<td class="num"><input name="av2" type="text" id="av2" value="<?php echo $cal2_av; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Aplicacion de los Planes de acuerdo a la directiva</td>
<td class="num"><input name="av3" type="text" id="av3" value="<?php echo $cal3_av; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control de solicitud de papeleria</td>
<td class="num"><input name="av4" type="text" id="av4" value="<?php echo $cal4_av; ?>" size="3" maxlength="3" readonly=""></td>
</tr>

<td class="enunciado">Venta Contratos INT 01-02-03</td>
<td class="num"><input name="av5" type="text" id="av5" value="<?php echo $cal5_av; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Venta Contratos LITI</td>
<td class="num"><input name="av7" type="text" id="av7" value="<?php echo $cal7_av; ?>" size="3" maxlength="3" readonly=""></td>

<td class="enunciado">Venta Contratos INT 06-07</td>
<td class="num"><input name="av6" type="text" id="av6" value="<?php echo $cal6_av; ?>" size="3" maxlength="3" readonly=""></td>
</tr>



<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="rav" type="text" id="rav" value="<?php echo $acmes_asist_ventas;?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>




<table>
<tr><td class="titulos" colspan="4">ASISTENTE GERENCIA COMERCIAL</td></tr>
<tr>
<td class="enunciado">Programacion De Recorridos Diarios</td>
<td class="num"><input name="agc1" type="text" id="agc1" value="<?php echo $cal1_agc; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Supervision Kilometro Recorridos</td>
<td class="num"><input name="agc2" type="text" id="agc2" value="<?php echo $cal2_agc; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Reporte De Ventas Diarias</td>
<td class="num"><input name="agc3" type="text" id="agc3" value="<?php echo $cal3_agc; ?>" size="3" maxlength="3" readonly=""></td>

</tr>
<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="ragc" type="text" id="ragc" value="<?php echo $acmes_asist_geren_comerc;?>" size="3" maxlength="3" readonly=""></td>
</tr>
</table>


<table>
<tr><td class="titulos" colspan="4">DIRECTORA HISTOSER</td></tr>
<tr>
<td class="enunciado">Control Ingreso Atenciones</td>
<td class="num"><input name="h1" type="text" id="h1" value="<?php echo $cal1_hi; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Diligencias Y Soporte De Inicio</td>
<td class="num"><input name="h2" type="text" id="h2" value="<?php echo $cal2_hi; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control entre la asignacion y el inicio</td>
<td class="num"><input name="h3" type="text" id="h3" value="<?php echo $cal3_hi; ?>" size="3" maxlength="3" readonly=""></td>
<td class="enunciado">Control Del Formato De Atenciones</td>
<td class="num"><input name="h4" type="text" id="h4" value="<?php echo $cal4_hi; ?>" size="3" maxlength="3" readonly=""></td>

</tr>
<tr>
<td bgcolor="#EDF27F" colspan="10" align="center">TOTAL<input name="rh" type="text" id="rh" value="<?php echo $acmes_histoser;?>" size="3" maxlength="3" readonly=""></td>
</tr>
-->



</main>


<?php endif; ?>