« á¨é§ ¹Ã.ÃѺÇѤ«Õ¹ Covid-19
'' group by schk"; $result0=mysql_query($sql0); $ev=array(); $i=1; while ($db0=mysql_fetch_array($result0)) { $ev[$i]=$db0[nev]; $i++; } if (empty($ev[2])) { $ev[2]=0; } if (empty($ev[3])) { $ev[3]=0; } $sql="select *,count(*) as nsc from $_sch where level != 'x' and level != 'z' group by scgrp order by sampur"; $result=mysql_query($sql); echo <<á¨é§¨Ó¹Ç¹ ¹Ã.·Õè»ÃÐʧ¤ìÃѺÇѤ«Õ¹ Covid-19

TH; $rw=1; $gsc=0; while ($db=mysql_fetch_array($result)) { $sql2="select * from $_sch where scgrp='$db[scgrp]' "; $result2=mysql_query($sql2); $gts=$gtk=0; while ($db2=mysql_fetch_array($result2)) { if (!empty($db2[vc5]) or !empty($db2[vc12])) { $gsc++; } } if ($gsc > 0) { $gg=$gsc; } else { $gg='-'; } $perc=number_format($gsc*100/$db[nsc],2,'.',''); $tpc=number_format($gtk*100/$gts,2,'.',''); echo << TB; $rw++; $tgsc+=$gsc; $gsc=0; $tnsc+=$db[nsc]; $ats+=$gts; $atk+=$gtk; } $tperc=number_format($tgsc*100/$tnsc,2,'.',''); $apc=number_format($atk*100/$ats,2,'.',''); echo <<
·Õè ¡ÅØèÁâçàÃÕ¹ ·Ñé§
ËÁ´
á¨é§
áÅéÇ
ÃéÍÂÅÐ
$rw $db[sgrp] $db[nsc] $gg $perc
ÃÇÁ $tnsc $tgsc $tperc

TF; ?>