aboutsummaryrefslogtreecommitdiff
path: root/www/stats.php
blob: 1a47ee76bc60ece24c26ca348ca4f5b0f68ed8ac (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
<?php
require_once ("lib/lib.l10n.php");
require_once("inc/config.inc.php");
require_once("inc/www.class.inc.php");
require_once("inc/funkce.inc.php");

l10n::set("$root/l10n/".$sclang."/main.lang");

$page = new C_www;
if ($GLOBALS['have_sqlite']) {
	$page->header("Photo Statistics");
	require("inc/header.inc.php");
	//recent views
	print "<h2>Recently Viewed</h2>";
	//recently commented
	print "<h2>Recently Commented</h2>";
	//most viewed
	print "<h2>Most Viewed</h2>";
	//most discussed
	print "<h2>Most Discussed</h2>";
} else {
	$page->error("No SQLite", "You need SQLite to use view statistics.");
}
$page->footer();
?>