<?php
session_start();
-define('API_KEY', 'MBZ4EQNJ');
+define('API_KEY', 'YOUR-KEY-HERE');
define('DROP_EXPIRY_SECONDS', (24 * 3600) + 2375); // 24h 39min 35sec
define('DEAD_DROP_DIR', './Dead-drops');
define('DROP_LIMIT', 1024);
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=600, initial-scale=1">
- <title>dpolakovic.biza</title>
- <link rel="icon" href="./Pictures/dot.png">
- <link rel="stylesheet" href="./Styles/styles.css">
- <?php require_once('./php/config.php'); ?>
- <link rel="author" href="mailto:email@dpolakovic.space">
- <meta name="description" content="personal website and git server">
- </head>
- <!--
- How did you get here???
- -->
- <body>
- <!-- show pictures (banner) on top of the page -->
- <div class="banner">
- <p>
- <img id="toggleImagedpo" src="./Pictures/dpolakovic.png" alt="simple">
- <img id="toggleImageDot" src="./Pictures/dot.png" alt="website">
- <img id="toggleImageSpace" src="./Pictures/space.png" alt="website">
- </p>
- <script src="clicky-images.js"></script>
- </div>
-
- <!-- navigation bar -->
- <nav class="nav-bar">
- <ul>
- <li><a href="https://www.dpolakovic.space">Iq</a></li>
- <li><a href="https://www.dpolakovic.space/blog.php">Ugz</a></li>
- <li><a href="https://www.dpolakovic.space/dir.php">Web zok</a></li>
- <li class="dropdown">
- <input type="checkbox" id="dropdown-toggle">
- <label for="dropdown-toggle">Ax baz</label>
- <ul class="dropdown-content">
- <li><a href="https://www.dpolakovic.space/mars-clock.php">Zadop bira dotab</a></li>
- <li><a href="https://www.dpolakovic.space/dead-drop.php">Lobu huf</a></li>
- </ul>
- </li>
- <li><?php serverStatusRo() ?></li>
- </ul>
- </nav>
-
- <!-- page content -->
- <main class="content">
- <p>
- <h2> Giyo tagab </h2>
- <i> Sit ac is erken in! </i>
- <br>
- <br>
- Abe rokab ela
- <a href="./Pictures/david.jpg" class="hide-link">David</a>
- ud al ela <i>Ro</i> ro robit
- iv abe rabali web <i>biza</i>. Ab neli vev ag uyid gizit, ub
- avit ab vev, ag gizit hek camib cid iv abe ladup ta.
- Ac eluk relidek ay iv abe ugz, abe uyil lajog git ramibaf
- ur ac aluk eca alid ud dotac al cednob.<br><br>
- <center>
- <img src="./Pictures/alien.png" alt="cool dancing alien" class="bee-gifs">
- </center>
- </p>
- <p>
- Ab neli vev sicu jivabz, alif uf ac hib col ir ab,
- ac elul vev E-pipac. Ab rur abe pipac-pejab lacik gizit
- alif ab fafac kimerem in goz tafz. Unik avit ab riticel ap pipal.
- Rek ladup eb vev abaque GPG patab rubigeb ace pipalz.
- Ud sec, ruf ab uf ac ela canib sikibeb Ro!
-
- </p>
- <p>
- <center>
- <a href="mailto:email@dpolakovic.space">email@dpolakovic.space</a>
-
- <a href="./gpg.html">Kalibev abe GPG patab</a>
-
- <a href="https://emailselfdefense.fsf.org/en/">(Avif vev GPG petab?)</a>
- </center>
- </p>
- <p>
- </p>
- <br>
- <p>
- <a class="gif-buttons" href="https://en.wikipedia.org/wiki/Glider_(Conway%27s_Game_of_Life)">
- <img src="./Pictures/glider2.png" alt="the glider">
- </a>
- <form action="https://www.paypal.com/donate" method="post" target="_top" class="gif-buttons">
- <input type="hidden" name="hosted_button_id" value="FZ7CVXEDL3TY6" />
- <input type="image" src="./Pictures/donate2.png" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
- </form>
- <a class="gif-buttons" href="https://git.dpolakovic.space/?p=my-website;a=tree">
- <img src="./Pictures/sanehtml.png" alt="GIF button: html and php only">
- </a>
- <br>
- </p>
- </main>
-
- <!-- footer -->
- <footer class="footer">
- Ob-rul-sob <?php printYear() ?> David Polakovic -
- Cub pipalz eghob og
- <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
- ufne egrumopa axif.
- <br>
- <a href="https://www.dpolakovic.space/blogs/javascript">Al daf viv JavaScript</a>;
- rur at
- <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">jedac</a>
- is cik rocab. Tik ijtefal if <?php echo lastUpdtaded("index.php") ?>.
- </footer>
-
- </body>
- </html>
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>???</title>
- <link rel="icon" href="./Pictures/dot.png">
- <link rel="stylesheet" href="./Styles/styles.css">
- <?php require_once('./php/config.php');?>
- <?php require_once('./php/captcha.php');?>
- <link rel="author" href="mailto:email@dpolakovic.space">
- <meta name="description" content="personal website and git server">
- <meta name="author" content="David Polakovic, 2023">
-
- </head>
- <body>
-
- <!-- show pictures (banner) on top of the page -->
- <div class="banner">
- <p>
- <img id="toggleImagedpo" src="./Pictures/dpolakovic.png" alt="simple">
- <img id="toggleImageDot" src="./Pictures/dot.png" alt="website">
- <img id="toggleImageSpace" src="./Pictures/space.png" alt="website">
- </p>
- <script src="clicky-images.js"></script>
- </div>
-
- <!-- navigation bar -->
- <nav class="nav-bar">
- <ul>
- <li><a href="https://dpolakovic.space">About</a></li>
- <li><a href="https://dpolakovic.space/blog.php">Blog</a></li>
- <li><a href="https://dpolakovic.space/mars-clock.html">Mars clock</a></li>
- <li><a href="https://dpolakovic.space/dead-drop.html">dead-drop</a></li>
- <li><a href="https://dpolakovic.space/test.html">TEST</a></li>
- <li><a class="gitserver" href="https://git.dpolakovic.space">Git server</a>
- </li>
- </ul>
- </nav>
-
- <!-- page content -->
- <main class="content">
- <p>
- <h2> Test </h2>
- <i> This is a test. </i>
- <br>
- <br>
- WHOOOPS! Nothing's here. You better check somewhere else...<br><br>
- </p>
- <p>
- <?php
-function isWebsiteOnline2($url) {
- $timeout = 2; // Set a timeout value in seconds
-
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
-
- $response = curl_exec($ch);
- $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
-
- curl_close($ch);
-
- // Check if the HTTP code is in the range 200-299 to consider it as "online"
- return ($httpCode >= 200 && $httpCode < 300);
-}
-
-$websiteUrl = "https://git.dpolakovic.space";
-
-if (isWebsiteOnline2($websiteUrl)) {
- echo "Git server status: Online";
-} else {
- echo "Git server status: Offline";
-}
- ?>
- <p>
- <div class="code-block">
- my @long_string = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- </div>
-
- </p>
- <p>
- <!-- <img src="https://dpolakovic.space/Pictures/donkey-kong-country-eyes.gif" alt="cool dancing alien"> -->
- <img src="https://dpolakovic.space/Pictures/bonzi-buddy.gif" alt="cool dancing alien">
- </p>
- <p>
- <form action="https://www.paypal.com/donate" method="post" target="_top">
-<input type="hidden" name="hosted_button_id" value="FZ7CVXEDL3TY6" />
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
-<img alt="" border="0" src="https://www.paypal.com/en_SK/i/scr/pixel.gif" width="1" height="1" />
-</form>
- </p>
- <p>
- <a href="">DOWNLOAD NOW</a>
- </p>
-
-
-
-
-
- <br><br>
- </main>
-
- <!-- footer -->
- <footer class="footer">
- Copyright <?php printYear() ?> David Polakovic -
- Content of this web is licensed under
- <a href="https://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.
- <br>rubdeansheadwaitundernewton
- </footer>
-
- </body>
- </html>