0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.21.104.16


Current Path : /proc/thread-self/root/var/www/html/rcub/
Upload File :
Current File : //proc/thread-self/root/var/www/html/rcub/appearing_list_kus.php

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="app/style.css"/>
<body>
<div id="content_hold" align="center">
	<div class="innercontent1">
	<div class="mid11">
	<br />
	<table width="960" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="dvContent">
	   <tr>
	   <td align="center">
<!-------------------------------------------------------------------------------->
			<table width="100%"  border="1" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" class="dvContent" align="center">
				<?php
					$gall = './app/*';
					$dirs = glob($gall, GLOB_ONLYDIR);
					$fold="";
					$posl="";
					$len1="";
					$tit1="";

					foreach($dirs as $fold)
					{
						$path = $fold."/";
						$pos1 = strrpos($fold,"/");
						$len1 = strlen($fold)-($pos1+1);
						$tit1 = substr($fold,-$len1);
						
						$c=0;		 
						
	 						
						echo "<tr>\n";
						echo "<th colspan=\"5\" width=\"100%\" height=\"30\" align=\"center\">\n";
						echo "<div> $tit1 </div> ";
						echo "</th>\n";
						echo "</tr>\n";
						
						// Define the full path to your folder, shouldn't need changing
						// Open the folder
						$dir_handle = @opendir($path) or die("Unable to open folder");
						// Loop through the files
						while (false !== ($file = readdir($dir_handle))) 
						{
						// Prevent this file itself being shown
						// If you want it to not display any other files
						// enter more of these
						if($file == "index.php")
						continue;
						//Prevent folders showing
						if($file == ".")
						continue;
						if($file == "..")
						continue;
						// Display the results
						$c++;		 
						echo "<td width=\"900\" height=\"30\" align=\"left\">\n";
							echo "<a href='$path$file' target='_blank'> $c. $file </a>";
						echo "</td>\n";
						if($c%1==0)
						{
							echo "<tr>\n";
						}
						}
						// Close it
						closedir($dir_handle);
				}
				?>
				</tr>
			</table>
<!-------------------------------------------------------------------------------->         
		</td>
		</tr>
	</tbody>
	</table>	
	</div>	  	
</div>	  
</div> 
<br class="blank" />
</body>
</html>