Index of


\n"; } //end if else { echo " \n"; echo " \n"; while (($file = readdir($dir)) == true) { switch($file) { case ".": case "..": case "index.php": case "style.css": case "footer.php": case "sort.php": case "_bak": case "_private": case "style_IE.css": case "style_MOZ.css": case "test.php": break; default: $file_list[] = $file; break; } //end switch } //end while closedir($dir); /************************************************* * This section calls the sort functions, depending on how the the * user chose to view the displayed data. It sorts by Name, Size, * and Date. *************************************************/ switch($sort) { case "name": case "r_name": sortName($file_list, $sort); break; case "size": case "r_size": sortSize($file_list, $sort); break; default: sortDate($file_list, $sort); break; } //end switch echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
    \n"; } //end else ?> Ascending   File Name   Decending Ascending   File Name   Decending \n"; if ($sort != "r_size") { if ($sort != "size") { echo " \n"; } //end if else { echo " \n"; } //end else ?> Ascending   File Size   Decending Ascending   File Size   Decending \n"; if ($sort != "r_date") { if ($sort != "date") { echo " \n"; } //end if else { echo " \n"; } //end else ?> Ascending   Date Modified   Decending Ascending   Date Modified   Decending \n"; echo "  
\"\"\"\"
\n\n"; /************************************************* * Includes the file footer.php so that the validation * and date modified information is displayed at the * bottom of the page. *************************************************/ include("$root_dir/footer.php"); ?>