1
0

Added base page layout

This commit is contained in:
2017-03-26 16:18:47 +02:00
parent 014adeed65
commit 90201e85cd
7 changed files with 72 additions and 15 deletions

2
templates/__footer.phtml Normal file
View File

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

8
templates/__header.phtml Normal file
View File

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Inforbank</title>
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>

View File

@ -1,11 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Inforbank</title>
</head>
<body>
<p>Welkom klant <?= $_SESSION['userid'] ?></p>
<a href="/logout">Uitloggen</a>
</body>
</html>
<?php include '__header.phtml'; ?>
<p>Welkom klant <?= $_SESSION['userid'] ?></p>
<a href="/logout">Uitloggen</a>
<br/>
<pre><?php echo json_encode($klant); ?></pre>
<pre><?php echo json_encode($rekeningen); ?></pre>
<?php include '__footer.phtml'; ?>