From 20d1a13030a5142b1135d1856c8654081bbced2e Mon Sep 17 00:00:00 2001 From: James Date: Mon, 28 Mar 2022 14:06:51 +0200 Subject: [PATCH] made sure only every 2 cards are one row --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 4899cbc..a6363ed 100644 --- a/index.php +++ b/index.php @@ -36,7 +36,7 @@ foreach (glob("roles/*.php") as $filename) { include $filename; - if ($count%4 == 1) + if ($count%2 == 1) { echo "
"; } @@ -74,13 +74,13 @@
'; - if ($count%4 == 0) + if ($count%2 == 0) { echo ""; } $count++; } -if ($count%4 != 1) echo ""; +if ($count%2 != 1) echo ""; ?>