made sure only every 2 cards are one row
This commit is contained in:
parent
ada7a952e7
commit
20d1a13030
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user