header('Content-Type: text/html; charset=tis-620');
//include("../header.php");
echo "";
include('db_config.php');
$sql0="select scode,sname,sgrp from $_sch where scode='$scid'" ;
$result0=mysql_query($sql0);
$db0=mysql_fetch_array($result0);
$scname=$db0[sname];
$sgrp=$db0[sgrp];
$sql="select * from $_act,$_sch,$_data
where kd_code=kp_id and kd_sch=scode and kd_sch='$scid' and kd_remark='1'
order by kd_code";
$result=mysql_query($sql);
echo "สรุปกิจกรรมที่เป็นตัวแทน $_title รร.$scname CEO $sgrp