mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-29 22:20:41 +03:00
48 lines
No EOL
1 KiB
Text
48 lines
No EOL
1 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<%- include("extra/header", {title: "Main page!" }) %>
|
|
<body>
|
|
|
|
<%- include("extra/navbar", {user}) %>
|
|
|
|
|
|
<h1>Welcome, <a href=<%=user.getLink() %>> <%= user.name %></a>
|
|
<img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
|
|
<br>
|
|
You can press logout here:
|
|
<button onclick="window.location.href = '/login/'">LOGOUT</button>
|
|
|
|
</h1>
|
|
|
|
<br>
|
|
<h1>Statistics:</h1>
|
|
<ul>
|
|
<li>
|
|
<h3>Message count: <b>
|
|
<%= messages %>
|
|
</b></h3>
|
|
</li>
|
|
<li>
|
|
<h3>User count: <b>
|
|
<%= users %>
|
|
</b></h3>
|
|
</li>
|
|
<li>
|
|
<h3>Thread count: <b>
|
|
<%= threads %>
|
|
</b></h3>
|
|
</li>
|
|
<li>
|
|
<h3>Memory usage: <b>
|
|
<%= mem.toFixed(2); %> MB
|
|
</b></h3>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<%- include("extra/footer") %>
|
|
|
|
</body>
|
|
|
|
</html> |