403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.15.237.35
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/regulations_showupdate.php
<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: 200px;" >กฎระเบียบและข้อบังคับของสถาบันฯ</div></td>
        <td align="right" valign="top"><div class="fgray" style="line-height: 20px;"><a href="?i=regulations_show"  class="link-orange">กฎระเบียบและข้อบังคับของสถาบันฯ (ข้อมูลก่อนปรับปรุง)</a></div></td>
      </tr>
    </table>
<div class="line-bottom-red display-inline-block" style="width: 700px;" ></div>
    <div class="link-default-org" style="margin-bottom: 5px; padding:5px">

<br />

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td width="20" height="28" align="center" valign="middle" bgcolor="#EBEBEB">&nbsp;</td>
    <td colspan="2" align="center" valign="middle" bgcolor="#EBEBEB"><strong>ระเบียบของสถาบันฯ</strong></td>
    </tr>
 <?php

					
					$sql="select * from  tbl_regulations where statusreg = '1' order by df_ID desc";
					$result=mysqli_query($connect1,$sql);
					$num_dp=mysqli_num_rows($result);
					while($rs=mysqli_fetch_assoc($result)){
						
					$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.")";
					if($bg == "#F5F5F5") {
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
					
		  ?>  
		  
<?php if($rs['status'] == 0){ ?>
  <tr bgcolor="<?php echo $bg?>"  >
    <td width="20" align="center" valign="top" bgcolor="<?php echo $bg?>"><img src="images/icon07.png" width="20" height="12" /></td>
    <td width="530" align="left" valign="middle" bgcolor="<?php echo $bg?>">&nbsp;&nbsp; 
    <a href="system_admin/file_regulations/<?php echo $rs['df_file'];?>" target="_blank" class="link-default-org"><?php echo $rs['df_title'];?></a></td>
    </tr>
	<?php } ?>
  <?php
				}
				
		  ?>
</table>
<p>&nbsp;</p>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td width="20" height="28" align="center" valign="middle" bgcolor="#EBEBEB">&nbsp;</td>
    <td colspan="2" align="center" valign="middle" bgcolor="#EBEBEB"><strong>ข้อบังคับของสถาบันฯ</strong></td>
    </tr>
  <?php
					$sql1="select * from  tbl_regulations where statusreg = '2' order by df_ID desc";
					$result1=mysqli_query($connect1,$sql1);
					$num_dp1=mysqli_num_rows($result1);
					while($rs1=mysqli_fetch_assoc($result1)){
						
					$dp_ID1=$rs1['dp_ID'];
						
					$queryper1 = "select * from tbl_datatecher1 where tecNumber='$dp_ID1' ";
					//echo $queryper;
					$resultper1=mysqli_query($connect1,$queryper1);
					$rspertec1=mysqli_fetch_assoc($resultper1);
					
					$tecPrefixThai1=$rspertec1['tecPrefixThai'];//คำนำหน้าชื่อ
					$selectwork1 = $rspertec1['selectwork'];//กลุ่มงาน
					//คำนำหน้าชื่อ
					$sqlpf1="select * from ref_prefix_name where PREFIX_NAME_ID=$tecPrefixThai1";
					$resulpf1=mysqli_query($connect1,$sqlpf1);
					$rspf1=mysqli_fetch_assoc($resulpf1);
					$tecPrefixThaiori1=$rspf1['FULLNAME'];
					
						//ชื่อกลุ่มงาน
						$sqlwork1="select * from tbl_departmentall where daNodpt='$selectwork1' ";
						$resqlwork1=mysqli_query($connect1,$sqlwork1);
						$rswork1=mysqli_fetch_assoc($resqlwork1);
						$workname1 = $rswork1['daFname'];
						
   						$workusername1=$tecPrefixThaiori1."&nbsp;".$rspertec1['tecFnameThai']."&nbsp;&nbsp;".$tecLname1=$rspertec1['tecLnameThai']." (".$workname1.")";
					if($bg1 == "#F5F5F5") {
						$bg1 = "#FDFDFD";
					} else {
						$bg1 = "#F5F5F5";
					}
					
		  ?>
 <?php if($rs1['status'] == 0){ ?>
  <tr bgcolor="<?php echo $bg1;?>"  >
    <td width="20" align="center" valign="top" bgcolor="<?php echo $bg1; ?>"><img src="images/icon07.png" width="20" height="12" /></td>
    <td width="530" align="left" valign="middle" bgcolor="<?php echo $bg1; ?>">&nbsp;&nbsp; 
     
    <a href="system_admin/file_regulations/<?php echo $rs1['df_file'];?>" target="_blank" class="link-default-org"><?php echo $rs1['df_title'];?></a>
    </td>
    </tr> 
	<?php } ?>
  <?php
				}
				
		  ?>
</table>
<p>&nbsp;</p>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td width="20" height="28" align="center" valign="middle" bgcolor="#EBEBEB">&nbsp;</td>
    <td colspan="2" align="center" valign="middle" bgcolor="#EBEBEB"><strong>ประกาศของสถาบันฯ</strong></td>
    </tr>
  <?php
					$sql2="select * from  tbl_regulations where statusreg = '3' order by df_ID desc";
					$result2=mysqli_query($connect1,$sql2);
					$num_dp2=mysqli_num_rows($result2);
					while($rs2=mysqli_fetch_assoc($result2)){
						
					$dp_ID2=$rs2['dp_ID'];
						
						$queryper2 = "select * from tbl_datatecher1 where tecNumber='$dp_ID2' ";
					//echo $queryper;
					$resultper2=mysqli_query($connect1,$queryper2);
					$rspertec2=mysqli_fetch_assoc($resultper2);
					
					$tecPrefixThai2=$rspertec2['tecPrefixThai'];//คำนำหน้าชื่อ
					$selectwork2 = $rspertec2['selectwork'];//กลุ่มงาน
					//คำนำหน้าชื่อ
					$sqlpf2="select * from ref_prefix_name where PREFIX_NAME_ID=$tecPrefixThai2";
					$resulpf2=mysqli_query($connect1,$sqlpf2);
					$rspf2=mysqli_fetch_assoc($resulpf2);
					$tecPrefixThaiori2=$rspf2['FULLNAME'];
					
						//ชื่อกลุ่มงาน
						$sqlwork2="select * from tbl_departmentall where daNodpt='$selectwork2' ";
						$resqlwork2=mysqli_query($connect1,$sqlwork2);
						$rswork2=mysqli_fetch_assoc($resqlwork2);
						$workname2 = $rswork2['daFname'];
						
   						$workname2=$tecPrefixThaiori2."&nbsp;".$rspertec2['tecFnameThai']."&nbsp;&nbsp;".$tecLname2=$rspertec2['tecLnameThai']." (".$workname2.")";
							
					if($bg2 == "#F5F5F5") {
						$bg2 = "#FDFDFD";
					} else {
						$bg2 = "#F5F5F5";
					}
					
		  ?>
		  
 <?php if($rs2['status'] == 0){ ?>
  <tr bgcolor="<?php echo $bg2;?>"  >
    <td width="20" align="center" valign="top" bgcolor="<?php echo $bg2; ?>"><img src="images/icon07.png" width="20" height="12" /></td>
    
    <td width="530" align="left" valign="middle" bgcolor="<?php echo $bg2; ?>">&nbsp;&nbsp; 
    <a href="system_admin/file_regulations/<?php echo $rs2['df_file'];?>" target="_blank" class="link-default-org"><?php echo $rs2['df_title'];?></a>
    </td>
    </tr> 
      <?php } ?>
      
  <?php
				}
				
		  ?>
</table>
    </div>
  </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit