summaryrefslogtreecommitdiff
path: root/data/tpl/home
blob: f796f8b6f4145232424fc84ff97dc63d19b855db (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
67
<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 discuss about the database at our <a href="http://forum.vndb.org/">forums</a>.
</p>

<h3 class="home">VNDB 1.17!</h3>
<p class="desc">
 This update includes improvements in the relation graph generator, adds and changes
 some categories, adds two new links to VN pages, a GTIN field to releases, and
 two new platforms.
 <br />
 <a href="http://forum.vndb.org/index.php?topic=54.0">Read more...</a> - <a href="http://forum.vndb.org/index.php?board=7.0">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="[[: $_->{ititle} ]]">[[: shorten $_->{ititle}, 30 ]]</a></li>
 [[ } ]]-
</ul>

<ul class="home">
 <li><b>Recent votes</b></li>
 [[ for (@{$d{recentvotes}}) { ]]-
 <li><a href="/v[[= $_->{vid} ]]" title="[[: $_->{title} ]]">[[: shorten $_->{title}, 30 ]]</a> ([[= $_->{vote} ]])</li>
 [[ } ]]
</ul>

<ul class="home">
 <li><b>Most popular</b></li>
 [[ for (@{$d{popular}}) { $_->{c_votes} =~ s#^([0-9]{2}.[0-9]{2}).+$#sprintf '%.1f', $1#e; ]]-
 <li><a href="/v[[= $_->{id} ]]" title="[[: $_->{title} ]]">[[: shorten $_->{title}, 30 ]]</a> ([[= $_->{c_votes} ]])</li>
 [[ } ]]
</ul>

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

<ul class="home">
 <li><b>Recently added producers</b></li>
 [[ for (@{$d{recentps}}) { ]]-
 <li><a href="/p[[= $_->{iid} ]]" title="[[: $_->{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="[[: $_->{title} ]]">[[: shorten $_->{title}, 30 ]]</a></li>
 [[ } ]]-
</ul>