header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql="select *	from sk1_sch where scgrp != 'prv' order by sampur";
$result=mysql_query($sql);
echo "
สรุปการส่งรายงานหนี้สาธารณูปโภค ไตรมาส 2/62 รร.สังกัด สพป.ศก.1 ปีงบประมาณ 2562 
	![]() กลับ
กลับ
	
	
	| ที่ | โรงเรียน | กลุ่มโรงเรียน | ไฟล์แนบ | 
";
$rw=1; $nf=0;
while ($db=mysql_fetch_array($result)) {
	if (empty($db[inf262_file])) { 
		$col='#ffe1e1'; 
		$txt="-";
	} else { 
		$col='#e4fede'; 
		$txt=" ";
		$nf++;
	}
	echo "
";
		$nf++;
	}
	echo "
		| $rw | $db[sname] | $db[abb_sch] | $txt | 
";
	$rw++;
}
echo "
	| รวม | $nf | 
	
	กลับ";
?>