changed header.htmml to header.php

This commit is contained in:
2022-06-09 20:54:40 +02:00
parent 07becd4502
commit 78b481341f
9 changed files with 14 additions and 40 deletions

View File

@@ -20,7 +20,7 @@
die;
}
echo file_get_contents("html/header.html");
echo file_get_contents("heder_footer/header.php");
?>
<body>
@@ -51,5 +51,5 @@
</body>
<?php
$con = null;
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
?>

View File

@@ -10,7 +10,7 @@
die;
}
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -29,5 +29,5 @@
</body>
<?php
$con = null;
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
?>

View File

@@ -10,7 +10,7 @@
die;
}
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -36,5 +36,5 @@
<?php
$con = null;
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
?>

View File

@@ -1,2 +0,0 @@
</html>

View File

@@ -1,24 +0,0 @@
<!DOCTYPE html>
<html lang="de">
<head>
<title>Punktesystem</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/styles.css">
</head>
<header>
<section>
<div id="logo">
Punktesystem-KSP
</div>
<nav>
<a href="logout.php">logout</a>
<a href="index.php">Home</a>
<a href="mannschaft.php">Mannschaftsverwaltung</a>
<a href="stationen.php">Stationen</a>
<a href="statistik.php">Statistik</a>
</nav>
</section>
</header>

View File

@@ -5,7 +5,7 @@
$user_data = check_login($con);
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -14,5 +14,5 @@
</body>
<?php
$con = null;
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
?>

View File

@@ -5,7 +5,7 @@
include("../scripts/functions.php");
$user_data = check_login($con);
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -33,6 +33,6 @@
</body>
<?php
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
$con = null;
?>

View File

@@ -5,7 +5,7 @@
include("../scripts/functions.php");
$user_data = check_login($con);
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -35,6 +35,6 @@
</body>
<?php
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
$con = null;
?>

View File

@@ -15,7 +15,7 @@
$session = $_SESSION['select-statistics'];
}
echo file_get_contents("html/header.html");
echo file_get_contents("header_footer/header.php");
?>
<body>
@@ -60,6 +60,6 @@
</body>
<?php
echo file_get_contents("html/footer.html");
echo file_get_contents("header_footer/footer.html");
$con=null;
?>