diff --git a/index.php b/index.php index f97ea36..09cea34 100755 --- a/index.php +++ b/index.php @@ -15,16 +15,18 @@ //make empty boxes for images $file = "./items/images.php"; $lineCount = count(file($file)); - if($lineCount[1] == '') { + // Sloppy fix on blank line on items/images.php + if($lineCount <= 16) { $lineCount--; } - if ($lineCount <= 15) { + //echo $lineCount; + if($lineCount < 16) { $blankImg = $lineCount; for ($x = $blankImg; $x < 16; $x++) { echo "
"; } } - ?> + ?>

Welcome