about summary refs log tree commit diff stats
path: root/html/stats.php
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-06-30 00:31:04 -0400
committerBen Morrison <ben@gbmor.dev>2020-06-30 02:19:24 -0400
commit5db8118b173d9ff0c4bc2d2c55e72967090ad991 (patch)
tree6dd25bce475286335bd3089c076b80d7b569c029 /html/stats.php
parent603ac04ec07b8140a147e1eafaf0e3fc6baeee68 (diff)
downloadsite-5db8118b173d9ff0c4bc2d2c55e72967090ad991.tar.gz
reducing use of php in favor of shellscript build
Diffstat (limited to 'html/stats.php')
-rwxr-xr-xhtml/stats.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/html/stats.php b/html/stats.php
new file mode 100755
index 0000000..3ed3a27
--- /dev/null
+++ b/html/stats.php
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC
+  "-//W3C//DTD XHTML 1.1//EN"
+  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+    <title>tilde.institute :: Stats</title>
+    {{HEADER}}
+</head>
+<body>
+<div id="container">
+    {{LOGONAV}}
+    <div id="content">
+        <br />
+        <!--<p><code><?php include("table.weekconns"); ?></code> unique users logged in this week (resets Saturdays <code>00:00 UTC</code>)</p>-->
+        <div style="max-width: 25%; margin: 0 auto;">
+            <p style="text-align: center;">Connected Users (<code>5min</code>):</p>
+            <?php include("table.connusers"); ?>
+        </div>
+        <div class="userlist">
+            <p>Registered Users (<code>1hr</code>):</p>
+            <?php include("table.regusers"); ?>
+        </div>
+    </div>
+</div>
+</body>
+</html>