"; include('header.php'); echo "
รายละเอียดการเข้าบทเรียน นักเรียน ป.$rm รร.อนุบาลศรีสะเกษ ปีการศึกษา $_year
"; while ($db=mysql_fetch_array($result)) { $sql1="select * from $_act where act_type in (5,7) and act_std='$db[std_id]' group by act_target order by act_target"; $result1=mysql_query($sql1); $rw=0; $act=''; while ($db1=mysql_fetch_array($result1)) { $tg=substr($db1[act_target],2,2); if ($db1[act_eval]==3) { $tg="$tg"; } else { $tg="$tg"; } if ($tg=='12') { $act.="$tg"; } else { $act.="$tg,"; } $rw++; } if ($rw==0) { $cl='red'; $less=''; $rw='-'; } else { $cl=''; $less='บทที่'; } echo ""; } echo "
เลขที่ ชื่อ - สกุล ส่งผลงาน << คลิกดูผลงาน >> สีแดง = ยังไม่ผ่าน พลังรวม
$db[std_no] $db[std_pre]$db[std_name1] $db[std_name2] $rw $less $act $db[std_power]
"; include('footer.php'); ?>