www/about/index.php

82 lines
2.2 KiB
PHP
Raw Normal View History

2023-06-25 23:15:41 +03:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<?php
### ERROR HANDLING ###
function warnError($errno, $errstr, $errfile, $errline)
{
echo "<br><p style='padding:0px;margin:0px;background-color:white;color:black;'><b style='color:red;'>Error:</b> [$errno] $errstr <br> in file <b style='color:blue'>$errfile</b> line <b style='color:red'>$errline</b></p>";
}
set_error_handler("warnError");
if (!$_SERVER['DOCUMENT_ROOT']) {
$_SERVER['DOCUMENT_ROOT'] = '/weblink';
}
# TODO separate file
?>
<head>
<!--!Copyright © 2023 Aliberk Sandıı-->
<meta charset="UTF-8">
<!-- Meta Content -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-07-15 15:02:06 +03:00
<meta name="description" content="About Me">
2023-06-25 23:15:41 +03:00
<meta name="keywords" content="personal,website,about,information,whoami,aboutme">
<meta name="author" content="Aliberk Sandıı">
<!-- CSS Files -->
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/css");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
}
} ?>
<title>About Me| Aliberk Sandıı</title>
</head>
<body>
2023-07-15 15:02:06 +03:00
<header>
<a href="/" id="hlogo"><img src="/assets/images/icons/favicon.png"></a>
<div class="tmpinfo">This page is still in active development</div>
</header>
2023-06-25 23:15:41 +03:00
<div class="block-out">
<div class="block-in" style="text-align:center;">
<div>
2023-07-15 15:02:06 +03:00
<h1>Aliberk Sandıı</h1>
<p>High School Student</p>
<p>Linux User</p>
<p>Pardus Volunteer</p>
2023-06-25 23:15:41 +03:00
2023-07-15 15:02:06 +03:00
<sup>will be updated, draft.</sup>
<br>
2023-06-25 23:15:41 +03:00
2023-07-15 15:02:06 +03:00
<p><a href="../link">My Links</a></p>
<p><a href="../now">What I am doing now</a></p>
<p style="display: none;">My Achivements</p>
</div>
2023-06-25 23:15:41 +03:00
2023-07-15 15:02:06 +03:00
</div>
2023-06-25 23:15:41 +03:00
</div>
2023-07-15 15:02:06 +03:00
<footer>
<div class="tmpinfo">This page is still in active development</div>
</footer>
2023-06-25 23:15:41 +03:00
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
</body>
</html>