String html = ""; html += "

Mesai Zili Kontrol Paneli

"; html += "

Günlük Programlar:

"; html += ""; html += html "

Program Ekle:

"; html += html += "
"; html += "Gün:
"; html += "Başlangıç Saati:
"; html += "Bitiş Saati:
"; html += ""; html += "
"; html += ""; server. server.send send(200, "text/html", html); } void handleAddSchedule() { if (scheduleCount < maxSchedules) { String day = server. String day = server.arg arg("day"); String startTime = server. String arg("start"); String endTime = server. String endTime = arg("end"); schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; scheduleCount++; } server. schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; scheduleCount++; } server.sendHeader schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; scheduleCount++; } schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; scheduleCount++; schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; scheduleCount schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].endTime = endTime; schedules[scheduleCount].day = day; schedules[scheduleCount].startTime = startTime; schedules[scheduleCount].day = day; schedules[scheduleCount].startTime schedules[scheduleCount].day = schedules sendHeader("Location", "/"); server.send(303); } void sortSchedules() { for (int i = 0; i < scheduleCount - 1; i++) { for (int j = i + 1; j < scheduleCount; j++) { if (schedules[i].day > schedules[j].day) { // Swap schedules[i] and schedules[j] DailySchedule temp = schedules[i]; schedules[i] = schedules[j]; schedules[j] = temp; } } } } DailySchedule temp = schedules[i]; schedules[i] = schedules[j]; schedules[j] = temp; } } DailySchedule temp = schedules[i]; schedules[i] = schedules[j]; schedules[j] = temp; } DailySchedule temp = schedules[i]; schedules[i] Bu kod, kullanıcıların her gün ayrı giriş ve çıkış eklemelerine olanak tanır ve bu saatleri sırasına göre sıralar. Kullan