$sg=$_GET["sg"];
header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql="select * from sk1_sch66 where scgrp='$sg' ";
$result=mysql_query($sql);
echo <<
|
·Õè |
âçàÃÕ¹ |
ÃѺ¿Ñ§ |
ṺÀÒ¾ |
TH;
$rw=1; $nsend=$npass=0;
while ($db=mysql_fetch_array($result)) {
if ($db[m140966] <> '' ) {
$nsend++;
$ast='
![](../images/ok.jpg)
';
if ($db[m140966file] <>'' ) {
$pass='
![](../images/ok.jpg)
';
$npass++;
} else {
$pass='
![](../images/nok.jpg)
';
}
} else {
$ast='
![](../images/nok.jpg)
';
$pass='
![](../images/nok.jpg)
';
}
echo <<
$rw |
$db[sname] |
$ast |
$pass |
TB;
$rw++;
}
$tstd=number_format($tstd,0,'.',',');
echo <<
ÃÇÁ |
$nsend |
$npass |
TF;
?>