Files
lost-city-Website/view/title.ejs
T

99 lines
4.0 KiB
Plaintext

<%- include('./_partial/header.ejs'); %>
<%- include('./_components/frame-top.ejs'); %>
<%- include('./_components/content-start.ejs'); %>
<img src=/img/title/rslogo.gif width=312 height=100>
<table width=400>
<tr>
<td>
<center>
<span style="font-size:14px; color:white;">There <%= playerCount != 1 ? 'are' : 'is' %> currently <%= playerCount %> <%= playerCount != 1 ? 'people' : 'person' %> playing!</span>
</center>
</td>
</tr>
</table>
<br>
<%- include('./_components/stones-border-top.ejs'); %>
<%- include('./_components/stones-content-start.ejs'); %>
<img src=/img/title/blank.gif height=7 width=1><br>
<b>Latest News and Updates</b><br>
<table bgcolor=black cellpadding=0 cellspacing=0>
<tr valign=top>
<td width=100 align=center><a href='/news'><img src=/img/title/mm_scroll.jpg border=0></a></td>
<td width=350>
<center>
<table height=130>
<tr>
<td>
<table width=350>
<% for (let i = 0; i < newsposts.length; i++) { const post = newsposts[i]; const day = post.date.getDate(); const month = post.date.toLocaleString('default', { month: 'short' }); const year = post.date.getFullYear(); %>
<tr><td><a href="/news/<%= post.id %>" class=c><%= post.title %></a></td><td align="right"><%= day %>-<%= month %>-<%= year %></td></tr>
<% } %>
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
To view a full list of news and updates, click <a href="/news" class=c>here</a>.<br>
<%- include('./_components/stones-content-end.ejs'); %>
<%- include('./_components/stones-border-bottom.ejs'); %>
<br>
<%- include('./_components/stones-border-top.ejs'); %>
<%- include('./_components/stones-content-start.ejs'); %>
<%- include('./_components/options-start.ejs'); %>
<td width=100 align=center><a href='/detail'><img src=/img/title/mm_sword.jpg border=0></a></td>
<td width=120>
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: relative;">
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: absolute;">
<a href='/detail'><img src=/img/title/blank.gif width=100 height=45 border=0></a>
</div>
</div>
<table width=100 height=45 bgcolor=black cellpadding=2><tr><td class=b2 bgcolor=#570700 background=/img/title/shinystonered.jpg><center><b>Play<br>Game</b></center></td></tr></table>
Play 2004Scape right now!<br>
<a href='/detail' class=c>Click here</a>
</td>
<td width=10></td>
<td width=100 align=center><a href='/create?reset'><img src=/img/title/mm_player.jpg border=0></a></td>
<td width=120>
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: relative;">
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: absolute;">
<a href='/create?reset'><img src=/img/title/blank.gif width=100 height=45 border=0></a>
</div>
</div>
<table width=100 bgcolor=black cellpadding=2><tr><td class=b2 bgcolor=#570700 background=/img/title/shinystonered.jpg><center><b>Create Account</b></center></td></tr></table>
Create an account for both the game and our website.<br>
<a href='/create?reset' class=c>Click Here</a>
</td>
<%- include('./_components/options-continue.ejs'); %>
<td width=100 align=center><a href='https://github.com/2004Scape/Server'><img src=/img/title/mm2_rs2b.jpg border=0></a></td>
<td width=120>
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: relative;">
<DIV STYLE="LEFT: 0px; TOP: 0px; POSITION: absolute;">
<a href='https://github.com/2004Scape/Server'><img src=/img/title/blank.gif width=100 height=45 border=0></a>
</div>
</div>
<table width=100 height=45 bgcolor=black cellpadding=2><tr><td class=b bgcolor=#474747 background=/img/stoneback.gif><center><b>Source Code</b></center></td></tr></table>
Download our source code.<br>
<a href='https://github.com/2004Scape/Server' class=c>Click Here</a>
</td>
<%- include('./_components/options-end.ejs'); %>
<%- include('./_components/stones-content-end.ejs'); %>
<%- include('./_components/stones-border-bottom.ejs'); %>
<%- include('./_components/content-end.ejs'); %>
<%- include('./_partial/footer.ejs'); %>