Recursos de Revisión 2016
$anio=2016;
$q="select count(a.cveentsol) as dato,(case c.orden
when 1 then 'Poder Ejecutivo'
when 2 then 'Poder Legislativo'
when 3 then 'Poder Judicial'
when 4 then 'Ayuntamientos'
when 5 then 'Organismos Autónomos'
when 6 then 'Partidos Políticos'
when 7 then 'Sindicatos'
when 8 then 'Fideicomisos'
end) as nombre,
c.CveEntCat from tblentrr a, tblsujobl b, tblentcat c where a.cvesujobl = b.cvesujobl and b.cveentcat = c.cveentcat and a.folEntRR like '%2016' group by c.CveEntCat order by c.orden ";
$enlace[1]="recursos2016.php?id=1";
$enlace[2]="recursos2016.php?id=2";
$enlace[3]="recursos2016.php?id=3";
$enlace[4]="recursos2016.php?id=4";
$enlace[5]="recursos2016.php?id=5";
$enlace[6]="recursos2016.php?id=7";
$enlace[7]="recursos2016.php?id=8";
$enlace[8]="recursos2016.php?id=9";
$cont=1;
$datos="";
$max=0;
$temp=0;
$total=0;
$rs= mysql_query($q) or die(mysql_error());
while($r = mysql_fetch_array($rs)){
$total=$total+$r["dato"];
if($r["dato"]>$max)
$max=$r["dato"];
if($cont==1)
$datos=$datos.$r["dato"];
else
$datos=$datos.",".$r["dato"];
?>
"> echo $r["nombre"];?> |
|
echo $r["dato"];?> |
|
|
|
}?>
$cont++;
}
$labels = str_replace(",","|",$datos);
?>
Total |
|
|
|
|
|
|
|
|
|
Recursos de Revisión 2015
|
|
|
Recursos de Revisión 2014
|
|
|
|
Recursos de Revisión 2013
|
|
|
Recursos de Revisión 2012
|
|
|
|
Recursos de Revisión 2011
|
|
|
Recursos de Revisión 2010
|
|
|
|
Recursos de Revisión 2009
|
|
|
Recursos de Revisión 2008
|
|
|
|
Recursos de Revisión 2007
|
|
|
Recursos de Revisión 2006
|
|
|
|
Recursos de Revisión 2005
|
|
|