\n";
echo "\t\t| " . ($i + 1). ". | \n";
// poem id
if (strpos($poems[$i]['FILENAME'],".txt") > 0) {
echo "\t\t ";
} else {
// just link to the file
echo "\t\t | ";
}
// poem title
echo $poems[$i]['TITLE'] . " | \n";
// poem description
echo "\t\t " . $poems[$i]['DESCRIPTION'] . " | \n";
echo "\t
\n";
//TODO make number of poems per column a config setting
if ($i == 15) {
echo "\n