diff --git a/index.php b/index.php
index 64f5f3c..d8adb6f 100644
--- a/index.php
+++ b/index.php
@@ -1,9 +1,16 @@
Ostatnio edytowane strony:
$ ls -lt /home/
$date) {
- echo "drwxr-xr-x".rand(1,9)."".$user."".$user."".rand(1,19)."".date("M d H:i", $date)."".$user."
";
+ echo "
+
+ drwxr-xr-x
+ ".rand(1,9)."
+ ".$user."
+ ".$user."
+ ".rand(1,19)."
+ ".date("M d H:i", $date)."
+ ".$user."
+
+ ";
}
?>
diff --git a/register.php b/register.php
index 85d1e66..fba4823 100644
--- a/register.php
+++ b/register.php
@@ -22,7 +22,7 @@ Otrzymaliśmy twój formularz rejestracji. Oczekuj na dalsze informacje na swoje
$interests=htmlspecialchars($_POST["interests"]);
$pubkey=htmlspecialchars($_POST["pubkey"]);
- $to = 'smoorg@tylda.org';
+ $to = 'register@tylda.org';
$subject = 'Rejestracja usera ' . "$nick";
$message = "Nick:\t\t$nick\n" .
"Email:\t\t$email\n" .
diff --git a/stats.php b/stats.php
new file mode 100644
index 0000000..8808a0b
--- /dev/null
+++ b/stats.php
@@ -0,0 +1,28 @@
+
+
+> Statystyki
+
+ Statystyki z tego serwera tilde
+
+ - Liczba użytkowników: =count($users);?>
+ - Liczba wiadomości na IRC: TODO
+ - Liczba wiadomości na IRC dziś: TODO
+ - Ostatni server load: =shell_exec("/usr/bin/top -n 1 | grep Load | cut -d' ' -f3,4,5");?>
+ - Wolny RAM: =shell_exec("/usr/bin/free -h | grep Mem | awk '{print \$NF}'");?>
+
+
+
+
diff --git a/users.php b/users.php
index 66d5058..a01e73d 100644
--- a/users.php
+++ b/users.php
@@ -18,3 +18,9 @@ foreach (scandir("/home/") as $file) {
+
+