include("header.php");
require_once('db_config.php');
$sql0="SELECT * FROM $_sch where scode='$scid' ";
$result0=mysqli_query($con,$sql0);
$db0=mysqli_fetch_array($result0);
$scn="$db0[sname] $db0[abb_sch]";
$scgrp=$db0[scgrp];
$lev=$db0[level];
//if ($lev=='p') {
// $sql="SELECT * FROM $_act where eef_sc=1 order by kp_code";
//} else {
$sql="SELECT * FROM $_act order by kp_grp,kp_sex,kp_id";
//}
$result=mysqli_query($con,$sql);
echo "