tmp test for CORS

This commit is contained in:
Aliberk Sandıkçı 2023-11-22 19:36:18 +03:00
parent 303eab8f46
commit 82530f1ec2
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -26,7 +26,7 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<meta name="author" content="Aliberk Sandıı"> <meta name="author" content="Aliberk Sandıı">
<!-- CSS Files --> <!-- CSS Files -->
<link rel="stylesheet" type="text/css" href="/iflpanel/ssavpn/assets/css/main.css"> <!-- INNER CSS !!! --> <link rel="stylesheet" type="text/css" href="/iflpanel/ssavpn/assets/css/main.css"> <!-- INNER CSS !!! -->
<link rel="stylesheet" type="text/css" href="/assets/css/extra_without_scss.css"> <link rel="stylesheet" type="text/css" href="/assets/css/extra_without_scss.css">
<title> <title>
@ -42,12 +42,12 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
</header> </header>
<div class="main-scrollable"> <div class="main-scrollable">
<article class="plain" style="text-align:center;align-items:center;"> <article class="plain" style="text-align:center;align-items:center;">
<h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bana Bi' Kahve Ismarla </h1> <h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bana Bi' Kahve Ismarla </h1>
<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>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> <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> <p></p>
<hr style="width: 100%;"><br> <hr style="width: 100%;"><br>
<h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bağışçılar</h1> <h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800;">Bağışçılar</h1>
</article> </article>
<footer> <footer>
@ -61,7 +61,18 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' '; echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
} }
} ?> } ?>
<script src="../assets/copy.js"></script>
<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>
</body> </body>
</html> </html>