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.15.25.212


Current Path : /var/www/html/demo/rcub_pgcet1402/
Upload File :
Current File : /var/www/html/demo/rcub_pgcet1402/allot_list_mba.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" />	
<?php require_once("links/js_files.php");?> 
<script type="text/javascript">
		$(function(){
		
		  $('.index_label_div').corner("5px").css("border","1px solid #336699");	
		  $('.messageboard-div').corner("5px").css("border","1px solid #336699");	
		  $('.div_app_form_center_blue').corner("5px").css("border","1px solid #336699");	
		});
</script>

</head>

<body  >
<div id='main_frame'>
	<div class='header_main_div'>
		<?php require_once("links/header.php");?> 
		<div id="index_main_page">
				<div  align="center" style="height:24px; padding:2px; font-size:15px; font-weight:bold; color:#FFFFFF;" class="div_app_form_center_black">
					Provisional collegewise allotment list (MBA)
				</div>					
				<table width="100%"  border="1" cellpadding="2" cellspacing="0" align="center">
					<?php
						global $collcode;
						$collcode = ""; 
						$gall = './allot_list_mba/*';
						$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 "</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=\"50\" height=\"30\">\n";
								echo "<center>";
								echo "<a href='$path$file' target='_blank'> $c</a>";
								echo "</center>";									
								echo "</td>\n";									
								echo "<td width=\"900\" height=\"30\" align=\"left\">\n";
								echo "<a href='$path$file' target='_blank'> $file </a>";									
								echo "</td>\n";
								if($c%1==0)
								{
									echo "<tr>\n";
								}
							}
							// Close it
							closedir($dir_handle);
						}
					?>
					</tr>
				</table>
		</div>	 
		<?php require_once("links/footer.php");?> 
	</div>
</div>
</br>
</body>
</html>