Abgleich mit Live-Daten

This commit is contained in:
2026-03-24 14:45:06 +01:00
parent 00077aa09a
commit 211ce11e06
116 changed files with 16602 additions and 16612 deletions
+46 -46
View File
@@ -1,47 +1,47 @@
var http = createRequestObject();
var objectId = '';
function createRequestObject(htmlObjectId){
var obj;
var browser = navigator.appName;
objectId = htmlObjectId;
if(browser == "Microsoft Internet Explorer"){
obj = new ActiveXObject("Microsoft.XMLHTTP");
}
else{
obj = new XMLHttpRequest();
}
return obj;
}
function sendReq(serverFileName, variableNames, variableValues) {
var paramString = '';
variableNames = variableNames.split(',');
variableValues = variableValues.split(',');
for(i=0; i<variableNames.length; i++) {
paramString += variableNames[i]+'='+variableValues[i]+'&';
}
paramString = paramString.substring(0, (paramString.length-1));
if (paramString.length == 0) {
http.open('get', serverFileName);
}
else {
http.open('get', serverFileName+'?'+paramString);
}
http.onreadystatechange = handleResponse;
http.send(null);
}
function handleResponse() {
if(http.readyState == 4){
responseText = http.responseText;
document.getElementById(objectId).innerHTML = responseText;
}
var http = createRequestObject();
var objectId = '';
function createRequestObject(htmlObjectId){
var obj;
var browser = navigator.appName;
objectId = htmlObjectId;
if(browser == "Microsoft Internet Explorer"){
obj = new ActiveXObject("Microsoft.XMLHTTP");
}
else{
obj = new XMLHttpRequest();
}
return obj;
}
function sendReq(serverFileName, variableNames, variableValues) {
var paramString = '';
variableNames = variableNames.split(',');
variableValues = variableValues.split(',');
for(i=0; i<variableNames.length; i++) {
paramString += variableNames[i]+'='+variableValues[i]+'&';
}
paramString = paramString.substring(0, (paramString.length-1));
if (paramString.length == 0) {
http.open('get', serverFileName);
}
else {
http.open('get', serverFileName+'?'+paramString);
}
http.onreadystatechange = handleResponse;
http.send(null);
}
function handleResponse() {
if(http.readyState == 4){
responseText = http.responseText;
document.getElementById(objectId).innerHTML = responseText;
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+45 -45
View File
@@ -1,46 +1,46 @@
$(function() {
$("#user_input").autocomplete({
source: "inc/suchepatient.php",
minLength: 3,
select: function( event, ui ) {
event.preventDefault();
$("#userid_input").val(ui.item.id);
$("#user_input").val(ui.item.value);
$("#formbenutzersuche").submit();
}
});
});
function behandelt(str) {
result = $.ajax({
type: 'POST',
async: false,
url: 'inc/behandelt.php',
data: ({
terminid: str
})
}).responseText;
document.getElementById(str).style.display = 'none';
//window.location.reload(false);
}
function submitForm(sub) {
e.preventDefault();
result = $.ajax({
type: 'POST',
async: false,
url: 'impfadmin.php',
data: ({
aktion: 4,
searchdate: sub
})
}).responseText;
//window.location.reload(false);
document.body.innerHTML = result;
$(function() {
$("#user_input").autocomplete({
source: "inc/suchepatient.php",
minLength: 3,
select: function( event, ui ) {
event.preventDefault();
$("#userid_input").val(ui.item.id);
$("#user_input").val(ui.item.value);
$("#formbenutzersuche").submit();
}
});
});
function behandelt(str) {
result = $.ajax({
type: 'POST',
async: false,
url: 'inc/behandelt.php',
data: ({
terminid: str
})
}).responseText;
document.getElementById(str).style.display = 'none';
//window.location.reload(false);
}
function submitForm(sub) {
e.preventDefault();
result = $.ajax({
type: 'POST',
async: false,
url: 'impfadmin.php',
data: ({
aktion: 4,
searchdate: sub
})
}).responseText;
//window.location.reload(false);
document.body.innerHTML = result;
}