Home load time is now 80% less
This commit is contained in:
parent
52f526eaf1
commit
4c87116f06
@ -34,12 +34,17 @@
|
|||||||
|
|
||||||
<div class="col-md-9 main-body">
|
<div class="col-md-9 main-body">
|
||||||
<div class="label m-1">
|
<div class="label m-1">
|
||||||
doma jsou:
|
<?php
|
||||||
<?php foreach ($USERS as $user) {
|
$usersAtHome = '';
|
||||||
|
foreach ($USERS as $user) {
|
||||||
if ($user['at_home'] == 'true') {
|
if ($user['at_home'] == 'true') {
|
||||||
echo $user['username'] . ' ';
|
$usersAtHome .= $user['username'] . ' ';
|
||||||
}
|
}
|
||||||
} ?>
|
}
|
||||||
|
if ($usersAtHome != "") {
|
||||||
|
echo 'doma jsou:' . $usersAtHome;
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
<select class="select m-1" name="room">
|
<select class="select m-1" name="room">
|
||||||
<option value="all">All</option>
|
<option value="all">All</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user