+<?php\r
+ $path = $_SERVER['DOCUMENT_ROOT'];\r
+ $path .= '/includes';\r
+?>\r
+\r
<!DOCTYPE html>\r
<html lang="en">\r
<head>\r
</style>\r
</head>\r
<body>\r
- <?php include './includes/header.php';?>\r
+<?php include_once($path . '/header.php');?>\r
\r
<main>\r
<img src="/images/gifs/titles/homepageburning.gif" class="page-title">\r
- <?php include './includes/nav.php';?>\r
+ <?php include_once($path . '/nav.php');?>\r
<section style="text-align: center;">\r
<h1>You found my net home!</h1>\r
<p>Hi! welcome to my net home.</p>\r
</section>\r
</main>\r
\r
- <?php include './includes/footer.php';?>\r
+ <?php include_once($path . '/footer.php');?>\r
</body>\r
</html>
\ No newline at end of file
+<?php
+ $path = $_SERVER['DOCUMENT_ROOT'];
+ $path .= '/includes';
+?>
+
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/root.css">
</head>
<body>
- <?php include './includes/header.php';?>
+ <?php include_once($path . '/header.php');?>
<main>
<img src="/images/gifs/titles/infopageburning.gif" class="page-title">
- <?php include './includes/nav.php';?>
+ <?php include_once($path . '/nav.php');?>
<section style="text-align: center;">
<h1>About me!</h1>
<p>Sorry, nothing to see here yet :<</p>
</section>
</main>
- <?php include './includes/footer.php';?>
+ <?php include_once($path . '/footer.php');?>
</body>
</html>
\ No newline at end of file
+<?php
+ $path = $_SERVER['DOCUMENT_ROOT'];
+ $path .= '/includes';
+?>
+
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/root.css">
</head>
<body>
- <?php include './includes/header.php';?>
+ <?php include_once($path . '/header.php');?>
<main>
<img src="/images/gifs/titles/linkspageburning.gif" class="page-title">
- <?php include './includes/nav.php';?>
+ <?php include_once($path . '/nav.php');?>
<section style="text-align: center;">
<h1>Some useful links.</h1>
<p>Sorry, nothing to see here yet :<</p>
</section>
</main>
- <?php include './includes/footer.php';?>
+ <?php include_once($path . '/footer.php');?>
</body>
</html>
\ No newline at end of file
+<?php
+ $path = $_SERVER['DOCUMENT_ROOT'];
+ $path .= '/includes';
+?>
+
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/root.css">
</head>
<body>
- <?php include '/includes/header.php';?>
+ <?php include_once ($path . '/header.php');?>
<main>
<img src="/images/gifs/titles/projectspageburning.gif" class="page-title">
- <?php include '/includes/nav.php';?>
+ <?php include_once ($path . '/nav.php');?>
<section style="text-align: center;">
<h1>My projects' list</h1>
<p>below are some of the coding projects I made, some of them are left unfinished.</p>
</section>
</main>
- <?php include '../includes/footer.php';?>
+ <?php include_once ($path . '/footer.php');?>
</body>
</html>
\ No newline at end of file
+<?php
+ $path = $_SERVER['DOCUMENT_ROOT'];
+ $path .= '/includes';
+?>
+
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/root.css">
</head>
<body>
- <?php include './includes/header.php';?>
+ <?php include_once($path . '/header.php');?>
<main>
<img src="/images/gifs/titles/sitemappageburning.gif" class="page-title">
- <?php include './includes/nav.php';?>
+ <?php include_once($path . '/nav.php');?>
<section style="text-align: center;">
<h1>All paths to my site.</h1>
<p>Sorry, nothing to see here yet :<</p>
</section>
</main>
- <?php include './includes/footer.php';?>
+ <?php include_once($path . '/footer.php');?>
</body>
</html>
\ No newline at end of file