summaryrefslogtreecommitdiff
path: root/data/tpl/home
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-13 13:45:20 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-13 13:45:20 +0000
commitd7046f5d38004ff20739798c18f5796c31676546 (patch)
tree1639e6a8c3b74588bff7be6aaf6cf5e04e3bc63f /data/tpl/home
W00t, VNDB on SVN!
git-svn-id: svn://vndb.org/vndb@1 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl/home')
-rw-r--r--data/tpl/home67
1 files changed, 67 insertions, 0 deletions
diff --git a/data/tpl/home b/data/tpl/home
new file mode 100644
index 00000000..5d8cd763
--- /dev/null
+++ b/data/tpl/home
@@ -0,0 +1,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.13!</h3>
+<p class="desc">
+ And it's time for an update again: This update makes it possible to specify how much
+ a category applies to a visual novel, adds a language filter to the category browser,
+ and fixes many, many bugs.
+ <br />
+ <a href="http://forum.vndb.org/index.php?topic=43.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='.$_->{id} ]]" 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>
+
+