dynamic index site to list all active websites
This commit is contained in:
21
server/index.php
Normal file
21
server/index.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Welcome to MIT</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome</h1>
|
||||
<p>...to the internal website storage server of Moshi Institute of Technology.</p>
|
||||
|
||||
<h3>For Students</h3>
|
||||
<p>To view the <strong>publicly shared files</strong>, please <a href="/public">click here</a>.</p>
|
||||
<p>Please visit the students' own websites on this server for more.</p>
|
||||
<p>There're currently following websites active:</p>
|
||||
<ul>
|
||||
<?php include 'websites.txt'; ?>
|
||||
</ul>
|
||||
|
||||
<h3>For Teachers</h3>
|
||||
<p>Teachers can visit the internal shared files (password protected). Please visit <a href="/teachers">this website</a>.<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user