2023-11-22 19:03:21 +03:00
|
|
|
|
<!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>
|
|
|
|
|
<!-- Meta Content -->
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="description" content="Bana bir kahve ısmarla, Aliberk Sandıkçı Bağış sayfası">
|
|
|
|
|
<meta name="keywords" content="bagis,dontaion,coffee,kahve">
|
|
|
|
|
<meta name="author" content="Aliberk Sandıkçı">
|
|
|
|
|
|
|
|
|
|
<!-- CSS Files -->
|
2023-11-22 19:36:18 +03:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="/iflpanel/ssavpn/assets/css/main.css"> <!-- INNER CSS !!! -->
|
2023-11-22 19:03:21 +03:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/extra_without_scss.css">
|
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
Bi' Kahve Ismarla | Aliberk Sandıkçı
|
|
|
|
|
</title>
|
|
|
|
|
<link rel="shortcut icon" href="/assets/images/icons/favicon.ico" type="image/x-icon">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<header>
|
|
|
|
|
<a href="/" id="hlogo" style="margin:auto;"><img src="/assets/images/icons/favicon.png"></a>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="main-scrollable">
|
|
|
|
|
<article class="plain" style="text-align:center;align-items:center;">
|
2023-11-22 19:36:18 +03:00
|
|
|
|
<h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bana Bi' Kahve Ismarla ☕</h1>
|
2023-11-22 19:03:21 +03:00
|
|
|
|
<div><span>IBAN:</span><span style="margin-top: 0px;text-decoration:none;"><b class="copy_element" id="IBAN" onclick="copy2Clipboard('IBAN')">TR63 0082 9000 0949 1444 3182 51</b><span id="IBAN-tip"></span></span></div>
|
|
|
|
|
<div><span>Papara Numarası:</span><span style="margin-top: 0px;text-decoration:none;"><b class="copy_element" id="Papara" onclick="copy2Clipboard('Papara')">14444318251</b><span id="Papara-tip"></span></span></div>
|
|
|
|
|
<p></p>
|
|
|
|
|
<hr style="width: 100%;"><br>
|
2023-11-22 19:36:18 +03:00
|
|
|
|
<h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bağışçılar</h1>
|
2023-11-22 19:03:21 +03:00
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<div class="tmpinfo">2023 🄯 Aliberk Sandıkçı</div>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
<?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 . ' ';
|
|
|
|
|
}
|
|
|
|
|
} ?>
|
2023-11-22 19:36:18 +03:00
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
let url = 'https://git.aliberksandikci.com.tr/asandikci.com/www/raw/branch/main/donations.json';
|
|
|
|
|
|
|
|
|
|
fetch(url)
|
|
|
|
|
.then(res => res.json())
|
|
|
|
|
.then(out =>
|
|
|
|
|
console.log('Checkout this JSON! ', out))
|
|
|
|
|
.catch(err => {
|
|
|
|
|
throw err
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2023-11-22 19:03:21 +03:00
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|