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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/technic2/domains/technicrayong.ac.th/public_html/old-website/jivec58/mahanakhon/index1.php
<?php 
session_start();
$_SESSION["vec"] = "no";
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>สิ่งประดิษฐ์ของคนรุ่นใหม่</title>
<style type="text/css">
.FontTahoma {font-family: Tahoma, Geneva, sans-serif;
}
</style>

<script language="javascript">
function fncSubmit()
{ 
	if(document.form1.selectvec.value == "")
		{
			alert('กรุณาเลือกชื่อ อศจ.');
			document.form1.selectvec.focus();
			return false;
		}  
	if(document.form1.passvec.value == "")
		{
			alert('กรุณาป้อนรหัสผ่าน');
			document.form1.passvec.focus();
			return false;
		}  
		
	document.form1.submit();
}
 </script>
</head>

<body bgcolor="#FFCC66">
<form name="form1" id="form1" method="post" action="checklogin.php" onSubmit="JavaScript:return fncSubmit();">
  <table border="0" align="center" cellpadding="0" cellspacing="0" width="1000">
  <tr class="FontTahoma">
    <td><br><table border="0" align="center" cellpadding="0" cellspacing="0" width="1000">
      <tr>
        <td align="center" ><img src="/jivec56/vec_logo.png" width="170" height="169"></td>
        <td><div align="center"> 
          <br>
           <h2>ระบบบันทึก</h2><br>
<?php 
require_once("header.php");
?>          
        </div></td>
        <td align="center"><img src="/jivec56/inventor_logo.png" width="170" height="169"></td>
      </tr>
<?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 * from osj";
$result = mysql_query($sql) or die ("คำสั่ง sql ผิด"); 
?>
      <tr>
        <td>&nbsp;</td>
        <td>          <p>&nbsp;</p>
          <table border="1" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td>กรุณาเลือกชื่อ อศจ. </td>
              <td><select name="selectvec" id="selectvec">
                <option value="">==================</option>
<?php 
  	while ($row = mysql_fetch_array($result))
	{
?>
         <option value="<?php echo $row["OSJID"]; ?>"><?php echo $row["OSJName"]; ?></option>
<?php
	}
?>
              </select></td>
            </tr>
            <tr>
              <td>กรุณาป้อนรหัสผ่าน</td>
              <td><input name="passvec" type="password" id="passvec" size="8" maxlength="8"></td>
            </tr>
            <tr>
              <td colspan="2" align="center"><input type="submit" name="button" id="button" value="Submit">
                <input type="reset" name="button2" id="button2" value="Reset"></td>
            </tr>
          </table>
          <p>&nbsp;</p></td>
        <td>&nbsp;</td>
        </tr>
      </table>
  </table>
</form>
<br>
<div align = "center">
<h4>ระบบจะปิดให้ทำการป้อนข้อมูลในวันที่  25 พ.ย. 56 เวลา 12.00 น.</h4>
<h4>แก้ไขปัญหารูปไม่แสดงผลแล้ว สำหรับสิ่งประดิษฐ์ที่รูปไม่แสดงผลให้เลือกแก้ไข จากนั้นแนบรูปใหม่อีกครั้ง</h4>
<br>
</div>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
  <tr class="FontTahoma">
    <td colspan="2" align="center"><p><br>
        <strong>สรุปยอดการสมัครส่งผลงานเข้าประกวด</strong></p>
      <table width="700" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <th bgcolor="#FF9966">ประเภท</th>
          <th bgcolor="#FF9966">ระดับ ปวช.</th>
          <th bgcolor="#FF9966">ระดับ ปวส.</th>
          <th bgcolor="#FF9966">รวม</th>
        </tr>
        <?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");
$sql1 = "select invention_type, sum(invention_level like 'ปวช.' ) as L1, sum(invention_level like 'ปวส.' ) as L2, sum(invention_level like 'ปวช.' or invention_level like 'ปวส.' ) as L3 from jivec group by invention_type";
$result1 = mysql_query($sql1) or die ("คำสั่ง sql ผิด"); 
?>
        <?php
	 		$TL1 = 0;
			$TL2 = 0;
			$TL3 = 0;
			$x = 0;
         while ($row1 = mysql_fetch_array($result1))
		{
			$TL1 += $row1["L1"];
			$TL2 += $row1["L2"];
			$TL3 += $row1["L3"];
			$x++; 
			$class = ($x%2 == 0)? '#FFCC99': '#FFFF99';
			
	?>
        <tr bgcolor="<?php echo $class; ?>">
          <td><?php echo $row1["invention_type"]; ?></td>
          <td align="center"><?php echo $row1["L1"]; ?></td>
          <td align="center"><?php echo $row1["L2"]; ?></td>
          <td align="center"><?php echo $row1["L3"]; ?></td>
        </tr>
        <?php
		}
	?>
        <tr>
          <td align="center" bgcolor="#FF9966"><strong>รวม</strong></td>
          <td align="center" bgcolor="#FF9966"><?php echo $TL1; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $TL2; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $TL3; ?></td>
        </tr>
      </table>      <br>
      <p><strong>สรุปภาพรวมรายวิทยาลัย</strong></p>
      <table width="900" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <th bgcolor="#FF9966">ลำดับที่</th>
          <th bgcolor="#FF9966">ชื่อวิทยาลัย</th>
          <th bgcolor="#FF9966">ประเภทที่ 1</th>
          <th bgcolor="#FF9966">ประเภทที่ 2</th>
          <th bgcolor="#FF9966">ประเภทที่ 3</th>
          <th bgcolor="#FF9966">ประเภทที่ 4</th>
          <th bgcolor="#FF9966">ประเภทที่ 5</th>
          <th bgcolor="#FF9966">ประเภทที่ 6</th>
          <th bgcolor="#FF9966">ประเภทที่ 7</th>
          <th bgcolor="#FF9966">รวม</th>
        </tr>
        <?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");
$sql2 = "select college_name, sum(invention_type like 'ประเภทที่ 1 สิ่งประดิษฐ์เพื่อพัฒนาคุณภาพชีวิต') as p1, sum(invention_type like 'ประเภทที่ 2 สิ่งประดิษฐ์เพื่อการประกอบอาชีพ') as p2, sum(invention_type like 'ประเภทที่ 3 สิ่งประดิษฐ์ประเภทผลิตภัณฑ์สำเร็จรูป') as p3, sum(invention_type like 'ประเภทที่ 4 สิ่งประดิษฐ์ด้านพลังงานและสิ่งแวดล้อม') as p4, sum(invention_type like 'ประเภทที่ 5 สิ่งประดิษฐ์ประเภทภูมิปัญญาสร้างสรรค์เศรษฐกิจ') as p5, sum(invention_type like 'ประเภทที่ 6 สิ่งประดิษฐ์เพื่อพัฒนาต่อยอดนวัตกรรมและเทคโนโลยี') as p6, sum(invention_type like 'ประเภทที่ 7 สิ่งประดิษฐ์เพื่อป้องกันและบรรเทาอุทกภัย') as p7 from jivec group by college_name";
$result2 = mysql_query($sql2) or die ("คำสั่ง sql ผิด"); 
?>
        <?php
	 		$Tp1 = 0;
			$Tp2 = 0;
			$Tp3 = 0;
			$Tp4 = 0;
			$Tp5 = 0;
			$Tp6 = 0;
			$Tp7 = 0;
			
			$count = 0;
			$x = 0;
         while ($row2 = mysql_fetch_array($result2))
		{
			$Tp1 += $row2["p1"];
			$Tp2 += $row2["p2"];
			$Tp3 += $row2["p3"];
			$Tp4 += $row2["p4"];
			$Tp5 += $row2["p5"];
			$Tp6 += $row2["p6"];
			$Tp7 += $row2["p7"];
			$count += 1;
			$x++; 
			$class = ($x%2 == 0)? '#FFCC99': '#FFFF99';
			
	?>
        <tr bgcolor="<?php echo $class; ?>">
          <td align="center"><?php echo $count; ?></td>	
          <td><?php echo $row2["college_name"]; ?></td>
          <td align="center"><?php echo $row2["p1"]; ?></td>
          <td align="center"><?php echo $row2["p2"]; ?></td>
          <td align="center"><?php echo $row2["p3"]; ?></td>
          <td align="center"><?php echo $row2["p4"]; ?></td>
          <td align="center"><?php echo $row2["p5"]; ?></td>
          <td align="center"><?php echo $row2["p6"]; ?></td>
          <td align="center"><?php echo $row2["p7"]; ?></td>
          <td align="center"><?php echo ($row2["p1"] + $row2["p2"] + $row2["p3"] + $row2["p4"] + $row2["p5"] + $row2["p6"] + $row2["p7"]); ?></td>
        </tr>
        <?php
		}
	?>
        <tr>
          <td colspan="2" align="center" bgcolor="#FF9966"><strong>รวม</strong></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp1; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp2; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp3; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp4; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp5; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp6; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo $Tp7; ?></td>
          <td align="center" bgcolor="#FF9966"><?php echo ($Tp1 + $Tp2 + $Tp3 + $Tp4 + $Tp5 + $Tp6 + $Tp7); ?></td>
        </tr>
    </table><br></td>
  </tr>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit