/////////////////////////////////////////////////////////////////////////////
// File: builds.php
// Desc: Displays the current builds we have for Abstract Designs
// Author: John Martinez-Capolino
// Version: 1.0
// Date: 03-13-2003
//
// Revision: 1.0 - 03-13-2003
// Initial Verion
//
/////////////////////////////////////////////////////////////////////////////
//
// Name: ReadInPageData
// Desc: Reads in the data file that describes the function of this page.
//
function ReadInPageData()
{
// Storage of the data from the data file.
global $pageData;
global $lineCount;
if( !file_exists( "builddefinition.data" ) )
{
readfile( "fileerror.html" );
exit();
}
// Read in the data.
$pageData = file( "builddefinition.data" );
// Remove the newlines at the end of the data.
for( $i = 0; $i < count( $pageData ); $i++ )
{
$pageData[$i] = trim( $pageData[$i] );
}
$lineCount = count($pageData);
}
ReadInPageData();
//---------------------------------------------------------------------------
?>
Abstract Designs - Builds
|
|
$line = 0;
while( $line < $lineCount )
{
?>
|
|
print( trim( "$pageData[$line]" ) );
$line++;
$numBuilds = trim( "$pageData[$line]" );
settype( $pageCount, "integer" );
$line++;
?>
|
|
|
Download Link |
Build Version |
Build Date |
for( $i = 0; $i < $numBuilds; $i++ )
{
?>
print( $pageData[$line] ); $line++; ?> |
print( $pageData[$line] ); $line++; ?> |
print( $pageData[$line] ); $line++; ?> |
}
?>
|
|
|
}
?>