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/sent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gpa/sent/edit1.php
<?
require_once "../config/confiteacher.inc.php";
$ttt=$objResult["teachcode"];
?>

<?

require_once "../config/connectdb.php";
require_once "../head.php";


?>

<html>
<head>
<title>ระบบงานวิชาการ</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body>

<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td bgcolor="#003399">
<div align="center"><font color="#FFFFFF" size="+1"><strong>โครงการ<font color="#FFFF00">ระบบงานวิชาการ</font></strong></font></div></td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
        <tr> 
          <td><div align="right"><font color="#ff0000" size="2"><font color="#333333">ยินดีต้อนรับ 
              :</font> <font color="#ff0000"> <?=$objResult["teachcode"];?> <?=$objResult["name"];?> <?=$objResult["lastname"];?>
              <font color="#666666">เข้าสู่ระบบค่ะ </font></font></font></div></td>
        </tr>
        <tr> 
          <td><div align="right"><font color="#666666" size="2"><a href="../main.php">หน้าหลักระบบ</a> 
              | <a href="logout.php">ออกจากระบบ</a></font></div></td>
        </tr>
        <tr> 
          <td><div align="center">
              </td>
			   </tr>
              </table>
              <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                <tr> 
                  <td>&nbsp;***เมื่อบันทึกแล้วตรวจสอบสถานะว่าแสดงหรือไม่</td>
                </tr>
                <tr>
                  <td><div align="center"> 
                      
                      <font size="+1"><strong><font color="#003366" size="2">
                      <?php
						  $sql_1="select * from  sentreport where sen_id = '$_GET[id]'";
						  $db_query=mysql_db_query($db,$sql_1);
						  $result1=mysql_fetch_array($db_query);
						  $idmember  =$result1['sen_id'];
						  $registeach  =$result1['sen_code'];
						   $codeteach  =$result1['sen_code'];
							$room  =$result1['room'];
							$sen_report  =$result1['sen_report'];
							$sen_chanal  =$result1['sen_chanal'];
							$sen_work  =$result1['sen_work'];
							$sen_cllass  =$result1['sen_cllass'];
							$sen_total  =$result1['sen_total'];
							$sen_in  =$result1['sen_in'];
							$sen_non  =$result1['sen_non'];
							$sen_probem  =$result1['sen_probem'];



							


						?>

<?

	$crsql="SELECT count(idstin) FROM `transcriptintall`
	WHERE codin='$codeteach' and teachin='$ttt'" ;
	$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
	$dcrd = mysql_fetch_array($slr);
    $numinstall=$dcrd[0];



	$crsql="SELECT count(IDstudent) FROM `transcripts`
	WHERE code='$codeteach' and teach='$ttt'" ;
	$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
	$dcrd = mysql_fetch_array($slr);
    $numtrans=$dcrd[0];

	$numall=$numinstall+$numtrans;


?>



						
                      </font></strong></font> </div>
                    <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                      <form method="post" action="editsave1.php"  name="webForm" onSubmit="return checkpost()">
                        <tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="3">รหัสวิชา 
                              :</font></div></td>
                          <td width="300"><font size="3"> 
                            <input name=codeteach id=codeteach type=text class="input" size=6 maxlength ="6" value='<? echo $codeteach; ?>'>
                            <input type="hidden" name="idmember" value=<? echo "$idmember"; ?>>
                            </font></td>
                             </font></div></td>
						</tr>
						<tr> 
                          <td><div align="right"><font color="#FF0000" size="3">ลักษณะการจัดการเรียนการสอน                             </font></div></td>
                          <td><font size="3" >
                          <textarea style="width:300;height:200;" name='sen_report'><? echo "$sen_report"; ?></textarea>
                            </font></td>
                        </tr>

						<tr> 
                          <td><div align="right"><font color="#FF0000" size="3">ช่่องทางในการจัดการเรียนการสอน                              </font></div></td>
                          <td><font size="3" >
                          <textarea style="width:300;height:200;" name='sen_chanal'><? echo "$sen_chanal"; ?></textarea>
                            </font></td>
                        </tr>


						<tr> 
                          <td><div align="right"><font color="#FF0000" size="3">ชิ้นงานภาระงาน                              </font></div></td>
                          <td><font size="3" >
                          <textarea style="width:300;height:200;" name='sen_work'><? echo "$sen_work"; ?></textarea>
                            </font></td>
                        </tr>

						<tr> 
                          <td><div align="right"><font color="#FF0000" size="3">ระดับชั้น (Ex. ม1/1-1/12)
                              </font></div></td>
                          <td><font size="3">
                            <input name=sen_cllass id=sen_cllass type=text class="input" size=10 maxlength ="10" value='<? echo $sen_cllass; ?>'>
                            </font></td>
                        </tr>
						
						<tr> 
                          
						  <td><div align="right"><font color="#FF0000" size="3">จำนวนนักเรียนทั้งหมด
                              </font></div></td>
                          <td><font size="3">
                            <input name=sen_total id=sen_total type=text class="input" size=10 maxlength ="20" value='<? echo $sen_total; ?>'>&nbsp; ลงทะเบียนแล้ว<? echo $numall; ?> &nbsp;คน
                            </font></td>
                        </tr>


						<tr> 
                          
						  <td><div align="right"><font color="#FF0000" size="3">เข้าเรียน
                              </font></div></td>
                          <td><font size="3">
                            <input name=sen_in id=sen_in type=text class="input" size=10 maxlength ="10" value='<? echo $sen_in; ?>'>
                            </font> </td>
                        </tr>
						<tr> 
                          
						  <td><div align="right"><font color="#FF0000" size="3">ไม่เข้าเรียน
                              </font></div></td>
                          <td><font size="3">
                            <input name=sen_non id=sen_non type=text class="input" size=10 maxlength ="10" value='<? echo $sen_non; ?>'>
                            </font> </td>
                        </tr>
				
                      
					<tr> 
                          <td><div align="right"><font color="#FF0000" size="3">ข้อเสนอแสนะ                            </font></div></td>
                          <td><font size="3" >
                          <textarea style="width:300;height:200;" name='sen_probem'><? echo "$sen_probem"; ?></textarea>
                            </font></td>
                        </tr>



                        <tr> 
                          <td>&nbsp;</td>
                          <td><font size="3">
                            <input name="submit" type="submit" class="submit" value="บันทึก!">
                            </font></td>
                        </tr>
                      </form>
                    </table></td>
                </tr>
              </table>
            </div></td>
        </tr>
        <tr>
          <td></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><div align="center"><? echo "<font size=2 color=#ffffff>$footerweb</font>"; ?></div></td>
  </tr>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit