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.
<?
echo "<HTML><BODY>";
if (!isset ($smvfreudenhain) || $smvfreudenhain == 0){
if (!isset ($logcheck) || $logcheck == 0){
echo "<TABLE WIDTH=\"150\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
echo "<FORM NAME=\"login\" METHOD=\"post\" ACTION=\"login.php\"><TR><TD ALIGN=\"CENTER\">";
echo "<INPUT TYPE=\"hidden\" NAME=\"logcheck\" VALUE=\"1\">";
echo "<INPUT TYPE=\"text\" NAME=\"id\" VALUE=\"Name\"></TD></TR>";
echo "<TR><TD ALIGN=\"CENTER\"><INPUT TYPE=\"text\" NAME=\"pwd\" VALUE=\"Passwort\"></TD></TR>";
echo "<TR><TD ALIGN=\"CENTER\"><INPUT TYPE=\"submit\" NAME=\"login\" VALUE=\"login\"></TD></TR></FORM></TABLE>";
}else if (isset ($logcheck) || $logcheck == 1){
$trenn = "§";
echo "$id | $pwd <BR>";
$identity = $id.$trenn.$pwd;
setcookie("smvfreudenhain",$identity, time()+3600, "", "", 0);
echo "Cookie erfolgreich gesetzt. <BR> <a href=\"login.php\">zurück</a>";
}else{
echo "Unbekannter Fehler - Cookie wurde nicht gesetzt.";
}
}else if (isset ($smvfreudenhain) || $smvfreudenhain != 0){
echo "Sie wurden erfolgreich eingeloggt.<BR>Ihre Daten<BR>";
echo $smvfreudenhain;
echo "<BR>";
$arr = explode("§",$smvfreudenhain);
$id = $arr[0];
$pwd = $arr[1];
echo $id;
echo "<BR>";
echo $pwd;
}else{
echo "Fehler unbekannt";
}
echo "</BODY></HTML>";
?>