ryxeo-webphotoalbum-git / www / stats.php @ 67466a8d
Historique | Voir | Annoter | Télécharger (630 octets)
1 |
<?php
|
---|---|
2 |
require_once ("lib/lib.l10n.php"); |
3 |
require_once("inc/config.inc.php"); |
4 |
require_once("inc/www.class.inc.php"); |
5 |
require_once("inc/funkce.inc.php"); |
6 |
|
7 |
l10n::set("$root/l10n/".$sclang."/main.lang"); |
8 |
|
9 |
$page = new C_www; |
10 |
if ($GLOBALS['have_sqlite']) { |
11 |
$page->header("Photo Statistics"); |
12 |
require("inc/header.inc.php"); |
13 |
//recent views
|
14 |
print "<h2>Recently Viewed</h2>"; |
15 |
//recently commented
|
16 |
print "<h2>Recently Commented</h2>"; |
17 |
//most viewed
|
18 |
print "<h2>Most Viewed</h2>"; |
19 |
//most discussed
|
20 |
print "<h2>Most Discussed</h2>"; |
21 |
} else {
|
22 |
$page->error("No SQLite", "You need SQLite to use view statistics."); |
23 |
} |
24 |
$page->footer();
|
25 |
?>
|