made sure only every 2 cards are one row

This commit is contained in:
Jesse James Isler 2022-03-28 14:06:51 +02:00
parent ada7a952e7
commit 20d1a13030

View File

@ -36,7 +36,7 @@
foreach (glob("roles/*.php") as $filename) {
include $filename;
if ($count%4 == 1)
if ($count%2 == 1)
{
echo "<div class='row'>";
}
@ -74,13 +74,13 @@
</div>
';
if ($count%4 == 0)
if ($count%2 == 0)
{
echo "</div>";
}
$count++;
}
if ($count%4 != 1) echo "</div>";
if ($count%2 != 1) echo "</div>";
?>
</div>
<script>