Fix broken PHP

This commit is contained in:
Fred Boniface 2022-10-07 22:12:42 +01:00
parent fb6496f951
commit 8664fce9fe
5 changed files with 6 additions and 19 deletions

View File

@ -1,17 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php
include "./php/age.php";
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html> <html>
<head> <head>
<?php insert_head(); ?> <?php include "./page-blocks/head.php"; ?>
<title>Access Denied</title> <title>Access Denied</title>
</head> </head>
<body> <body>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Access Denied</h1> <h1 class="page-title">Access Denied</h1>
<div class="title-image"> <div class="title-image">
<picture> <picture>
@ -30,6 +25,6 @@
person who sent you the link. If it was me - I'm sorry, I messed up. person who sent you the link. If it was me - I'm sorry, I messed up.
</p> </p>
</div> </div>
<?php insert_footer(); ?> <?php include "./page-blocks/footer.php"; ?>
</body> </body>
</html> </html>

View File

@ -1,17 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php
include "./php/age.php";
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html> <html>
<head> <head>
<?php insert_head(); ?> <?php include "./page-blocks/head.php"; ?>
<title>Not Found</title> <title>Not Found</title>
</head> </head>
<body> <body>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Not Found</h1> <h1 class="page-title">Not Found</h1>
<div class="title-image"> <div class="title-image">
<picture> <picture>
@ -30,6 +25,6 @@
person who sent you the link. If it was me - I'm sorry, I messed up. person who sent you the link. If it was me - I'm sorry, I messed up.
</p> </p>
</div> </div>
<?php insert_footer(); ?> <?php include "./page-blocks/footer.php"; ?>
</body> </body>
</html> </html>

View File

@ -1,2 +1 @@
<?php
<footer><p>© Frederick Boniface 2022</p></footer> <footer><p>© Frederick Boniface 2022</p></footer>

View File

@ -1,4 +1,3 @@
<?php
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/styles.css"> <link rel="stylesheet" href="./css/styles.css">

View File

@ -1,4 +1,3 @@
<?php
<div class="topnav" id="myTopnav"> <div class="topnav" id="myTopnav">
<a href="/">Home</a> <a href="/">Home</a>
<a href="/gpg.php">GPG</a> <a href="/gpg.php">GPG</a>