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/consulta_evaluacion_abogados_historico.php
<?php 
require_once("mainfile.php");
include ("config.php");
global $dbi;
$espacio = ' ';
$linea = '-';


require_once("Conectarse.php");

$sql =  mysql_query('SELECT * FROM Usuarios WHERE Cargo like "%ABOGADOS%" order by Nombre_Completo  ');
if (!$sql) {
	die('Invalid query 1: ' . mysql_error());
}

//$mesactua = $_GET["mes"]-1;



$controdatos = mysql_query('SELECT cedula, nombre_completo FROM Usuarios WHERE cedula = "'.$_GET["ced2"].'" ');
if (!$controdatos) {die('Invalid query datos principales: ' . mysql_error());}			  
list($cedula, $nombre) = mysql_fetch_row($controdatos);

$contro1 = mysql_query('SELECT acumulado_mensual FROM eval_abog_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro1) {die('Invalid query 1: ' . mysql_error());}		  
list($acmes_geren_general) = mysql_fetch_row($contro1);


 
 
$contro3 = mysql_query('SELECT acumulado_mensual FROM eval_abog_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro3) {die('Invalid query 3: ' . mysql_error());}			  
 list($acmes_geren_admin) = mysql_fetch_row($contro3);
 
 
$contro4 = mysql_query('SELECT acumulado_mensual FROM eval_abog_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro4) {die('Invalid query 4: ' . mysql_error());}			  
list($acmes_asist_geren_admin) = mysql_fetch_row($contro4);
 
 
$contro5 = mysql_query('SELECT acumulado_mensual FROM eval_abog_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro5) {die('Invalid query 5: ' . mysql_error());}			  
list($acmes_juridicas) = mysql_fetch_row($contro5);

 
$contro6 = mysql_query('SELECT acumulado_mensual FROM eval_abog_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro6) {die('Invalid query 6: ' . mysql_error());}			  
list($acmes_camaras) = mysql_fetch_row($contro6);
  
 
$contro9 = mysql_query('SELECT acumulado_mensual FROM eval_abog_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$_GET["mes"].'" ');
if (!$contro9) {die('Invalid query 9: ' . mysql_error());}			  
list($acmes_histoser) = mysql_fetch_row($contro9);
 


$totalmes = $acmes_geren_general + $acmes_geren_admin + $acmes_asist_geren_admin + $acmes_juridicas + $acmes_camaras +    $acmes_histoser;




//////////////////////////////////////////////////////////////////////////////////////////////////////////

//$mesactual = date("n");
$mess = date("n");
//$consultamesactual = mysql_query("SELECT mes FROM eval_direc_super_oficinas WHERE mes = '".$mess."' "); 

/*
if($mess == 1)
{
	$puntajegg = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajegg) {die('Invalid query 1: ' . mysql_error());}		  
	list($acmes_geren_general_gg) = mysql_fetch_row($puntajegg);
	$totalgg = $acmes_geren_general_gg;
	/////////////////////////////
	
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
	list($acmes_control_interno_ci) = mysql_fetch_row($puntajeci);
	$totalci = $acmes_control_interno_ci;
	/////////////////////////////
	 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
	list($acmes_geren_admin_ga) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin_ga;
	/////////////////////////////
	
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
	list($acmes_asist_geren_admin_aga) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin_aga;
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
	list($acmes_juridicas_ju) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas_ju;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
	list($acmes_camaras_mc) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras_mc;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
	list($acmes_asist_ventas_av) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas_av;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
	list($acmes_asist_geren_comerc_agc) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc_agc;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
	list($acmes_histoser_hi) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser_hi;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
	list($acmes_super_ofici_so) = mysql_fetch_row($puntajeso);
	$totalso = $puntajeso;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
	
}


if($mess == 2)
{
	$mess = date("n")-1;
	
	$puntajegg = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajegg) {die('Invalid query 1: ' . mysql_error());}		  
	list($acmes_geren_general_gg2) = mysql_fetch_row($puntajegg);
	$totalgg = $acmes_geren_general_gg + $acmes_geren_general_gg2;
	/////////////////////////////
	
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
	list($acmes_control_interno_ci2) = mysql_fetch_row($puntajeci);
	$totalci = $acmes_control_interno_ci + $acmes_control_interno_ci2;
	/////////////////////////////
	 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
	list($acmes_geren_admin_ga2) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin_ga + $acmes_geren_admin_ga2;
	/////////////////////////////
	
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
	list($acmes_asist_geren_admin_aga2) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin_aga + $acmes_asist_geren_admin_aga2; 
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
	list($acmes_juridicas_ju2) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas_ju + $acmes_juridicas_ju2;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
	list($acmes_camaras_mc2) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras_mc + $acmes_camaras_mc2;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
	list($acmes_asist_ventas_av2) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas_av + $acmes_asist_ventas_av2;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
	list($acmes_asist_geren_comerc_agc2) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc_agc + $acmes_asist_geren_comerc_agc2;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
	list($acmes_histoser_hi2) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser_hi + $acmes_histoser_hi2;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
	list($acmes_super_ofici_so2) = mysql_fetch_row($puntajeso);
	$totalso = $acmes_super_ofici_so + $acmes_super_ofici_so2;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
}




if($mess == 9)
{
	$mess = date("n")-1;
	
	$puntajegg = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajegg) {die('Invalid query 1: ' . mysql_error());}		  
	list($acmes_geren_general_gg9) = mysql_fetch_row($puntajegg);
	$totalgg9 = $acmes_geren_general + $acmes_geren_general_gg2 + $acmes_geren_general_gg9;
	echo "Lo que vale en 9 es  ".$totalgg9;
	/////////////////////////////
	
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
	list($acmes_control_interno_ci9) = mysql_fetch_row($puntajeci);
	$totalci = $acmes_control_interno + $acmes_control_interno_ci2 + $acmes_control_interno_ci9;
	/////////////////////////////
	 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
	list($acmes_geren_admin_ga9) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin + $acmes_geren_admin_ga2 + $acmes_geren_admin_ga9;
	/////////////////////////////
	
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
	list($acmes_asist_geren_admin_aga9) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin + $acmes_asist_geren_admin_aga2 + $acmes_asist_geren_admin_aga9; 
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
	list($acmes_juridicas_ju9) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas + $acmes_juridicas_ju2 + $acmes_juridicas_ju9;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
	list($acmes_camaras_mc9) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras + $acmes_camaras_mc2 + $acmes_camaras_mc9;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
	list($acmes_asist_ventas_av9) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas + $acmes_asist_ventas_av2 + $acmes_asist_ventas_av9;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
	list($acmes_asist_geren_comerc_agc9) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc + $acmes_asist_geren_comerc_agc2 + $acmes_asist_geren_comerc_agc9;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
	list($acmes_histoser_hi9) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser + $acmes_histoser_hi2 + $acmes_histoser_hi9;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
	list($acmes_super_ofici_so9) = mysql_fetch_row($puntajeso);
	$totalso = $acmes_super_ofici + $acmes_super_ofici_so2 + $acmes_super_ofici_so9;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
	
}

*/

if($mess == date("n")){
	
$mess = date("n");
while($mess > 0){
$puntajegg10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_geren_general_gg10) = mysql_fetch_array($puntajegg10);$totalgg10 = $totalgg10 + $acmes_geren_general_gg10;$mess--;
}

$mess = date("n");
while($mess > 0){
$puntajega10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_geren_admin_ga10) = mysql_fetch_array($puntajega10);$totalga10 = $totalga10 + $acmes_geren_admin_ga10;$mess--;
}

$mess = date("n");
while($mess > 0){
$puntajeav10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_asist_geren_admin_aga10) = mysql_fetch_array($puntajeav10);$totalaga10 = $totalaga10 + $acmes_asist_geren_admin_aga10;$mess--;
}

$mess = date("n");
while($mess > 0){
$puntajeaj10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_juridicas_ju10) = mysql_fetch_array($puntajeaj10);$totalju10 = $totalju10 + $acmes_juridicas_ju10;$mess--;
}

$mess = date("n");
while($mess > 0){
$puntajemc10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_camaras_mc10) = mysql_fetch_array($puntajemc10);$totalmc10 = $totalmc10 + $acmes_camaras_mc10;$mess--;
}



$mess = date("n");
while($mess > 0){
$puntajehi10 = mysql_query('SELECT acumulado_mensual FROM eval_abog_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
list($acmes_histoser_hi10) = mysql_fetch_array($puntajehi10);$totalhi10 = $totalhi10 + $acmes_histoser_hi10;$mess--;
}



$totaldetotal = $totalgg10 + $totalga10 + $totalaga10 + $totalju10 + $totalmc10 + $totalhi10;
	

	
	
	//echo $acmes_geren_general_gg10."<br>";
	/////////////////////////////
	/*$mess9 = date("n")-2;
	$puntajegg9 = mysql_query('SELECT mes, acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess9.'" ');
	if (!$puntajegg9) {die('Invalid query 1: ' . mysql_error());}		  
	list($acmes_geren_general_gg9) = mysql_fetch_row($puntajegg9);
	echo $acmes_geren_general_gg9."<br>";
	$totalanualgg = $acmes_geren_general_gg10+$acmes_geren_general_gg9;
	echo $totalanualgg;
	
	
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
	list($acmes_control_interno_ci10) = mysql_fetch_row($puntajeci);
	$totalci = $acmes_control_interno + $acmes_control_interno_ci2 + $acmes_control_interno_ci9 + $acmes_control_interno_ci10;
	/////////////////////////////
	 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
	list($acmes_geren_admin_ga10) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin + $acmes_geren_admin_ga2 + $acmes_geren_admin_ga9 + $acmes_geren_admin_ga10;
	/////////////////////////////
	
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
	list($acmes_asist_geren_admin_aga10) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin + $acmes_asist_geren_admin_aga2 + $acmes_asist_geren_admin_aga9 + $acmes_asist_geren_admin_aga10; 
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
	list($acmes_juridicas_ju10) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas + $acmes_juridicas_ju2 + $acmes_juridicas_ju9 + $acmes_juridicas_ju10;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
	list($acmes_camaras_mc10) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras + $acmes_camaras_mc2 + $acmes_camaras_mc9 + $acmes_camaras_mc10;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
	list($acmes_asist_ventas_av10) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas + $acmes_asist_ventas_av2 + $acmes_asist_ventas_av9 + $acmes_asist_ventas_av10;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
	list($acmes_asist_geren_comerc_agc10) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc + $acmes_asist_geren_comerc_agc2 + $acmes_asist_geren_comerc_agc9 + $acmes_asist_geren_comerc_agc10;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
	list($acmes_histoser_hi10) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser + $acmes_histoser_hi2 + $acmes_histoser_hi9 + $acmes_histoser_hi10 ;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
	if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
	list($acmes_super_ofici_so10) = mysql_fetch_row($puntajeso);
	$totalso = $acmes_super_ofici + $acmes_super_ofici_so2 + $acmes_super_ofici_so9 + $acmes_super_ofici_so10;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
	*/
}





/*
//MESES PARA SUMAR CON EL ANTERIOR DATO GUARDADO
if($mess == 2 || $mess == 3 || $mess == 4 || $mess == 5 || $mess == 6 || $mess == 7 || $mess == 8 || $mess == 9 || $mess == 10 || $mess == 11 || $mess == 12)
{
	$messatras = date("n")-1;
	//$mess = $messatras;

	$puntajegg = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajegg) {die('Invalid query 1: ' . mysql_error());}		  
		list($acmes_geren_general_gg) = mysql_fetch_row($puntajegg);
	$totalgg = $acmes_geren_general_gg + $acmes_geren_general;
	
	/////////////////////////////
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
		list($acmes_control_interno_ci) = mysql_fetch_row($puntajeci);
	$totalci =  $acmes_control_interno_ci + $acmes_control_interno;
	///////////////////////////// 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
		list($acmes_geren_admin_ga) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin_ga + $acmes_geren_admin;
	/////////////////////////////
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
		list($acmes_asist_geren_admin_aga) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin_aga + $acmes_asist_geren_admin;
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
		list($acmes_juridicas_ju) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas_ju + $acmes_juridicas;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
		list($acmes_camaras_mc) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras_mc + $acmes_camaras;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
		list($acmes_asist_ventas_av) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas_av + $acmes_asist_ventas;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
		list($acmes_asist_geren_comerc_agc) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc_agc + $acmes_asist_geren_comerc;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
		list($acmes_histoser_hi) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser_hi + $acmes_histoser;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$messatras.'" ');
		if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
		list($acmes_super_ofici_so) = mysql_fetch_row($puntajeso);
	$totalso = $acmes_super_ofici_so + $acmes_super_ofici;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
}
*/


///////MES AGOSTO
/*
if($mesactual == 8)
{
	$mess = date("n")-1;

	$puntajegg = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_gen WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajegg) {die('Invalid query 1: ' . mysql_error());}		  
		list($acmes_geren_general_gg) = mysql_fetch_row($puntajegg);
	$totalgg = $acmes_geren_general_gg + $acmes_geren_general;
	/////////////////////////////
	$puntajeci = mysql_query('SELECT acumulado_mensual FROM eval_direc_control_interno WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeci) {die('Invalid query 2: ' . mysql_error());}			  
		list($acmes_control_interno_ci) = mysql_fetch_row($puntajeci);
	$totalci =  $acmes_control_interno_ci + $acmes_control_interno;
	///////////////////////////// 
	$puntajega = mysql_query('SELECT acumulado_mensual FROM eval_direc_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajega) {die('Invalid query 3: ' . mysql_error());}			  
		list($acmes_geren_admin_ga) = mysql_fetch_row($puntajega);
	$totalga = $acmes_geren_admin_ga + $acmes_geren_admin;
	/////////////////////////////
	$puntajeaga = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_adm WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeaga) {die('Invalid query 4: ' . mysql_error());}			  
		list($acmes_asist_geren_admin_aga) = mysql_fetch_row($puntajeaga);
	$totalaga = $acmes_asist_geren_admin_aga + $acmes_asist_geren_admin;
	/////////////////////////////
	$puntajeju = mysql_query('SELECT acumulado_mensual FROM eval_direc_juridicas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeju) {die('Invalid query 5: ' . mysql_error());}			  
		list($acmes_juridicas_ju) = mysql_fetch_row($puntajeju);
	$totalju = $acmes_juridicas_ju + $acmes_juridicas;
	//////////////////////////////
	$puntajemc = mysql_query('SELECT acumulado_mensual FROM eval_direc_moni_camaras WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajemc) {die('Invalid query 6: ' . mysql_error());}			  
		list($acmes_camaras_mc) = mysql_fetch_row($puntajemc);
	$totalmc = $acmes_camaras_mc + $acmes_camaras;
	///////////////////////////////
	$puntajeav = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_ventas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeav) {die('Invalid query 7: ' . mysql_error());}			  
		list($acmes_asist_ventas_av) = mysql_fetch_row($puntajeav);
	$totalav = $acmes_asist_ventas_av + $acmes_asist_ventas;
	//////////////////////////////
	$puntajeagc = mysql_query('SELECT acumulado_mensual FROM eval_direc_asist_gerencia_comercial WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeagc) {die('Invalid query 8: ' . mysql_error());}			  
		list($acmes_asist_geren_comerc_agc) = mysql_fetch_row($puntajeagc);
	$totalagc = $acmes_asist_geren_comerc_agc + $acmes_asist_geren_comerc;
	 
	$puntajehi = mysql_query('SELECT acumulado_mensual FROM eval_direc_histoser WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajehi) {die('Invalid query 9: ' . mysql_error());}			  
		list($acmes_histoser_hi) = mysql_fetch_row($puntajehi);
	$totalhi = $acmes_histoser_hi + $acmes_histoser;
	///////////////////////////////
	$puntajeso = mysql_query('SELECT acumulado_mensual FROM eval_direc_super_oficinas WHERE cedula = "'.$_GET["ced2"].'" and mes = "'.$mess.'" ');
		if (!$puntajeso) {die('Invalid query 10: ' . mysql_error());}			  
		list($acmes_super_ofici_so) = mysql_fetch_row($puntajeso);
	$totalso = $acmes_super_ofici_so + $acmes_super_ofici;
	
	$totaldetotal = $totalgg + $totalci + $totalga + $totalaga + $totalju + $totalmc + $totalav + $totalagc + $totalhi + $totalso;
}
*/
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>Consulta puntos por Director</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
.titulos {font: 16px; color: red; 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: 10px; 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: 12px;	color: #003333;}
.lista2 {font-family: Arial; font-size: 16px;	color: #FF6600;}
.boton2 {
	font-family: Verdana;
	font-size: 8 pt;
	color: #000080;
	background-color: #C0C0C0;
	border-style: solid;
	width:90px;
	height:22px;
}
body {
	background-image: url();
}
.Estilo50 {color: #CC3333;
	font-family: "Arial Narrow";
	font-weight: bold;
}
.Estilo51 {
	color: #3366FF;
	font-weight: bold;
}
.boton1 {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
.boton11 {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}

table{border: 3px solid #AFAFAF;margin-bottom:3px;}
.enunciado{background-color:#CCFFCC; width:250px; text-align:right;}
.num{background-color:#FFFFCE; width:50px}
-->
</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">
<form name="formulario" action="" method="post">
<table width="463" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="523"><fieldset><table width="461" border="0" align="center" cellpadding="2" cellspacing="2">
  <tr bgcolor="#FFFFCC">
    <td colspan="5" class="titulos"><div align="center">CONSULTA PUNTOS MENSUAL ABOGADOS</div></td>
  </tr>
  <tr bgcolor="#ECE9D8">
    <td height="22" colspan="5" class="fecha"><div align="center">
      <script languaje="JavaScript">Mostrar_Fecha()</script>
    </div></td>
  </tr>
  <!--
	   <tr bgcolor="#FFCC99">
    <td colspan="2" bgcolor="#CCFFCC"><div align="center"><span class="Estilo51">DIRECTOR SERVICIO : </span></div></td>
    <td width="241" colspan="3" bgcolor="#CCFFCC"><label>
    <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>
    </label></td>
  </tr>
  -->
  
  <!--
  <tr bgcolor="#FFCC99">
	   <td colspan="2" bgcolor="#CCFFCC"><div align="center"><span class="Estilo51">Seleccione el Mes:</span></div></td>
	    <td width="241" colspan="3" bgcolor="#CCFFCC">
	    <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 bgcolor="#FFCC99">
    <td colspan="5" bgcolor="#CCFFCC"><div align="center" class="Estilo51">
      <input name="menu2" type="button" class="Estilo50" id="menu2" onClick="window.location.href='requerimiento_liquidacion_abogados.php'" value="VOLVER">
    </div></td>
  </tr>
</table>
</fieldset></td>

  </tr>
</table>

<BR>
<BR>


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

<?php
	








?>

<table width="677" align="center" border="0" cellpadding="3" cellspacing="3">
 <tr bgcolor="#FFFFCC">
    <td colspan="4"  class="titulos"><div align="center">PUNTOS OBTENIDOS MENSUALES</div></td>
  </tr>
  <tr  bgcolor="#CCFFCC">
    <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  bgcolor="#CCFFCC">
      <td bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Gerencia General:</span></div></td>
      <td width="72"   bgcolor="#CCFFCC" ><input name="geren_gener" type="text" id="geren_gener" value="<?php echo $acmes_geren_general; ?>" size="3" maxlength="3" readonly=""></td>
      <td  bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Director histoser:</span></span></div></td>
      <td width="28" bgcolor="#CCFFCC">
	    <span class="Estilo29">
      <input name="histo" type="text" id="histo" value="<?php echo $acmes_histoser; ?>" size="3" maxlength="3" readonly="">
      </span></span></td>
      
  </tr>
    <tr bgcolor="#CCFFCC">
      <td height="46" align="right" bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Gerencia Administrativa:</span></div></td>
      <td width="72" bgcolor="#CCFFCC"><input name="geren_admin" type="text" id="geren_admin" value="<?php echo $acmes_geren_admin; ?>" size="3" maxlength="3" readonly=""></td>
      <td bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Asistente Gerencia Administrativa:</span></div></td>
      <td  bgcolor="#CCFFCC"><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 bgcolor="#CCFFCC">
      <td align="right" nowrap bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Actuaciones Juridicas:</span></div></td>
      <td width="72" bgcolor="#CCFFCC"><input name="actua_jurid" type="text" id="actua_jurid" value="<?php echo $acmes_juridicas; ?>" size="3" maxlength="3" readonly=""></td>
      <td  bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Monitoreo De Camaras:</span></div></td>
      <td width="28" bgcolor="#CCFFCC"><input name="monit_camara" type="text" id="monit_camara" value="<?php echo $acmes_camaras; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    
    <tr  bgcolor="#CCFFCC">

      
	     
      <?php //$totalmensualpuntos = $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 ?>
    </tr>
     <tr bgcolor="#FFFFCC">
    	<td colspan="2" align="right" class="titulos">TOTAL MENSUAL</td>
        <td colspan="2" align="left" class="titulos"><?php echo $totalmes ."   PUNTOS"; ?></td>
    </tr>



	   	
</table>













<table width="677" align="center" border="0" cellpadding="3" cellspacing="3">
 <tr bgcolor="#FFFFCC">
    <td colspan="4"  class="titulos"><div align="center">PUNTOS OBTENIDOS ANUALES </div></td>
  </tr>
  <tr  bgcolor="#CCFFCC">
    <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  bgcolor="#CCFFCC">
      <td bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Gerencia General:</span></div></td>
      <td width="72"   bgcolor="#CCFFCC" ><input name="geren_gener" type="text" id="geren_gener" value="<?php echo $totalgg10; ?>" size="3" maxlength="3" readonly=""></td>
      <td  bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Director histoser:</span></span></div></td>
      <td width="28" bgcolor="#CCFFCC">
	    <span class="Estilo29">
      <input name="histo" type="text" id="histo" value="<?php echo $totalhi10; ?>" size="3" maxlength="3" readonly="">
      </span></span></td>
  </tr>
    <tr bgcolor="#CCFFCC">
      <td height="46" align="right" bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Gerencia Administrativa:</span></div></td>
      <td width="72" bgcolor="#CCFFCC"><input name="geren_admin" type="text" id="geren_admin" value="<?php echo $totalga10; ?>" size="3" maxlength="3" readonly=""></td>
      <td bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Asistente Gerencia Administrativa:</span></div></td>
      <td  bgcolor="#CCFFCC"><input name="asist_geren_admin" type="text" id="asist_geren_admin" value="<?php echo $totalaga10; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>
    <tr bgcolor="#CCFFCC">
      <td align="right" nowrap bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Actuaciones Juridicas:</span></div></td>
      <td width="72" bgcolor="#CCFFCC"><input name="actua_jurid" type="text" id="actua_jurid" value="<?php echo $totalju10; ?>" size="3" maxlength="3" readonly=""></td>
      <td  bgcolor="#CCFFCC"><div align="right"><span class="Estilo29">Puntos Monitoreo De Camaras:</span></div></td>
      <td width="28" bgcolor="#CCFFCC"><input name="monit_camara" type="text" id="monit_camara" value="<?php echo $totalmc10; ?>" size="3" maxlength="3" readonly=""></td>
    </tr>

    
    <tr bgcolor="#FFFFCC">
    	<td colspan="2" align="right" class="titulos">TOTAL ANUAL</td>
        <td colspan="2" align="left" class="titulos"><?php echo $totaldetotal ."   PUNTOS"; ?></td>
    </tr>



	   	
</table>