Add servers and services list and fixed some other pages

This commit is contained in:
g1n 2022-12-13 14:36:40 +00:00
parent ffc791eaf7
commit c6c89323fa
6 changed files with 44 additions and 10 deletions

View File

@ -8,13 +8,11 @@
</head>
<body>
<div id="content">
<pre>
____ __ _ __ __
/ __ \_ __/ /_(_) /___/ /__
/ / / / |/_/ __/ / / __ / _ \
/ /_/ /&lt; &gt;/ /_/ / / /_/ / __/
\____/_/|_|\__/_/_/\__,_/\___/
</pre>
<pre id="banner"> ____ __ _ __ __
/ __ \_ __/ /_(_) /___/ /__
/ / / / |/_/ __/ / / __ / _ \
/ /_/ /&lt; &gt;/ /_/ / / /_/ / __/
\____/_/|_|\__/_/_/\__,_/\___/</pre>
<hr>
<ul id="menu">
<li><a href="/">Home</a></li>

View File

@ -5,13 +5,14 @@
<p>We are welcome for new users and suggestions</p>
<p>You can explore unix, host your webpage, gempage and gopherhole, chat with friends and do a lot more cool things here</p>
<p>This tilde is running Arch Linux<!-- BTW--></p>
<p>We also have <a href="/wiki/servers.php">other servers</a> that our users can use.</p>
<hr>
<h3>Our users</h3>
<?php
$total_users = 0;
if ($opendirectory = opendir('/home')) {
while (($user = readdir($opendirectory)) !== false) {
if ($user[0] != '.' and $user != "tcoin" and file_exists("/home/$user/public_html")) {
if ($user[0] != '.' and $user != "tcoin" and $user != "desertmouse" and file_exists("/home/$user/public_html")) {
echo "<p>~&gt; <a href=\"/~$user\">$user</a></p>";
$total_users+=1;
}
@ -25,4 +26,9 @@ if ($opendirectory = opendir('/home')) {
<p>~&gt; <a href="https://mail.hextilde.xyz">Webmail</a></p>
<p>~&gt; <a href="wiki/xmpp.php">XMPP</a></p>
<p>~&gt; <a href="wiki/xmpp.php#biboumi">Biboumi</a></p>
<p>~&gt; <a href="https://uptime.hextilde.xyz/status/hextilde">Uptime Kuma</a></p>
<p>~&gt; <a href="https://lounge.hextilde.xyz">TheLounge</a></p>
<p>~&gt; <a href="https://0x.hextilde.xyz">Filehosting</a></p>
<p>~&gt; <a href="https://bin.hextilde.xyz">PrivateBin</a></p>
<?php include 'footer.php' ?>

View File

@ -21,6 +21,21 @@
<br>
<input name="submit" type="submit" value="Submit"/>
</form>
<br>
<hr>
<h3>Signup on other servers</h3>
<hr>
<p>To signup on other servers you first need to have account here on our main server - hextilde.xyz</p>
<!--<p>After your account was established, enter you username here and choose account on which server you want to request</p><-->
<p>For now you need to contact admins manually via root@hextilde.xyz to request an account on another server</p>
<p>~&gt; <a href="/wiki/servers.php">List of our servers</a></p>
<hr>
<!--<form id="additionalsignup" method="POST">
<label>Username:</label> <input name="username" type="text" required="required"/><br>
<label for="hex9">Servers:</label>
<br>
<input name="hex9" type="checkbox" value="Hex9">Hex9</input>
</form>-->
<?php
} else {
$username=$_POST["username"];

View File

@ -6,13 +6,20 @@ body {
font-family: 'Inconsolata-g';
}
div {
#content {
padding: 5px;
width: 100%;
max-width: 874px;
margin: 24px auto;
}
#banner {
width: 50px;
margin: 12px auto;
position: relative;
right: 15%;
}
hr {
color: #403d39;
}

View File

@ -31,7 +31,7 @@ set use_from=yes <br>
<br>
set sendmail = "/usr/bin/msmtp" <br>
</code>
<p>You also need to configure MSMTP to send your messages</p>
<p>You also need to configure MSMTP to send your messages. The configuration file for msmtp is <code>~/.msmtprc</code></p>
<code>
defaults<br>
auth on<br>

8
wiki/servers.php Normal file
View File

@ -0,0 +1,8 @@
<?php include 'header.php'; ?>
<h3>Hextilde servers</h3>
<p>We provide several shell servers for our users</p>
<h4>~&gt; List of our servers</h4>
<p>~&gt; <a href="https://hextilde.xyz">hextilde.xyz</a> - main server on Arch Linux</p>
<p>~&gt; <a href="https://void.hextilde.xyz">void.hextilde.xyz</a> - server on Void Linux (if you have an account on Arch, you should have an account here too)</p>
<p>~&gt; <a href="http://9.hextilde.xyz">Hex9 (9.hextilde.xyz)</a> - server on Plan 9</p>
<?php include 'footer.php'; ?>