403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.129.194.130
Web Server : Apache
System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www ( 1001)
PHP Version : 5.5.38
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.ivecr2.ac.th/system_admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/system_admin//projectTec_show.php
<?php 
session_start();
if($_SESSION['r_statuslogin'] != 1){
 echo '<script language="javascript">alert("สำหรับผู้ดูแลระบบเท่านั้น")</script>';
 echo'<meta http-equiv="refresh" content="0;url=../index.php">';
 exit();
}

		$wrokID=$_SESSION['r_workId'];

?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />

<table width="700" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td colspan="3" align="center" valign="top"><b>.:: ผลงาน ครู-อาจารย์ ::.</b></td>
    <td align="center" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="right" valign="middle">&nbsp;</td>
    <td colspan="3" align="right" valign="middle"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" align="right" valign="middle"><a href="?i=projecTec"><img src="../images/add.png" width="30" height="30" border="0" /></a></td>
        <td width="150" align="left" valign="middle"><a href="?i=projecTec">เพิ่มข้อมูล</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#000000"><font color="#CCCCCC">ชื่อผลงาน</font></td>
    <td width="180" align="center" bgcolor="#000000"><font color="#CCCCCC">เขียนเมื่อ</font></td>
    <td width="50" align="center" bgcolor="#000000"><font color="#CCCCCC">จัดการ</font></td>
  </tr>
    <?php 

		  			include('connect/connect.php');
					//include('connect/function.php');
					
					if($wrokID == 1|| $wrokID == 5){
						$sql="select * from tblproject_techer where status_user='1' order by p_ID desc";
					}else{
						$sql="select * from tblproject_techer where status_user='1' and dp_ID='$wrokID' order by p_ID desc";
					}
					$result=mysqli_query($connect1,$sql);
					$num=mysqli_num_rows($result);
						
							$count_rows1 = 0; // นับจำนวนแถว
					while($rs=mysqli_fetch_assoc($result)){
						$adID=$rs['wrok_ID'];
						
						$sqlwork="select * from tbladmin where adID='$adID' ";
						$resqlwork=mysqli_query($connect1,$sqlwork);
						$rswork=mysqli_fetch_assoc($resqlwork);
							$workname=$rswork['adFname']."  ".$rswork['adLname'];	
							$worknamedpt=$rswork['addepartment'];	
						
						//$number = web_count_check("count_projectTecher/".$rs['id'].".txt");
					
						//------------------การสลับสีของแถว--------------------------------------
					if($bg == "#F5F5F5") { //ส่วนของการ สลับสี 
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
		  ?>
  <tr  background="<?=$bg;?>">
    <td width="20" align="center"><img src="images/webboard.gif" width="14" height="12" /></td>
    <td width="450" align="left" valign="top">&nbsp;<a href="?i=projectTec_showdetail&&pstd_id=<?php echo $rs['p_ID'];?>"><?php echo $rs['p_fname']." ".$rs['p_lname'];?>&nbsp; </a><font color="#0099FF" size="-2"><i>เขียนโดย : <?php echo $workname." (".$worknamedpt." )";?></i></font></td>
    <td width="180" align="left" valign="top"><?php echo displaydate($rs['p_Date']);?></td>
    <td width="50" align="center" valign="top"><a href="index.php?i=delete_projectTec&amp;proTid=<?php echo $rs['p_ID'];?>"><img src="images/33333.jpg" width="18" height="16" border="0" /></a></td>
  </tr>
  <?php
					}//end while
  ?>
</table>
<p>
<hr width="700px" />
<table width="700" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td colspan="3" align="center" valign="top"><b>.:: ผลงาน นักเรียน-นักศึกษา (โครงการต่างๆ)::.</b></td>
    <td align="center" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="right" valign="middle">&nbsp;</td>
    <td colspan="3" align="right" valign="middle"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" align="right" valign="middle"><a href="?i=projecTec"><img src="../images/add.png" width="30" height="30" border="0" /></a></td>
        <td width="150" align="left" valign="middle"><a href="?i=projecTec">เพิ่มข้อมูล</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#000000"><font color="#CCCCCC">ชื่อผลงาน</font></td>
    <td width="180" align="center" bgcolor="#000000"><font color="#CCCCCC">เขียนเมื่อ</font></td>
    <td width="50" align="center" bgcolor="#000000"><font color="#CCCCCC">จัดการ</font></td>
  </tr>
  <?php 
					
					if($wrokID == 1 || $wrokID == 5){
						$sqlstd="select * from tblproject_techer where status_user='2' order by p_ID desc";
					}else{
						$sqlstd="select * from tblproject_techer where status_user='2' and dp_ID='$wrokID' order by p_ID desc";
					}
					$resultstd=mysqli_query($connect1,$sqlstd);
					$numstd=mysqli_num_rows($resultstd);
						
							$count_rowsstd1 = 0; // นับจำนวนแถว
					while($rsstd=mysqli_fetch_assoc($resultstd)){
						$adIDstd=$rsstd['wrok_ID'];
						
						$sqlworkstd="select * from tbladmin where adID='$adIDstd' ";
						$resqlworkstd=mysqli_query($connect1,$sqlworkstd);
						$rsworkstd=mysqli_fetch_assoc($resqlworkstd);
							$worknamestd=$rsworkstd['adFname']."  ".$rsworkstd['adLname'];	
							$worknamestddpt=$rsworkstd['addepartment'];	
						
						//$number = web_count_check("count_projectTecher/".$rs['id'].".txt");
					
						//------------------การสลับสีของแถว--------------------------------------
					if($bg == "#F5F5F5") { //ส่วนของการ สลับสี 
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
		  ?>
  <tr  background="<?=$bg;?>">
    <td width="20" align="center"><img src="images/webboard.gif" width="14" height="12" /></td>
    <td width="450" align="left" valign="top">&nbsp;<a href="?i=projectTec_showdetail&amp;&amp;pstd_id=<?php echo $rsstd['p_ID'];?>"><?php echo $rsstd['p_fname']." ".$rsstd['p_lname'];?>&nbsp; </a><font color="#0099FF" size="-2"><i>เขียนโดย : <?php echo $worknamestd." (".$worknamestddpt.")";?></i></font></td>
    <td width="180" align="left" valign="top"><?php echo displaydate($rsstd['p_Date']);?></td>
    <td width="50" align="center" valign="top"><a href="index.php?i=delete_projectTec&amp;proTid=<?php echo $rsstd['p_ID'];?>"><img src="images/33333.jpg" width="18" height="16" border="0" /></a></td>
  </tr>
  <?php
					}//end while
  ?>
</table>
<p>
<hr width="700px" />
<table width="700" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td colspan="3" align="center" valign="top"><b>.:: ผลงาน นักเรียน-นักศึกษา (เฉพาะโครงงานวิทยาศาสตร์)::.</b></td>
    <td align="center" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="right" valign="middle">&nbsp;</td>
    <td colspan="3" align="right" valign="middle"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" align="right" valign="middle"><a href="?i=projecTec"><img src="../images/add.png" width="30" height="30" border="0" /></a></td>
        <td width="150" align="left" valign="middle"><a href="?i=projecTec">เพิ่มข้อมูล</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#000000"><font color="#CCCCCC">ชื่อผลงาน</font></td>
    <td width="180" align="center" bgcolor="#000000"><font color="#CCCCCC">เขียนเมื่อ</font></td>
    <td width="50" align="center" bgcolor="#000000"><font color="#CCCCCC">จัดการ</font></td>
  </tr>
  <?php 
					
					if($wrokID == 1 || $wrokID == 5){
						$sqlwit="select * from tblproject_techer where status_user='3' order by p_ID desc";
					}else{
						$sqlwit="select * from tblproject_techer where status_user='3' and dp_ID='$wrokID' order by p_ID desc";
					}
					$resultstdwit=mysqli_query($connect1,$sqlwit);
					$numstdwit=mysqli_num_rows($resultstdwit);
						
							$count_rowsstd1wit = 0; // นับจำนวนแถว
					while($rsstdwit=mysqli_fetch_assoc($resultstdwit)){
						$adIDstdwit=$rsstdwit['wrok_ID'];
						
						$sqlworkstdwit="select * from tbladmin where adID='$adIDstdwit' ";
						$resqlworkstdwit=mysqli_query($connect1,$sqlworkstdwit);
						$rsworkstdwit=mysqli_fetch_assoc($resqlworkstdwit);
							$worknamestdwit=$rsworkstdwit['adFname']."  ".$rsworkstdwit['adLname'];	
							$worknamestdwitdpt=$rsworkstdwit['addepartment'];	
						
						//$number = web_count_check("count_projectTecher/".$rs['id'].".txt");
					
						//------------------การสลับสีของแถว--------------------------------------
					if($bg == "#F5F5F5") { //ส่วนของการ สลับสี 
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
		  ?>
  <tr  background="<?=$bg;?>">
    <td width="20" align="center"><img src="images/webboard.gif" width="14" height="12" /></td>
    <td width="450" align="left" valign="top">&nbsp;<a href="?i=projectTec_showdetail&amp;&amp;pstd_id=<?php echo $rsstdwit['p_ID'];?>"><?php echo $rsstdwit['p_fname']." ".$rsstdwit['p_lname'];?>&nbsp; </a><font color="#0099FF" size="-2"><i>เขียนโดย : <?php echo $worknamestdwit." (".$worknamestdwitdpt.")";?></i></font></td>
    <td width="180" align="left" valign="top"><?php echo displaydate($rsstdwit['p_Date']);?></td>
    <td width="50" align="center" valign="top"><a href="index.php?i=delete_projectTec&amp;proTid=<?php echo $rsstdwit['p_ID'];?>"><img src="images/33333.jpg" width="18" height="16" border="0" /></a></td>
  </tr>
  <?php
					}//end while
  ?>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit