getProjectCommon());
# All on the same line to unclutter the user's desktop'
#*****************************************************************************
#
# sample_list.php
#
# Author: Denis Roy
# Date: 2005-11-07
#
# Description: Type your page comments here - these are not sent to the browser
#
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Sample three-column list web page using the new templates";
$pageKeywords = "Type, page, keywords, here";
$pageAuthor = "Type your name here";
# Add page-specific Nav bars here
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
# End: page-specific settings
#
# Paste your HTML content between the markers!
ob_start();
?>
read()) {
// Short cut because we know aDirectory only contains other directories.
if ($anEntry != "." && $anEntry!=".." && $anEntry!="TIME") {
$parts = explode("-", $anEntry);
if (count($parts) == 3) {
$buckets[$parts[0]][] = $anEntry;
$timePart = $parts[2];
$year = substr($timePart, 0, 4);
$month = substr($timePart, 4, 2);
$day = substr($timePart, 6, 2);
$hour = substr($timePart,8,2);
$minute = substr($timePart,10,2);
$timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
$timeStamps[$anEntry] = date("D, j M Y -- H:i (O)", $timeStamp);
if ($timeStamp > $latestTimeStamp[$parts[0]]) {
$latestTimeStamp[$parts[0]] = $timeStamp;
$latestFile[$parts[0]] = $anEntry;
}
}
if (count($parts) == 2) {
$buildType=substr($parts[0],0,1);
$buckets[$buildType][] = $anEntry;
$datePart = substr($parts[0],1);
$timePart = $parts[1];
$year = substr($datePart, 0, 4);
$month = substr($datePart, 4, 2);
$day = substr($datePart, 6, 2);
$hour = substr($timePart,0,2);
$minute = substr($timePart,2,2);
$timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
$timeStamps[$anEntry] = date("D, j M Y -- H:i (O)", $timeStamp);
if ($timeStamp > $latestTimeStamp[$buildType]) {
$latestTimeStamp[$buildType] = $timeStamp;
$latestFile[$buildType] = $anEntry;
}
}
}
}
?>