summaryrefslogtreecommitdiff
path: root/data/tpl/home
blob: 3b36246d400ebaceafed985fbe170c90cc718255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<h2>Welcome to VNDB - The Visual Novel Database!</h2>
<p class="desc">
 <br />
 VNDB.org strives to be a comprehensive database for information about visual novels and
 eroge.<br />
 This website is built as a wiki, meaning that anyone can freely add and contribute information
 to the database, allowing us to create the largest, most accurate and most up-to-date visual novel
 database on the web.<br />
 Registered users are also able to keep track of a personal list of games they want to play or have finished
 and they can vote on all visual novels.<br /><br />
 
 Feel free to <a href="/v">browse around</a>, <a href="/u/register">register an account</a>
 or to participate in the discussions about visual novels or VNDB on our <a href="/t">discussion board</a>.
</p>

[[ if($d{an}{title}) { ]]-
<h3 class="home">[[: $d{an}{title} ]]-
 <p class="actions">[[= age $d{anpost}{date} ]]</p></h3>
<p class="desc">
 [[= summary $d{anpost}{msg}, 200 ]]
 <br />
 <a href="/t[[= $d{an}{id} ]]">Read more...</a> - <a href="/t/an">news archive</a>.
</p>
[[ } ]]-

<ul class="home">
 <li><b>Recent changes</b></li>
 [[ for (@{$d{recentedits}}) {  my $t = (qw|v r p|)[$_->{type}]; ]]-
 <li>[[= $t ]]:<a href="/[[= $t.$_->{iid}.'.'.$_->{rev} ]]" title="[[: $_->{ioriginal}||$_->{ititle} ]]">[[: shorten $_->{ititle}, 30 ]]</a></li>
 [[ } ]]-
</ul>

<ul class="home">
 <li><b>Recent posts</b></li>
 [[ for (@{$d{recentposts}}) { ]]-
 <li><a href="/t[[= $_->{id}.'.'.$_->{count} ]]" title="[[: $_->{original}||$_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a> <i>[[= age $_->{ldate}, 1 ]]</i></li>
 [[ } ]]-
</ul>

<ul class="home">
 <li><b>Upcoming releases</b></li>
 [[ for (@{$d{upcomingrel}}) { ]]-
 <li>[[= datestr $_->{released}, 1 ]]- <a href="/r[[= $_->{id} ]]" title="[[: $_->{original}||$_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a></i></li>
 [[ } ]]-
</ul>

<ul class="home break">
 <li><b>Recently added visual novels</b></li>
 [[ for (@{$d{recentvns}}) { ]]-
 <li><a href="/v[[= $_->{iid} ]]" title="[[: $_->{ioriginal}||$_->{ititle} ]]">[[: shorten $_->{ititle}, 30 ]]</a></li>
 [[ } ]]-
</ul>

<ul class="home">
 <li><b>Random visual novels</b></li>
 [[ for (@{$d{randomvns}}) { ]]-
 <li><a href="/v[[= $_->{id} ]]" title="[[: $_->{original}||$_->{title} ]]">[[: shorten $_->{title}, 30 ]]</a></li>
[[ } ]]-
</ul>

<ul class="home">
 <li><b>Just released</b></li>
 [[ for (@{$d{justrel}}) { ]]-
 <li>[[= datestr $_->{released}, 1 ]]- <a href="/r[[= $_->{id} ]]" title="[[: $_->{original}||$_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a></i></li>
 [[ } ]]-
</ul>