Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
function new_request()
{
XMLHTTP = null;
if (window.XMLHttpRequest) {
XMLHTTP = new XMLHttpRequest();
} else if (window.ActiveXObject) {
try {
XMLHTTP =
new ActiveXObject("Msxml2.XMLHTTP");
} catch (ex) {
try {
XMLHTTP =
new ActiveXObject("Microsoft.XMLHTTP");
} catch (ex) {
}
}
}
return XMLHTTP;
}
function search_string()
{
var XMLHTTP = new_request();
search = document.getElementById('search_string').value;
XMLHTTP.open("GET", "ajax.php?searchs="+search+"&search=1", true);
XMLHTTP.onreadystatechange = function(){
if (XMLHTTP.readyState == 1 || XMLHTTP.readyState == 2 || XMLHTTP.readyState == 3) {
document.getElementById('wait_div').style.display = 'block';
document.getElementById('overlay_div').style.display = 'block';
}
else if (XMLHTTP.readyState == 4)
{
document.getElementById('wait_div').style.display = 'none';
document.getElementById('overlay_div').style.display = 'none';
//window.location.href = "index.php";
//document.getElementById('Adminpanel').innerHTML = XMLHTTP.responseText;
document.getElementById('Content_Container').innerHTML = XMLHTTP.responseText;
toggleoptions();
}
};
//Suche
if (isset($_GET['search'])
AND ($_GET['search']) == '1'
AND isset($_GET['searchs'])
AND isset($_GET['searchs']) != "")
{
return htmlentities(suche ($_GET['searchs']));
}