consolidate php

This commit is contained in:
2025-12-09 00:20:32 +00:00
parent a7b6c529a9
commit eba6536050
44 changed files with 3458 additions and 4911 deletions

View File

@@ -235,7 +235,7 @@ camlayer = L.layerGroup();
$.getJSON('cam.php', function(data){
$.getJSON('main.php?service=cams', function(data){
var wild = Math.random();
for(var i in data){
//var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].lastimage})
@@ -274,7 +274,7 @@ function onMarkerNotHover(itemsID){
function updateIcon() {
var wild = Math.random();
$.getJSON('cam.php', function(data){
$.getJSON('main.php?service=cams', function(data){
for(var i in data){
//var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].lastimage});
var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].camid + "/latest.jpg"})