2022-03-13 16:16:46 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/meta"), {title: "Welcome to the "+dataset.forum_name+"-forum!" }) %>
|
2022-03-22 21:25:09 +03:00
|
|
|
|
2022-08-24 22:39:38 +03:00
|
|
|
|
2022-09-01 14:02:47 +03:00
|
|
|
<body>
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/navbar")) %>
|
2022-08-28 19:03:32 +03:00
|
|
|
|
2022-08-26 19:39:25 +03:00
|
|
|
|
2023-05-24 15:40:09 +03:00
|
|
|
<div class="usercontent">
|
2022-09-01 14:02:47 +03:00
|
|
|
<% if (user) { %>
|
|
|
|
<h2 style="color: var(--main);">
|
|
|
|
<div class="box-username">Welcome, <%= user.name %>
|
|
|
|
<div class="avatar"><img src="<%=user.avatar %>"></div>
|
|
|
|
</div>
|
2023-05-09 13:28:45 +03:00
|
|
|
Main page will be rewritten soon, so stay tuned!
|
2022-09-01 14:02:47 +03:00
|
|
|
</h2>
|
|
|
|
<br>
|
2023-05-09 13:28:45 +03:00
|
|
|
|
2022-09-01 14:02:47 +03:00
|
|
|
<% } else { %>
|
|
|
|
<h2 style="color: var(--main);">Welcome, Guest!<br>You can press the button to register:
|
|
|
|
<a href="/register" class="btn-outline-primary">REGISTER</a>
|
|
|
|
|
|
|
|
</h2>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<h2 style="color: var(--second);">Statistics:</h2>
|
2022-03-13 16:16:46 +03:00
|
|
|
|
2023-05-24 15:40:09 +03:00
|
|
|
<div class="userbox">
|
|
|
|
<h2 class="userbox-title">Message count:</h2>
|
|
|
|
<h2 class="userbox-value"><%= messages %></h2>
|
2022-09-01 14:02:47 +03:00
|
|
|
</div>
|
|
|
|
|
2023-05-24 15:40:09 +03:00
|
|
|
<div class="userbox">
|
|
|
|
<h2 class="userbox-title">User count: </h2>
|
|
|
|
<h2 class="userbox-value"><%= users %> </h2>
|
2022-09-01 14:02:47 +03:00
|
|
|
</div>
|
|
|
|
|
2023-05-24 15:40:09 +03:00
|
|
|
<div class="userbox">
|
|
|
|
<h2 class="userbox-title">Thread count:</h2>
|
|
|
|
<h2 class="userbox-value"><%= threads %></h2>
|
2022-09-01 14:02:47 +03:00
|
|
|
</div>
|
|
|
|
|
2023-05-24 15:40:09 +03:00
|
|
|
<div class="userbox">
|
2023-05-25 17:23:31 +03:00
|
|
|
<h2 class="userbox-title">Category count:</h2>
|
|
|
|
<h2 class="userbox-value"><%= categories %></h2>
|
2022-09-01 14:02:47 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/footer")) %>
|
2022-09-01 14:02:47 +03:00
|
|
|
|
|
|
|
</body>
|
2022-08-26 19:39:25 +03:00
|
|
|
|
2022-09-01 14:02:47 +03:00
|
|
|
</html>
|