From cdea8caa5617f0cb77bcbc9803759abd2df50644 Mon Sep 17 00:00:00 2001 From: Niklas Olmes Date: Fri, 24 Apr 2026 19:30:00 +0200 Subject: stipcrm --- autotable.php | 1103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1103 insertions(+) create mode 100644 autotable.php (limited to 'autotable.php') diff --git a/autotable.php b/autotable.php new file mode 100644 index 0000000..93307f7 --- /dev/null +++ b/autotable.php @@ -0,0 +1,1103 @@ + +prepare($sql); + $stmt->execute(); + $r = $stmt->get_result(); + } + + if (!isset($noautolinks)) + $noautolinks = false; + + if (!isset($insert)) + $insert = pathinfo(basename(__FILE__), PATHINFO_FILENAME); +?> + +
+
+ + +

+ + + id="Table_off" class="fas fa-toggle-on"> + id="Table_on" class="fas fa-toggle-off"> +

+ + + + +
id="Table"> + + + + +
+ + +num_rows < 1)) { +?> + Keine Ergebnisse! + + + + +
+
+ + + + + + + + + + + +
+
+ + + +
+
+ + + + + + + + + + + +fetch_object(); + foreach ($l as $k => $v) { + $bk = str_replace(' ', '
', $k); + if (substr($k, 0, 1) === '%') { + $k = substr($k, 1); + } + + if ($editable[$k]) { +?> + + + + + +', $k); + if ($editable[$k]) { +?> + + + + + + + + + + + + += $r->num_rows) { +?> + +num_rows) { +?> + + + +$idcell; + else if (isset($l->ID)) $dataid = $l->ID; + else if (isset($l->uid)) $dataid = $l->uid; + else if (isset($l->UID)) $dataid = $l->UID; + else if (isset($l->id)) $dataid = $l->id; + else if (isset($l->PersID)) $dataid = $l->PersID; + else if (isset($l->StipID)) $dataid = $l->StipID; + else if (isset($l->EventID)) $dataid = $l->EventID; + else if (isset($l->FoerdID)) $dataid = $l->FoerdID; + else if (isset($l->OrgaID)) $dataid = $l->OrgaID; + else if (isset($l->NotizID)) $dataid = $l->NotizID; + else if (isset($l->EmailID)) $dataid = $l->EmailID; + else if (isset($l->AppNewsID)) $dataid = $l->AppNewsID; + else if (isset($l->AppSettingID)) $dataid = $l->AppSettingID; + else if (isset($l->AppProfileID)) $dataid = $l->AppProfileID; + else if (isset($l->ETID)) $dataid = $l->ETID; + + if ($makeseq) $dataid = $autotable_i; + + $persid = ""; + if (isset($l->PersID)) $persid = $l->PersID; + + $stipid = ""; + if (isset($l->StipID)) $stipid = $l->StipID; + + $orgaid = ""; + if (isset($l->OrgaID)) $orgaid = $l->OrgaID; + + $foerdid = ""; + if (isset($l->FoerdID)) $foerdid = $l->FoerdID; + + $eventid = ""; + if (isset($l->EventID)) $eventid = $l->EventID; +?> + + + + + + $v) { + if (substr($k, 0, 1) === '%') { + $v = utf8_encode(urldecode($v)); + $k = substr($k, 1); + } + if (isset($links[$k])) { +?> + + + + + + + +fetch_object())) +?> + + + + + + + + + + + + + + + +
+ + + + + +num_rows)) + $num_rows = $r->num_rows; + if (isset($stmt)) + $stmt->reset(); +})(); +?> -- cgit v1.3.1