thisisjoes.site/index.php

73 lines
4.1 KiB
PHP

<!DOCTYPE html>
<html lang=en-US>
<?php $pageName = '/home.dum';
require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/title.php');
require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/head.php');
require_once($_SERVER['DOCUMENT_ROOT'] .'/blog/includes/config.php'); ?>
<body<?php require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/fromPhotos.php'); ?>>
<div class="wrapper">
<div class="header-container">
<?php require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/header.php'); ?>
<?php require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/nav.php'); ?>
</div>
<div class="content" id="content" role="main">
<div class="row">
<div class="column main">
<h1>Public Services Hosted by Joe</h1>
<p>Everything is free to use and libre software! I provide no guarantees or warranties of any sort.</p>
<svg height="10" width="100%"><line x1="0" y1="0" x2="960" y2="0"></line></svg>
<h2><a href="https://searx.thisisjoes.site/">Searx</a></h2>
<p>A customizable metasearch engine. Choose how your search works and which engines it uses.
Does not keep logs or track users. <a href="https://github.com/asciimoo/searx">Source</a></p>
<h2><a href="https://riot.thisisjoes.site/">Matrix</a></h2>
<p>A federated real-time communications network. Send text with
markdown support, make voice and video calls, and create communities.
<a href="https://github.com/matrix-org/synapse">Source</a>(Server)
<a href="https://github.com/vector-im/riot-web">Source</a>(Web-client)
</p>
<h2><a href="https://social.thisisjoes.site/">Mastodon</a></h2>
<p>A federated micro-blogging network. Share with and follow users from all
across the Fediverse. Supports up to 500 characters and small media
attachments. <a href="https://github.com/tootsuite/mastodon">Source</a></p>
<h2><a href="https://git.thisisjoes.site">Gitea</a></h2>
<p>An easy to use alternative to GitHub. Host and manage your public or private
repositories! Includes wiki functionality and an
<a href="https://git.thisisjoes.site/api/swagger">advanced API</a>.
<a href="https://github.com/go-gitea/gitea">Source</a>
</p>
<h2><a href="https://puny.space">PrivateBin</a></h2>
<p>A minimalist, client-side encrypted pastebin. The server never sees the contents of your pastes.
Offers password protection, comments, markdown, syntax highlighting, and one time use pastes.
<a href="https://github.com/PrivateBin/PrivateBin">Source</a>
</p>
</div>
<div class="column aside">
<div class="kofi-button aside">
<a class="kofi-content" href="https://ko-fi.com/thisisjoe" title="Support me on ko-fi.com">
<img id="kofi-cup" src="/img/core/ko-fi-opt.png"><span class="kofi-cta">Buy joe a coffee</span>
</a>
</div>
<h2>Latest Posts</h2>
<?php
try {
$stmt = $db->query('SELECT postID, postSlug, postTitle, postDesc, postDate FROM blog_posts ORDER BY postID DESC LIMIT 3');
while($row = $stmt->fetch()){
echo '<div class="post-preview">';
echo '<h3><a href="/blog/'.$row['postSlug'].'">'.$row['postTitle'].'</a></h3>';
echo '<p class="post-date">Posted on '.date('F jS Y', strtotime($row['postDate'])).'</p>';
echo '<div class="post-description">'.$row['postDesc'].'</div>';
echo '<p><a href="/blog/'.$row['postSlug'].'">Read More</a></p>';
echo '</div>';
echo '<svg height="10" width="100%"><line x1="0" y1="0" x2="960" y2="0"></line></svg>';
}
}
catch(PDOException $e) {
echo $e->getMessage();
}
?>
</div>
</div>
</div>
<?php require($_SERVER['DOCUMENT_ROOT'] .'/sedulcni/footer.php'); ?>
</div>