403Webshell
Server IP : 27.254.66.5  /  Your IP : 216.73.217.39
Web Server : Apache/2
System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User : technic2 ( 1951)
PHP Version : 7.4.30
Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/technic2/domains/technicrayong.ac.th/public_html/old-website/jivec58/prachinburi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/technic2/domains/technicrayong.ac.th/public_html/old-website/jivec58/prachinburi//addosj.php
<?php 
Ob_start();
session_start();
//$_SESSION["vec"] = "aaa";
if ($_SESSION["vec"] == "no" or $_SESSION["vec"] == "" or $_SESSION["vec_type"] <> 1)
{
	header("Location:index.php");
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ระบบรับสมัครลิ่งประดิษฐ์คนรุ่นใหม่ระดับภาค</title>
<style type="text/css">
.FontTahoma {
  font-family: Tahoma, Geneva, sans-serif;
}
</style>

<?php 
//$con = mysql_connect("localhost", "root", "prakit992508*") or die ("เชื่อต่อฐานข้อมูลไม่ได้");
//mysql_select_db("jivec", $con) or die ("ติดต่อก้อนฐานข้อมูลไม่ได้");
//mysql_query("set names utf8");
//require_once("config.php");
//$sql = "select max(invention_id) as count_id from jivec where vocational_name = '" . $_SESSION["vec"] . "'";
//$result = mysql_query($sql) or die ("คำสั่ง sql ผิด");
//  	while ($row = mysql_fetch_array($result))
//	{
//		$count_id = $_SESSION["vec_id"] . str_pad(($row["count_id"] + 1), 5, "0", STR_PAD_LEFT);
//		echo $count_id;
//	}
?>

<script language="javascript">
function fncSubmit()
{
	if(document.form1.invention_name.value == "")
		{
			alert('กรุณาป้อนชื้อผลงาน');
			document.form1.invention_name.focus();
			return false;
		}  
	if(document.form1.college_name.value == "")
		{
			alert('กรุณาป้อนชื้อวิทยาลัย');
			document.form1.college_name.focus();
			return false;
		}  
	if(document.form1.vocational_name.value == "")
		{
			alert('กรุณาป้อนชื้ออาชีวศึกษาจังหวัด');
			document.form1.vocational_name.focus();
			return false;
		}  
	if(document.form1.invention_type1.checked == false && document.form1.invention_type2.checked == false && document.form1.invention_type3.checked == false && document.form1.invention_type4.checked == false && document.form1.invention_type5.checked == false && document.form1.invention_type6.checked == false && document.form1.invention_type7.checked == false)
		{
			alert('กรุณาป้อนประเภทของผลงานที่ส่งเข้าประกวด');
			document.form1.invention_type1.focus();
			return false;
		}  
	if(document.form1.creator_name1.value == "")
		{
			alert('กรุณาป้อนข้อมูลผู้ประดิษฐ์');
			document.form1.creator_name1.focus();
			return false;
		}  
	if(document.form1.creator_level1.value == "")
		{
			alert('กรุณาป้อนระดับการศึกษาของผู้ประดิษฐ์');
			document.form1.creator_level1.focus();
			return false;
		}  
	if(document.form1.creator_department1.value == "")
		{
			alert('กรุณาป้อนสาขาวิชาของผู้ประดิษฐ์');
			document.form1.creator_department1.focus();
			return false;
		}  
	if(document.form1.advisor_name1.value == "")
		{
			alert('กรุณาป้อนชื่อครูที่ปรึกษา');
			document.form1.advisor_name1.focus();
			return false;
		}  
	if(document.form1.advisor_position1.value == "")
		{
			alert('กรุณาป้อนตำแหน่งของครูที่ปรึกษา');
			document.form1.advisor_position1.focus();
			return false;
		}  
	if(document.form1.advisor_department1.value == "")
		{
			alert('กรุณาป้อนสาขาวิชาของครูที่ปรึกษา');
			document.form1.advisor_department1.focus();
			return false;
		}  
	if(document.form1.advisor_phone1.value == "")
		{
			alert('กรุณาป้อนเบอร์โทรศัพท์ของครูที่ปรึกษา');
			document.form1.advisor_phone1.focus();
			return false;
		}  
	if(document.form1.invention_wide.value == "")
		{
			alert('กรุณาป้อนความกว้างของสิ่งประดิษฐ์');
			document.form1.invention_wide.focus();
			return false;
		}  
	if(document.form1.invention_long.value == "")
		{
			alert('กรุณาป้อนความยาวของสิ่งประดิษฐ์');
			document.form1.invention_long.focus();
			return false;
		}  
	if(document.form1.invention_high.value == "")
		{
			alert('กรุณาป้อนความสูงของสิ่งประดิษฐ์');
			document.form1.invention_high.focus();
			return false;
		}  
	if(document.form1.male_student_amount.value == "")
		{
			alert('กรุณาป้อนจำนวนนักศึกษาชาย');
			document.form1.male_student_amount.focus();
			return false;
		}  
	if(document.form1.female_student_amount.value == "")
		{
			alert('กรุณาป้อนจำนวนนักศึกษาหญิง');
			document.form1.female_student_amount.focus();
			return false;
		}  
	if(document.form1.male_advisor_amount.value == "")
		{
			alert('กรุณาป้อนจำนวนครูที่ปรึกษาชาย');
			document.form1.male_advisor_amount.focus();
			return false;
		}  
	if(document.form1.female_advisor_amount.value == "")
		{
			alert('กรุณาป้อนจำนวนครูที่ปรึกษาหญิง');
			document.form1.female_advisor_amount.focus();
			return false;
		}  
	if(document.form1.total_person_amount.value == "")
		{
			alert('กรุณาป้อนรวมจำนวนผู้เข้าร่วม');
			document.form1.total_person_amount.focus();
			return false;
		}  
	if(document.form1.college_phone.value == "")
		{
			alert('กรุณาป้อนเบอร์โทรศัพท์สถานศึกษา');
			document.form1.college_phone.focus();
			return false;
		}  
	if(document.form1.advisor_phone6.value == "")
		{
			alert('กรุณาป้อนเบอร์โทรศัพท์ครูที่ปรึกษา');
			document.form1.advisor_phone6.focus();
			return false;
		}  
		
	document.form1.submit();
}
 </script>


</head>

<body bgcolor="#FFCC66">
<form name="form1" method="post" action="saveosj.php" onSubmit="JavaScript:return fncSubmit();" enctype="multipart/form-data">
<table border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
  <td colspan="2">
  <div align="center">
    <br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="vec_logo.png" width="170" height="169"></td>
        <td align="center"><p><span class="FontTahoma">
        <?php
			require_once("header.php");
		?>
        </span><br>
  </p></td>
        <td><img src="inventor_logo.png" width="170" height="169"></td>
      </tr>
    </table>
    
  </div>
<br>
  </td>
</tr>
<tr>
  <td colspan="2" align="center">&nbsp;</td>
  </tr>
<tr>
  <td><span class="FontTahoma">รหัส</span></td>
  <td><span class="FontTahoma">
    <input name="OSJID" type="text" id="OSJID" size="40">
    </span></td>
</tr>
<tr>
  <td><span class="FontTahoma">ชื่ออาชีวศึกษา</span></td>
  <td><span class="FontTahoma">
    <input name="OSJName" type="text" id="OSJName" size="40">
  </span></td>
</tr>
<tr>
  <td><span class="FontTahoma">ชื่อผู้ใช้งาน</span></td>
  <td><span class="FontTahoma">
    <input name="OSJUser" type="text" id="OSJUser" size="40">
  </span></td>
</tr>
<tr>
  <td><span class="FontTahoma">รหัสผ่าน</span></td>
  <td><span class="FontTahoma">
    <input name="OSJPass" type="text" id="OSJPass" size="40">
  </span></td>
</tr>
<tr>
  <td><span class="FontTahoma">ประเภท</span></td>
  <td><span class="FontTahoma">
    <input name="Type" type="text" id="Type" size="40">
    <br>
    ผู้ป้อนข้อมูลใส่เลข 0<br>
    ผู้ดูแลระบบ ใสเลข 1</span></td>
</tr>
<tr>
  <td colspan="2"> 
    <br>
    </td>
</tr>
<tr>
  <td colspan="2" align="center">
  <!--input type="hidden" name="count_id" id="button" value="<?php echo $count_id; ?> " -->
  <input type="submit" name="button" id="button" value="Submit">
    <input type="reset" name="button2" id="button2" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit