header('Content-Type: text/html; charset=tis-620');
echo "
";
include('../db_config.php');
$sql0="select dmc60 from sk1_cct where dmc60='1' ";
$result0=mysql_query($sql0);
$acc=mysql_num_rows($result0);
$pc=number_format($acc*100/259);
$sql="select * from sk1_cct order by sgrp,smis";
$result=mysql_query($sql);
echo "
Â×¹ÂѹáÅéÇ $acc âçàÃÕ¹ (ÃéÍÂÅÐ $pc)
·Õè |
ª×èÍâçàÃÕ¹ |
¡ÅØèÁ CEO |
School MIS |
";
$rw=1;
while ($db=mysql_fetch_array($result)) {
if ($db[dmc60]==1) {
$state='Â×¹Âѹ';
$cl='#b9ffdc';
} else {
$state='X';
$cl='#ffcccc';
}
echo "
$rw |
$db[sname] |
$db[sgrp] |
$state |
";
$rw++;
}
echo "
";
?>