66 lines
No EOL
1.9 KiB
PHP
66 lines
No EOL
1.9 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 © 2024 Aliberk Sandıkçı-->
|
||
<meta charset="UTF-8">
|
||
|
||
<!-- Meta Content -->
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="description" content="Main Page">
|
||
<meta name="keywords" content="personal,website,mainpage,main">
|
||
<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>Aliberk Sandıkçı</title>
|
||
</head>
|
||
|
||
|
||
<body>
|
||
|
||
<header>
|
||
<a href="/" id="hlogo"><img src="/assets/images/icons/favicon.png"></a>
|
||
<div class="tmpinfo">Aliberk Sandıkçı</div>
|
||
</header>
|
||
<article>
|
||
<h2 style="align-self: center;"><a href="./ssavpn/">👉 SSA VPN 👈</a></h2>
|
||
<h3 style="align-self: center;">!!! DİĞER İFLPANEL SERVİSLERİ KAPANMIŞTIR !!!</h3>
|
||
</article>
|
||
<footer>
|
||
<div class="tmpinfo">2024 🄯 Aliberk Sandıkçı</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>
|