www/links.php

86 lines
3 KiB
PHP
Raw Normal View History

2023-05-11 15:36:22 +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 -->
2023-05-11 15:42:38 +03:00
<?php
$dir = new DirectoryIterator("assets/css");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
}
} ?>
2023-05-11 15:36:22 +03:00
<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
echo 'DOCUMENTS_ROOT:' . $_SERVER['DOCUMENT_ROOT'];
echo 'PHP_SELF:' . $_SERVER['PHP_SELF'];
echo 'GATEWAY_INTERFACE:' . $_SERVER['GATEWAY_INTERFACE'];
echo 'SERVER_ADDR:' . $_SERVER['SERVER_ADDR'];
echo 'SERVER_NAME:' . $_SERVER['SERVER_NAME'];
echo 'SERVER_SOFTWARE:' . $_SERVER['SERVER_SOFTWARE'];
echo 'SERVER_PROTOCOL:' . $_SERVER['SERVER_PROTOCOL'];
echo 'REQUEST_METHOD:' . $_SERVER['REQUEST_METHOD'];
echo 'REQUEST_TIME:' . $_SERVER['REQUEST_TIME'];
echo 'REQUEST_TIME_FLOAT:' . $_SERVER['REQUEST_TIME_FLOAT'];
echo 'QUERY_STRING:' . $_SERVER['QUERY_STRING'];
echo 'DOCUMENT_ROOT:' . $_SERVER['DOCUMENT_ROOT'];
echo 'HTTPS:' . $_SERVER['HTTPS'];
echo 'REMOTE_ADDR:' . $_SERVER['REMOTE_ADDR'];
echo 'REMOTE_HOST:' . $_SERVER['REMOTE_HOST'];
echo 'REMOTE_PORT:' . $_SERVER['REMOTE_PORT'];
echo 'REMOTE_USER:' . $_SERVER['REMOTE_USER'];
echo 'REDIRECT_REMOTE_USER:' . $_SERVER['REDIRECT_REMOTE_USER'];
echo 'SCRIPT_FILENAME:' . $_SERVER['SCRIPT_FILENAME'];
echo 'SERVER_ADMIN:' . $_SERVER['SERVER_ADMIN'];
echo 'SERVER_PORT:' . $_SERVER['SERVER_PORT'];
echo 'SERVER_SIGNATURE:' . $_SERVER['SERVER_SIGNATURE'];
echo 'PATH_TRANSLATED:' . $_SERVER['PATH_TRANSLATED'];
echo 'SCRIPT_NAME:' . $_SERVER['SCRIPT_NAME'];
echo 'REQUEST_URI:' . $_SERVER['REQUEST_URI'];
echo 'PHP_AUTH_DIGEST:' . $_SERVER['PHP_AUTH_DIGEST'];
echo 'PHP_AUTH_USER:' . $_SERVER['PHP_AUTH_USER'];
echo 'PHP_AUTH_PW:' . $_SERVER['PHP_AUTH_PW'];
echo 'AUTH_TYPE:' . $_SERVER['AUTH_TYPE'];
echo 'PATH_INFO:' . $_SERVER['PATH_INFO'];
echo 'ORIG_PATH_INFO:' . $_SERVER['ORIG_PATH_INFO'];
?>
2023-05-11 15:42:38 +03:00
<?php
$dir = new DirectoryIterator("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 . ' ';
}
} ?>
2023-05-11 15:36:22 +03:00
</body>
</html>