www/now/index.php
2023-09-10 17:44:53 +03:00

78 lines
No EOL
3.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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">
<meta name="description" content="My current works">
<meta name="keywords" content="personal,website,now,doing,working,stuff,current">
<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>Now | Aliberk Sandıı</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>
<article>
<h1 class="title">What I'm Doing Now</h1>
<ul>
<li>📚 Studying for YKS (Türkiye University Exam)</li>
<ul>
<li>📑 remediating TYT subjects</li>
<li>📖 studying AYT subjects</li>
<li>🗒️ using Anki/Ankidroid for taking notes</li>
</ul>
<li>🔐 Working on a VPN service development and marketing - <a href="https://vpn.asandikci.com">SSA VPN</a></li>
<li>🖧 Hosting web servers, one of them -<i>this one</i>- is for public usage, about me, links, blogs etc. Second one is for personal usage. Others are VPN servers</li>
<li>🗫 Surfing Fediverse from my own Firefish server and pixelfed, communicating with other fedizens. Sharing photos, microblogging</li>
<li>💁🏻 Also trying to help some FOSS applicatons with some feature requests, bug tracking, translating, testing and sometimes with development</li>
</ul>
<p>Last Update: 10 September 2023</p>
<!-- see previous version: https://git.aliberksandikci.com.tr/asandikci.com/www/src/commit/23ee6aae97803680cbea1d4c49611e550b99c4d3/now/index.php -->
<p style="font-size:small;">Inspired by: <br><a href="https://johanv.net/now/">https://johanv.net/now/</a><br><a href="https://nownownow.com/">https://nownownow.com/</a></p>
</article>
<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>