forked from do1eh/geodetective
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplaterefresh.php
More file actions
executable file
·70 lines (47 loc) · 1.84 KB
/
templaterefresh.php
File metadata and controls
executable file
·70 lines (47 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
//Sprache
declare(strict_types=1);
session_start();
//Wenn nicht angemeldet zurück zur Anmeldung
if (!isset($_SESSION['userid'])) {
session_destroy();
echo "<script>window.location.href='../splashscreen.php';</script>";
//header('location: ../splashscreen.php');
exit(1);
}
include('credentials.php');
$conn = mysqli_connect($server, $user, $pass,$dbase);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
//Alle GET Variablen einlesen
foreach($_GET as $key => $val){$$key=htmlspecialchars($val);}
foreach($_POST as $key => $val) {$$key=htmlspecialchars($val);}
if (!isset($_SESSION['language'])) {
$_SESSION['language']='de';
}
include('../locale/' . $_SESSION['language'] . '.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//DE">
<html>
<head>
<title>JOTA-JOTI Geodetective</title>
<meta http-equiv="content-type" content= "text/html; iso-8859-1">
<meta name="robots" content= "INDEX,FOLLOW">
<meta http-equiv="content-language" content= "de">
<meta name="keywords" content= "JOTA, JOTI, Pfadfinder, Scouts, Spiel, ">
<meta name="author" content= "Ralf Lüsebrink">
<meta name="publisher" content= "Ralf Lüsebrink">
<link rev="made" content= "rnh@gmx.net">
<meta name="copyright" content= "Ralf Lüsebrink">
<meta name="audience" content= "Alle">
<meta name="page-type" content= "Spiel für Pfadfinder">
<meta name="page-topic" content= "Spiel zum JOTA">
<meta name="revisit after" content= "7 days">
<META NAME="Description" CONTENT="Jamboree in the Air and Internet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="SHORTCUT ICON" href="../favicon.ico">
<link rel="stylesheet" href="../main.css">
<meta http-equiv="refresh" content="60">
</head>
<body>