Compare commits
5 Commits
feature/cs
...
5ce36803b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ce36803b8 | |||
| fea7b92687 | |||
| ef777eb779 | |||
| e19a66ff62 | |||
| 5bff409db4 |
@@ -13,4 +13,5 @@
|
|||||||
<a href="/wiki/">wiki</a>
|
<a href="/wiki/">wiki</a>
|
||||||
<a href="/git/">git</a>
|
<a href="/git/">git</a>
|
||||||
<a href="/register.php">dołącz</a>
|
<a href="/register.php">dołącz</a>
|
||||||
|
<a href="/users.php">użytkownicy</a>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -85,3 +85,4 @@ Poniższy formularz trafi do naszych administratorów, którzy go ocenią. Potra
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
19
users.php
Normal file
19
users.php
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
include 'header.php';
|
||||||
|
?>
|
||||||
|
<article>
|
||||||
|
Lista użytkowników i linki do ich blogów
|
||||||
|
<ul>
|
||||||
|
<?php
|
||||||
|
$host=htmlspecialchars($_SERVER['SERVER_NAME']);
|
||||||
|
//$host="";
|
||||||
|
foreach (scandir("/home/") as $file) {
|
||||||
|
if (in_array($file, array('.', '..'))) continue;
|
||||||
|
echo "<li><a href="/~$file">~$file</a></li>";
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
Reference in New Issue
Block a user