%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.154.253.140  /  Your IP : 216.73.216.49 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /BK/wwwroot/mis/teacher/subject_score/  | 
Upload File :  | 
<?PHP 
	include("conf.php");
	$sql="update TBStudentActivity set ActEval = '".iconv('utf-8','tis-620',$_GET['ActEval'])."' where   IDStudent='".$_GET['IDStudent']."' and ActivityCode='".iconv('utf-8','tis-620',$_GET['ActivityCode'])."'  and  AYear='".$_SESSION["AYear"]."' and Term='".$_SESSION["Term"]."'";	
 
	$stmt = sqlsrv_query( $conn, $sql );
	//echo $sql."<BR>";
	//exit();
	if( $stmt === false ) {
     	die( print_r( sqlsrv_errors(), true));
	} else {
		//echo $_GET["Last"];
		if($_GET["Last"]=="1")
			echo "<font color='#009966'>บันทึกเกรด เสร็จสมบูรณ์</font>";	
		else
			echo "<font color='#009966'>กำลังบันทึกเกรด  รหัสนักเรียน : ".$_GET['IDStudent']." เสร็จสมบูรณ์</font>";	
	}
	echo "<BR><BR>";
	//echo $_GET['Max'];
	$percent = ($_GET['Run']+1)*100/$_GET['Max'];
	
?>
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="<?PHP echo $percent; ?>"
  aria-valuemin="0" aria-valuemax="100" style="width:<?PHP echo $percent; ?>%">
    <?PHP echo number_format($percent,2); ?>%
  </div>
</div>