Created At: 2026-06-14T15:56:06Z
Completed At: 2026-06-14T15:56:06Z
File Path: `file:///c:/Users/HP/Downloads/climate-system/climate-system/index.php`
Total Lines: 3856
Total Bytes: 159351
Showing lines 3490 to 3520
The following code has been modified to include a line number before every line, in the format: <line_number>: <original_line>. Please note that any changes targeting the original code should remove the line number, colon, and leading space.
3490: 
3491:           alert('Data future berhasil dimuat dari database!');
3492:         } else {
3493:           document.getElementById('futureDescription').innerText = 'Data climate belum tersedia di database untuk filter ini, namun Grafik Interaktif Proyeksi telah diaktifkan secara dinamis.';
3494:           // Reset gambar ke placeholder
3495:           document.getElementById('futureImageClimateMap').src = PLACEHOLDER_IMG;
3496:           document.getElementById('futureImageClimateMap2').src = PLACEHOLDER_IMG;
3497:           switchClimateMap(1); // Reset slider to show Map 1 first
3498:           document.getElementById('futureImageClimateStripe').src = PLACEHOLDER_IMG;
3499:           
3500:           document.getElementById('futureVariableText').innerText = "Variabel: " + variable;
3501:           document.getElementById('futurePeriodText').innerText = "Periode: " + period;
3502:           document.getElementById('futureVariableTextTS').innerText = "Variabel: " + variable;
3503:           document.getElementById('futurePeriodTextTS').innerText = "Periode: " + period;
3504:           document.getElementById('futureVariableTextStripe').innerText = "Variabel: " + variable;
3505:           document.getElementById('futurePeriodTextStripe').innerText = "Periode: " + period;
3506:         }
3507:       } catch (err) {
3508:         console.error(err);
3509:         alert('Gagal memuat data future tambahan dari database server.');
3510:       }
3511:     }
3512: 
3513:     // Mengirim data baru Future Climate ke backend (settings)
3514:     async function saveFutureData() {
3515:       const lokasi = document.getElementById('futureSetLocation').value.trim();
3516:       const variable = document.getElementById('futureSetVariable').value.trim();
3517:       const period = document.getElementById('futureSetPeriod').value.trim();
3518:       const description = document.getElementById('futureSetDescription').value.trim();
3519:       const imageClimateMap = normalizeImageUrl(document.getElementById('futureSetImageClimateMap').value.trim());
3520:       const imageClimateMap2 = normalizeImageUrl(document.getElementById('futureSetImageClimateMap2').value.trim());
The above content does NOT show the entire file contents. If you need to view any lines of the file which were not shown to complete your task, call this tool again to view those lines.
