\n";
print "\n";
print "| Most Recent | \n";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time);
$year = $year + 1900;
$mon = $mon + 1;
my $timestamp=sprintf("%4d%02d%02d:%02d%02d%02d",$year,$mon,$mday,$hour,$min,$sec);
$today=$year*10000+$mon*100+$mday;
$now=$hour*10000+$min*100+$sec;
undef %Hash;
$logfile="log/us";
$logrecsize=699;
# $logfilesize = -s $logfile;
open(LOG,"".$posted." ";
$descript=~s| : | |;
print "".$descript."\n";
$datedif=~s| | |g;
print " ".$datedif." ago\n";
print " ";
print " | ";
$Hash{$posted}=1;
}
seek(LOG,-1*$logrecsize,1);
}
}
close(LOG);
print " \n";
print " | ";
print "\n";
$masterrecsize=709;
print "\n";
print "\n";
print "| Most Often | \n";
open(MASTER,"".$description;
}
print "".$posted." ";
print $description;
$datedif=TimeElapsedInWords($date,$time);
$datedif=~s| | |g;
print " Last Viewed: ".$datedif." ago • Count: ".$popcount."";
print " \n";
print " | ";
}
print " ";
print " |