Everything previously under www/src now are under www/ Moved style.CSS under www/ressources, to allow blocking http requests to www/lib completly Moved <head> and <header> generation under lib/PHP/output/sections.php to reduce redundancy within files. Also implemented a system to allow them to generate relatif paht for href to ressources depending on their deepness within www/ hierarchy.
27 lines
621 B
PHP
27 lines
621 B
PHP
<?php
|
|
require_once '../lib/PHP/session/begin.php';
|
|
require_once '../lib/PHP/session/continue.php';
|
|
require_once '../lib/PHP/session/sessiontest.php';
|
|
require_once '../lib/PHP/session/nosessiontest.php';
|
|
require_once '../lib/PHP/output/sections.php';
|
|
?>
|
|
|
|
<html>
|
|
<?php print_website_meta(1, 'Profile - Project BDEE'); ?>
|
|
<body>
|
|
|
|
<?php print_website_header(1); ?>
|
|
|
|
<main>
|
|
<?php
|
|
require_once"../lib/PHP/session/continue.php";
|
|
require_once"../lib/PHP/session/nosessiontest.php";
|
|
if(is_logged_in())
|
|
{
|
|
$name = $_SESSION["displayname"];
|
|
echo "<h2> welcome $name </h2>";
|
|
}
|
|
?>
|
|
</html>
|
|
</body>
|
|
</main>
|