$day) { foreach ($day as $index => $fronter) { if (is_string($fronter)) { $cloudburst[$id][$index] = [$fronter]; } else if (is_array($fronter)) { if (count($fronter) < 2) { if (!isset($cloudburst[$id][$index][0])) $cloudburst[$id][$index][0] = null; $cloudburst[$id][$index][1] = null; } else if (count($fronter) > 2) { $array = []; if (isset($cloudburst[$id][$index][0])) { $array[0] = $cloudburst[$id][$index][0]; } else { $array[0] = null; } if (isset($cloudburst[$id][$index][1])) { $array[1] = $cloudburst[$id][$index][1]; } else { $array[1] = null; } $cloudburst[$id][$index] = $array; } } } } foreach ($raindrops as $id => $day) { foreach ($day as $index => $fronter) { if (is_string($fronter)) { $raindrops[$id][$index] = [$fronter]; } else if (is_array($fronter)) { if (count($fronter) < 2) { if (!isset($raindrops[$id][$index][0])) $raindrops[$id][$index][0] = null; $raindrops[$id][$index][1] = null; } else if (count($fronter) > 2) { $array = []; if (isset($raindrops[$id][$index][0])) { $array[0] = $raindrops[$id][$index][0]; } else { $array[0] = null; } if (isset($raindrops[$id][$index][1])) { $array[1] = $raindrops[$id][$index][1]; } else { $array[1] = null; } $raindrops[$id][$index] = $array; } } } } function day($display, $diff): void { if ($diff < 0) $disabled = true; else $disabled = false; global $cloudburst; global $raindrops; ?> style="opacity: .75; pointer-events: none;"> style="opacity: .75; pointer-events: none;"> Cloudburst System Raindrops System style="opacity: .75; pointer-events: none;"> colspan="3" colspan="2"> Multiple merged membersMerge " style="width:24px;"> Multiple merged membersMerge " style="width:24px;"> Add new fronter colspan="3" colspan="2"> Multiple merged membersMerge " style="width:24px;"> Multiple merged membersMerge " style="width:24px;"> Add new fronter style="opacity: .75; pointer-events: none;"> 0 && count($dayRaindrops) > 0): ?> will sleep with Unable to calculate who will sleep with who

Front planner