header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql="select *	from sk1_sch where scgrp='$sg' ";
$result=mysql_query($sql);
echo "
	
	| ·Õè | âçàÃÕ¹ | Êè§ä¿Åì | 
";
$rw=1; $nsend=0;
while ($db=mysql_fetch_array($result)) {
	if ($db[inf262_file] != '' ) { 
		$ast=' '; 
		$nsend++;
	} else { 
		$ast='
'; 
		$nsend++;
	} else { 
		$ast=' '; 
	}
	echo "
'; 
	}
	echo "
		| $rw | $db[sname] | $ast | 
";
	$rw++;
}
$tstd=number_format($tstd,0,'.',',');
echo "
	| ÃÇÁ | $nsend | 
	

";
?>