www/links/index.php

50 lines
1.5 KiB
PHP
Raw Normal View History

2023-05-11 16:23:14 +03:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<!--!Copyright © 2023 Aliberk Sandıı-->
<meta charset="UTF-8">
<!-- Meta Content -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="My Social Media Links">
<meta name="keywords" content="personal,website,links,social,media,contact,communication">
<meta name="author" content="Aliberk Sandıı">
<!-- CSS Files -->
<?php
2023-05-11 16:29:20 +03:00
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT']."/assets/css");
2023-05-11 16:23:14 +03:00
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
}
} ?>
<title>Aliberk Sandıı | Personel Website | aliberksandikci.com.tr</title>
</head>
<body>
<div class="outline">
<ul class="inline">
<li><a href="https://asandikci.com/about">About me (not ready)</a></li>
<li><a href="https://mastodon.social/@asandikci">Mastodon (Fediverse)</a></li>
</ul>
<ul class="inline">
<li><a href="https://www.instagram.com/aliberksandikci/">Instagram</a></li>
<li>Discord: kinetokor#7641</li>
</ul>
</div>
<?php
2023-05-11 16:29:20 +03:00
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT']."/assets/js");
2023-05-11 16:23:14 +03:00
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>