+ <?php /*<datalist id="timelist">
+ <?php for($h = 0; $h < 24; $h++): for($m = 0; $m < 55; $m += 5): ?>
+ <option value="<?php printf('%02d:%02d', $h, $m); ?>"<?php if ($_REQUEST['time']??date('H:i', $time) == sprintf('%02d:%02d', $h, $m)): ?> selected="selected"<?php endif; ?>>
+ <?php endfor; endfor ?>
+ </datalist> */ ?>
+ <input type="time" id="time" name="time" value="<?php echo htmlspecialchars($_REQUEST['time']??date('H:i', $time)); ?>" step="300"<?php # list="timelist" ?> required="required" />