diff --git a/colorstringconvert.php b/colorstringconvert.php old mode 100755 new mode 100644 diff --git a/galerie/get_jahre.php b/galerie/get_jahre.php new file mode 100644 index 0000000..ce45959 --- /dev/null +++ b/galerie/get_jahre.php @@ -0,0 +1,21 @@ + $value) { + if(in_array($value,$blacklist)) continue; + if(is_dir($bilderdir.$event."/".$value)) array_push($result,$value); +} + +echo json_encode($result,JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE); diff --git a/get_ergebnisse.php b/get_ergebnisse.php new file mode 100644 index 0000000..a8ae5ba --- /dev/null +++ b/get_ergebnisse.php @@ -0,0 +1,23 @@ + $value) { + array_push($result,[ + "value1"=>$value[0], + "value2"=>$value[1], + "timestamp"=>$value[2] + ]); +} + +echo json_encode($result,JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE); + diff --git a/get_events.php b/get_events.php old mode 100755 new mode 100644 diff --git a/get_forms.php b/get_forms.php new file mode 100644 index 0000000..f2cf129 --- /dev/null +++ b/get_forms.php @@ -0,0 +1,23 @@ + $value) { + array_push($result, [ + "id" => $value[0], + "ueberschrift" => $value[1], + "minitext" => $value[2], + "inhalt" => $value[3], + "labelone" => $value[4], + "labeltwo" => $value[5], + "modalueberschrift" => $value[6], + "public" => $value[7]==1, + "timestamp" => $value[8] + ]); +} + +echo json_encode($result, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); \ No newline at end of file diff --git a/randomimage.php b/randomimage.php old mode 100755 new mode 100644 diff --git a/rowforeach.php b/rowforeach.php old mode 100755 new mode 100644 diff --git a/submit_form.php b/submit_form.php new file mode 100644 index 0000000..b56581e --- /dev/null +++ b/submit_form.php @@ -0,0 +1,13 @@ +