This commit is contained in:
steven 2025-08-11 22:23:30 +02:00
commit 72a26edcff
22092 changed files with 2101903 additions and 0 deletions

26
scripts/_temp.php Normal file
View file

@ -0,0 +1,26 @@
<?
$saso_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE typ=8"); $key=0;
while($row = $saso_tour->fetch_assoc()) {
$saso_tour2[$key]['gewicht']=$row['gewicht'];
$saso_tour2[$key]['gewicht2']=$row['gewicht2'];
$saso_tour2[$key]['gewicht4']=$row['gewicht4'];
$saso_tour2[$key]['pakete']=$row['Pakete'];
$saso_tour2[$key]['pakete2']=$row['pakete2'];
if($saso_tour2[$key]['pakete']!=$saso_tour2[$key]['pakete2']) {
echo $row['tour']."< /br>";
$agewicht=$row['gewicht2']*$row['pakete2'];
$GLOBALS['mysql']->insert("UPDATE tourenliste SET gewicht3='".$agewicht."' WHERE id='".$row['id']."'");
} else {
$GLOBALS['mysql']->insert("UPDATE tourenliste SET gewicht3='".$row['gewicht2']."' WHERE id='".$row['id']."'");
}
$key++;
}
echo "< /br>".$key. "Änderungen durcheführt";
?>