<%- include("../partials/head") %> Misc:
Home Page
New Post Form
Signup Form
Indexes:
Posts Index
Users Index
Comments Index
Posts:
<% for (let postID = 0; postID < posts.length; postID++) { %> <% if (posts[postID]["deleted"] != true) { %> <%= posts[postID]["title"] %>
<% }; %> <% }; %> Comments:
<% for (let postID = 0; postID < comments.length; postID++) { %> <% for (let comment_index = 0; comment_index < comments[postID].length; comment_index++) { %> "><%= comments[postID][comment_index]["id"] %>
<% }; %> <% }; %> Users:
<% for (let userID = 0; userID < users.length; userID++) { %> <% if (users[userID]["deleted"] != true) { %> "><%= users[userID]["username"] %>
<% }; %> <% }; %> Edit Posts:
<% for (let postID = 0; postID < posts.length; postID++) { %> <% if (posts[postID]["deleted"] != true) { %> Edit <%= posts[postID]["title"] %>
<% }; %> <% }; %> Edit Users:
<% for (let userID = 0; userID < users.length; userID++) { %> <% if (users[userID]["deleted"] != true) { %> ">Edit <%= users[userID]["username"] %>
<% }; %> <% }; %>