0) : $dbConnectionArray["app_property"] = getDbConnectionSpecial($dbhostArray["as_intern"], "sysadmin", $dblogin, $dbpassword); // Change if migrated to another place endif; // Set the specified vehicle free // cp_id cust_id hq_id usr_id inst_id cp_prec prop_id cp_ind cp_val cp_secval cp_modify cp_rem // 6252 1 1 871151 NULL 30 508 0 wss://localhost 2023-04-03 16:15:52 HB1027 if ($f_act == "setFree") : if ($dbhostArrayLen > 0 && $dbConnectionArray["app_property"] != "") : if ($cp_rem != "") : $res = updateStmt("sysadmin.conf_prop", "cp_rem", $cp_rem, array("prop_id", "99" . $propId), "cust_id = '" . $constGlobalDbInstNo . "' AND prop_id = '" . $propId . "' AND usr_id > '1'", $dbConnectionArray["app_property"]); if ($res > 0) : $statusMessage = getLngt("Die Sperre wurde aufgehoben!"); endif; else : $statusMessage = getLngt("Es wurde keine Kennung angegeben!"); endif; else : $statusMessage = getLngt("Keine Verbindung zur internen Datenbank!"); endif; endif; // Get all locked and unlocked vehicles if ($dbhostArrayLen > 0 && $dbConnectionArray["app_property"] != "") : $outTable = ""; $outTable .= ""; $outTable .= ""; /* $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; */ $outTable .= ""; $outTable .= ""; $sqlquery = "SELECT cp_id, cust_id, hq_id, usr_id, cp_prec, prop_id, cp_ind, cp_val, cp_secval, cp_modify, cp_rem FROM sysadmin.conf_prop WHERE prop_id IN ( 99" . $propId . ", " . $propId . " ) AND cust_id = 1 AND usr_id > 1 AND hq_id = '" . $hq_id . "' ORDER BY cust_id, prop_id, hq_id, cp_rem"; $result = $dbConnectionArray["app_property"]->query($sqlquery); if (DB::isError($result)) die ("$PHP_SELF: " . $result->getMessage()); while ($row = $result->fetch_assoc()): $outTable .= ""; /* $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; if ($row["prop_id"] == $propId) : $outTable .= ""; else : $outTable .= ""; endif; $outTable .= ""; $outTable .= ""; $outTable .= ""; $outTable .= ""; */ if ($row["prop_id"] == $propId) : $outTable .= ""; else : // $outTable .= ""; endif; $outTable .= ""; endwhile; $result->free(); endif; $outTable .= "
cp_id cust_id hq_id usr_id cp_prec prop_id cp_ind cp_val cp_secval cp_modify cp_rem DERZEIT GESPERRTE GERÄTE:
" . $row["cp_id"] . "" . $row["cust_id"] . "" . $row["hq_id"] . "" . $row["usr_id"] . "" . $row["cp_prec"] . "" . "" . $row["prop_id"] . "" . "" . $row["prop_id"] . "" . $row["cp_ind"] . "" . $row["cp_val"] . "" . $row["cp_secval"] . "" . $row["cp_modify"] . "" . "" . $row["cp_rem"] . "" . "" . $row["cp_rem"] . "
"; ?> <?php echo $pageTitel ?>