Created At: 2026-06-14T15:34:34Z
Completed At: 2026-06-14T15:34:34Z
File Path: `file:///c:/Users/HP/Downloads/climate-system/climate-system/index.php`
Total Lines: 4742
Total Bytes: 201499
Showing lines 735 to 760
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.
735:                     ':img_map_2' => $imgMap2,
736:                     ':img_ts' => $imgTS,
737:                     ':img_stripe' => $imgStripe,
738:                     ':base_val' => $baseVal,
739:                     ':uncertainty' => $uncertainty,
740:                     ':ssp1' => $ssp1,
741:                     ':ssp2' => $ssp2,
742:                     ':ssp3' => $ssp3,
743:                     ':ssp5' => $ssp5,
744:                     ':csv_data' => $csv
745:                 ]);
746:             }
747: 
748:             echo json_encode(['success' => true, 'message' => 'Data Future berhasil disimpan!']);
749:             exit;
750:         }
751: 
752:         // 5. Ambil data Dropdown Filter dinamis
753:         if ($action === 'get_filters') {
754:             $locs = $db->query("SELECT name FROM locations ORDER BY name ASC")->fetchAll(PDO::FETCH_COLUMN);
755:             $vars = $db->query("
756:                 SELECT name FROM variables 
757:                 WHERE name IN (
758:                     'Precipitation', 'Suhu Udara Rata-rata', 'Suhu Udara Maksimum', 'Suhu Udara Minimum',
759:                     'Kelembaban Relatif', 'Kecepatan Angin', 'Radiasi Matahari', 'Suhu Permukaan Laut',
760:                     'Anomali Tinggi Muka Laut', 'Salinitas Permukaan Laut', 'pH Permukaan Laut'
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.
