Created At: 2026-06-14T16:19:33Z
Completed At: 2026-06-14T16:19:33Z
File Path: `file:///c:/Users/HP/Downloads/climate-system/climate-system/index.php`
Total Lines: 3932
Total Bytes: 166365
Showing lines 3560 to 3600
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.
3560: 
3561:           // Future Climate Stripe
3562:           document.getElementById('futureImageClimateStripe').src = savedData.imageClimateStripe ? normalizeImageUrl(savedData.imageClimateStripe) : PLACEHOLDER_IMG;
3563:           document.getElementById('futureCategoryTitleStripe').innerText = "Future Climate Stripe";
3564:           document.getElementById('futureVariableTextStripe').innerText = "Variabel: " + variable;
3565:           document.getElementById('futurePeriodTextStripe').innerText = "Periode: " + period;
3566: 
3567:           alert('Data future berhasil dimuat dari database!');
3568:         } else {
3569:           document.getElementById('futureDescription').innerText = 'Data climate belum tersedia di database untuk filter ini, namun Grafik Interaktif Proyeksi telah diaktifkan secara dinamis.';
3570:           // Reset gambar ke placeholder
3571:           document.getElementById('futureImageClimateMap').src = PLACEHOLDER_IMG;
3572:           document.getElementById('futureImageClimateMap2').src = PLACEHOLDER_IMG;
3573:           switchClimateMap(1); // Reset slider to show Map 1 first
3574:           document.getElementById('futureImageClimateStripe').src = PLACEHOLDER_IMG;
3575:           
3576:           document.getElementById('futureVariableText').innerText = "Variabel: " + variable;
3577:           document.getElementById('futurePeriodText').innerText = "Periode: " + period;
3578:           document.getElementById('futureVariableTextTS').innerText = "Variabel: " + variable;
3579:           document.getElementById('futurePeriodTextTS').innerText = "Periode: " + period;
3580:           document.getElementById('futureVariableTextStripe').innerText = "Variabel: " + variable;
3581:           document.getElementById('futurePeriodTextStripe').innerText = "Periode: " + period;
3582:         }
3583:       } catch (err) {
3584:         console.error(err);
3585:         alert('Gagal memuat data future tambahan dari database server.');
3586:       }
3587:     }
3588: 
3589:     // Mengirim data baru Future Climate ke backend (settings)
3590:     async function saveFutureData() {
3591:       const lokasi = document.getElementById('futureSetLocation').value.trim();
3592:       const variable = document.getElementById('futureSetVariable').value.trim();
3593:       const period = document.getElementById('futureSetPeriod').value.trim();
3594:       const description = document.getElementById('futureSetDescription').value.trim();
3595:       const imageClimateMap = normalizeImageUrl(document.getElementById('futureSetImageClimateMap').value.trim());
3596:       const imageClimateMap2 = normalizeImageUrl(document.getElementById('futureSetImageClimateMap2').value.trim());
3597:       const imageTimeSeries = normalizeImageUrl(document.getElementById('futureSetImageTimeSeries').value.trim());
3598:       const imageClimateStripe = normalizeImageUrl(document.getElementById('futureSetImageClimateStripe').value.trim());
3599: 
3600:       const graphBaseValue = document.getElementById('futureSetGraphBaseValue').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.
