summaryrefslogtreecommitdiff
path: root/about.php
diff options
context:
space:
mode:
Diffstat (limited to 'about.php')
-rw-r--r--about.php22
1 files changed, 14 insertions, 8 deletions
diff --git a/about.php b/about.php
index 2b3d316..77c9ab1 100644
--- a/about.php
+++ b/about.php
@@ -18,6 +18,19 @@ echo
'</head>' .
'<body class="' . $frontend->getthemeclass(false) . 'about">';
+include "data/instances.php";
+$compiledinstancelist = "";
+foreach ($instancelist as $instance)
+{
+ $compiledinstancelist .= "<tr> <td>".$instance["name"]."</td>";
+ $compiledinstancelist .= "<td> <a href=\"".$instance["address"]["uri"]."\">".$instance["address"]["displayname"]."</a>";
+ foreach ($instance["altaddresses"] as $alt)
+ {
+ $compiledinstancelist .= "<a href=\"".$alt["uri"]."\">(".$alt["displayname"].")</a></td>";
+ }
+ $compiledinstancelist .= "</tr>";
+}
+
$left =
'<a href="/" class="link">&lt; Go back</a>
@@ -87,14 +100,7 @@ $left =
<td>Name</td>
<td>Address</td>
</tr>
- <tr>
- <td>lolcat\'s instance (master)</td>
- <td><a href="https://4get.ca">4get.ca</a><a href="http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion">(tor)</a></td>
- </tr>
- <tr>
- <td>zzls\'s instance</td>
- <td><a href="https://4get.zzls.xyz/">4get.zzls.xyz</a><a href="http://4get.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion">(tor)</a></td>
- </tr>
+ '.$compiledinstancelist.'
</table>
<a href="#schizo"><h2 id="schizo">How can I trust you?</h2></a>