select('shifts', [ "shiftid", "shiftname", "start", "end"] ); $assigned = []; require_once __DIR__ . "/../lib/userinfo.php"; $shift = false; if ($VARS['shift'] && $database->has('shifts', ['shiftid' => $VARS['shift']])) { $shift = $VARS['shift']; $uids = $database->select('assigned_shifts', 'uid', ['shiftid' => $shift]); foreach ($uids as $uid) { $assigned[] = getUserByID($uid)['username']; } } ?>



" />