137 lines
No EOL
5 KiB
PHP
137 lines
No EOL
5 KiB
PHP
<!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ıkçı-->
|
||
<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ıkçı">
|
||
|
||
<!-- 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>My Links | Aliberk Sandıkçı</title>
|
||
</head>
|
||
|
||
|
||
<body>
|
||
<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>
|
||
<div class="block-out">
|
||
|
||
<!-- GENERAL -->
|
||
<div class="block-in">
|
||
<h1 style="margin:0; text-align:center;">General</h1>
|
||
<ul class="basic-list mini-list">
|
||
<li class="block-list-in block-hover"><a href="/about">
|
||
<p class="in-p2">About me</p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">/about</p>
|
||
</a>
|
||
</li>
|
||
<li class="block-list-in block-hover"><a href="/now">
|
||
<p class="in-p2">What I am doing these days</p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">/now</p>
|
||
</a>
|
||
</li>
|
||
<li class="block-list-in block-hover"><a href="https://blog.asandikci.com/">
|
||
<p class="in-p2">Personal Blog</p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">blog.asandikci.com</p>
|
||
</a>
|
||
</li>
|
||
<li class="block-list-in block-hover"><a href="https://vpn.asandikci.com/">
|
||
<p class="in-p2">VPN Service</p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">vpn.asandikci.com</p>
|
||
</a>
|
||
</li>
|
||
<li class="block-list-in block-hover"><a href="mailto::asandikci@aliberksandikci.com.tr">
|
||
<p class="in-p2">▶ Mail ◀</p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">asandikci@aliberksandikci.com.tr</p>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<!-- FEDIVERSE -->
|
||
<div class="block-in">
|
||
<h1 style="margin:0; text-align:center;">Fediverse</h1>
|
||
<ul class="basic-list mini-list">
|
||
<li class="block-list-in block-hover" style="flex-grow:2;flex-shrink:4;"><a href="https://s.aliberksandikci.com.tr/@asandikci">
|
||
<p class="in-p2">Firefish</p>
|
||
</a>
|
||
<p class="extra" style="font-size:xx-small;margin:0;">Calckey, not active these days</p>
|
||
</li>
|
||
<li class="block-list-in block-hover" style="flex-grow:2;flex-shrink:4;" id="pixelfed"><a href="https://pixelfed.social/asandikci">
|
||
<p class="in-p2">Pixelfed</p>
|
||
</a>
|
||
<p class="extra" style="font-size:xx-small;margin:0;">More Active These days</p>
|
||
</li>
|
||
<li class="block-list-in">
|
||
<p class="in-p2">XMPP: <span style="font-size:smaller;">
|
||
asandikci@aliberksandikci.com.tr
|
||
</span></p>
|
||
<p class="extra" style="font-size:x-small;margin:0;">most active</p>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<!-- OTHER -->
|
||
<div class="block-in">
|
||
<h1 style="margin:0; text-align:center;">Other</h1>
|
||
<ul class="basic-list mini-list">
|
||
<li class="block-list-in block-hover"><a href="https://linkedin.com/in/asandikci/">
|
||
<p class="in-p">LinkedIn</p>
|
||
</a></li>
|
||
<li class="block-list-in block-hover"><a href="https://www.instagram.com/aliberksandikci/">
|
||
<p class="in-p2">Instagram</p>
|
||
</a>
|
||
<p class="extra" style="font-size:xx-small;margin:0;">Frozen, will be replaced with <a href="#pixelfed">pixelfed</a> soon</p>
|
||
</li>
|
||
<li class="block-list-in">
|
||
<p class="in-p2">Discord: asandikci</p>
|
||
<p class="extra" style="font-size:xx-small;margin:0;">not active these days, will be replaced with matrix in the future</p>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<footer>
|
||
<div class="tmpinfo">This page is still in active development</div>
|
||
</footer>
|
||
<?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>
|