cookies - not fixed
This commit is contained in:
parent
527308b201
commit
9a7aabcc42
@ -1,5 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
require ("config.php")
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<?php require ("config.php") ?>
|
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
require_once("config.php");
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<?php require_once("config.php") ?>
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
@ -8,17 +8,18 @@
|
|||||||
* Datum: 18.05.2021
|
* Datum: 18.05.2021
|
||||||
******************************** */
|
******************************** */
|
||||||
|
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
if (isset($_GET['d'])) {
|
if (isset($_GET['d'])) {
|
||||||
$strDistrict=$_GET['d'];
|
$strDistrict=$_GET['d'];
|
||||||
$_SESSION['district'] = $_GET['d'];
|
$_SESSION['district'] = $strDistrict;
|
||||||
} else if (isset($_SESSION['district'])) {
|
} else if (isset($_SESSION['district']))
|
||||||
|
{
|
||||||
$strDistrict=$_SESSION['district'];
|
$strDistrict=$_SESSION['district'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
header("Location: start.php");
|
header("Location: start.php");
|
||||||
}
|
}
|
||||||
|
echo $strDistrict;
|
||||||
require("config.php");
|
require("config.php");
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@ -69,7 +70,7 @@
|
|||||||
<a class="nav-link" href="index.php?ref=1">Karte</a>
|
<a class="nav-link" href="index.php?ref=1">Karte</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="liste.php">Liste <span class="s"r-only">(current)</span></a>
|
<a class="nav-link" href="liste.php">Liste <span class="sr-only">(current)</span></a>
|
||||||
</li>
|
</li>
|
||||||
<!-- District -->
|
<!-- District -->
|
||||||
<form method="GET" action="index.php">
|
<form method="GET" action="index.php">
|
||||||
|
Loading…
Reference in New Issue
Block a user