Stand 17.02.2023

This commit is contained in:
aschwarz
2023-03-17 12:54:16 +01:00
parent 247a3da3ea
commit f0a0848c5d
24 changed files with 1487 additions and 1691 deletions

View File

@ -0,0 +1,12 @@
<?php
require_once("../config.inc.php");
if(isset($_REQUEST['action']) and $_REQUEST['action']=="updateSortedRows"){
$newOrder = explode(",",$_REQUEST['sortOrder']);
$n = '0';
foreach($newOrder as $id){
$db->query('UPDATE jumi_umfragen_antworten SET userorder="'.$n.'" WHERE uaid="'.$id.'" ');
$n++;
}
echo '<div class="alert alert-success"><i class="fa fa-fw fa-thumbs-up"></i> Reihenfolge angepasst!</div>|***|update';
}