2001 The Central Ohio Linux User Group. // All rights reserved. // Released under the GPL, v. 2. See: LICENSE.TXT // -- maintainer: info@owlriver.com // // get contents of a file into a string $filename = "./linkdriver.txt"; print ""; $now = date("U"); echo ""; // print ""; print "
"; // $fd = fopen ("$filename", "r"); while (!feof ($fd)) { // $buffer = fgets($fd, 4096); // list($group,$batch,$seq,$desc,$alt,$graphic,$panel)=explode("|","$buffer"); // $group = chop("$group"); $batch = chop("$batch"); $seq = chop("$seq"); $desc = chop("$desc"); $alt = chop("$alt"); $graphic = chop("$graphic"); $panel = chop("$panel"); // $s = stat("./$panel"); $revised = $s[9]; echo ""; $shownew = 7 * 24 * 60 * 60 ; $isnew = $now - $revised - $shownew ; // if ( "$group" != "" ) { // print "
"; print ""; // // //// print "
"; //// ////print ""; // // print "
\n"; // } // } fclose($fd); // print "
"; // ?>