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) {
|
foreach (glob("roles/*.php") as $filename) {
|
||||||
include $filename;
|
include $filename;
|
||||||
|
|
||||||
if ($count%4 == 1)
|
if ($count%2 == 1)
|
||||||
{
|
{
|
||||||
echo "<div class='row'>";
|
echo "<div class='row'>";
|
||||||
}
|
}
|
||||||
@ -74,13 +74,13 @@
|
|||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
|
|
||||||
if ($count%4 == 0)
|
if ($count%2 == 0)
|
||||||
{
|
{
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
}
|
}
|
||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
||||||
if ($count%4 != 1) echo "</div>";
|
if ($count%2 != 1) echo "</div>";
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user