about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2019-01-02 05:16:19 +0000
committerahriman <ahriman@falte.red>2019-01-02 05:16:19 +0000
commit6f3926683e55d61f4325e25dd7fc849127fb835a (patch)
tree2b2c48ce0137401e758d5c42dcc6b0e8e77cefec
parent2bd7f83a6495011ada78ca8a9f2af417caf01760 (diff)
downloadsite-6f3926683e55d61f4325e25dd7fc849127fb835a.tar.gz
wiki index page completed
-rw-r--r--table.connusers2
-rw-r--r--wiki.php42
2 files changed, 43 insertions, 1 deletions
diff --git a/table.connusers b/table.connusers
index 91c5656..b3da0dc 100644
--- a/table.connusers
+++ b/table.connusers
@@ -1,5 +1,5 @@
 <ul>
-<li>lorenzo</li>
 <li>nimbius</li>
 <li>rnelson</li>
+<li>lorenzo</li>
 </ul>
diff --git a/wiki.php b/wiki.php
new file mode 100644
index 0000000..149b5fb
--- /dev/null
+++ b/wiki.php
@@ -0,0 +1,42 @@
+<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/1/DTD/1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/" lang="en" xml:lang="en">
+<head>
+        <meta http-equiv="Content-Type" content="text; charset=utf-8" />
+        <title>tilde.institute :: Wiki</title>
+        <link rel="stylesheet" href="tilde.css" type="text/css"/>
+        <link rel="icon" type="image/png" href="icon.png"/>
+</head>
+<body>
+<div id="container">
+	<div id="logo">
+        <img src="logo.png" alt="" /><br />
+		<div id="logobyline">
+			of OpenBSD Education
+		</div>
+	</div>         
+	<div id="navigation">
+		<a href="http://tilde.institute">News</a> :: <a href="/signup">Sign Up</a> :: <a href="/irc">IRC</a> :: <a href="/start">BCHS Guide</a> :: <a href="/coc">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a> :: <a href="/wiki">Wiki</a> :: <a href="https://tildegit.org/institute">Git</a> :: <a href="/stats">Stats</a>
+	</div>
+	<div id="content">
+    <?php 
+        if (!isset($_GET["page"]) || !file_exists("wikipages/{$_GET['page']}.wiki")) {
+    ?>
+
+        <h2>~institute wiki</h2>
+        <p>welcome to the tilde.institute wiki</p>
+
+        <p>if you want to contribute, check out the
+        <a href="https://tildegit.org/institute/site/src/branch/master/wikipages">repository</a> and open a PR!
+        </p>
+
+        <h3>Pages:</h3>
+        <a href="wiki.php?page=unixprotips">UNIX ProTips</a><br />
+        <?php
+
+        } else {
+            include("wikipages/{$_GET['page']}.wiki");
+        } ?>
+	</div>
+</div>
+</body>
+</html>