summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:26 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:26 +0000
commita7d09f5dee475af4717cb69fcc29206d940d23ee (patch)
tree487b8199b6de2456ff0b4ba555a08db1375d2c48 /index.php
parentf3b09137eb3dec51e92663b63cbf8d758389e673 (diff)
downloadstats-a7d09f5dee475af4717cb69fcc29206d940d23ee.tar.gz
stats-a7d09f5dee475af4717cb69fcc29206d940d23ee.tar.bz2
stats-a7d09f5dee475af4717cb69fcc29206d940d23ee.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'index.php')
-rw-r--r--index.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/index.php b/index.php
index 5056f37..be72db8 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_stats/index.php,v 1.2 2005/06/28 07:45:58 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_stats/index.php,v 1.3 2005/08/01 18:41:26 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: index.php,v 1.2 2005/06/28 07:45:58 spiderr Exp $
+ * $Id: index.php,v 1.3 2005/08/01 18:41:26 squareing Exp $
* @package stats
* @subpackage functions
*/
@@ -29,18 +29,18 @@ if (!isset($_REQUEST["days"])) {
$_REQUEST["days"] = 7;
}
-$smarty->assign('pv_chart', 'n');
+$gBitSmarty->assign('pv_chart', 'n');
if (isset($_REQUEST["pv_chart"])) {
- $smarty->assign('pv_chart', 'y');
+ $gBitSmarty->assign('pv_chart', 'y');
}
-$smarty->assign('days', $_REQUEST["days"]);
+$gBitSmarty->assign('days', $_REQUEST["days"]);
-$smarty->assign('usage_chart', 'n');
+$gBitSmarty->assign('usage_chart', 'n');
if (isset($_REQUEST["chart"])) {
- $smarty->assign($_REQUEST["chart"] . "_chart", 'y');
+ $gBitSmarty->assign($_REQUEST["chart"] . "_chart", 'y');
}
if ($gBitSystem->isPackageActive( 'wiki' ) ) {
@@ -48,70 +48,70 @@ if ($gBitSystem->isPackageActive( 'wiki' ) ) {
} else {
$wiki_stats = false;
}
-$smarty->assign_by_ref('wiki_stats', $wiki_stats);
+$gBitSmarty->assign_by_ref('wiki_stats', $wiki_stats);
if ($gBitSystem->isPackageActive( 'imagegals' ) ) {
$igal_stats = $statslib->image_gal_stats();
} else {
$igal_stats = false;
}
-$smarty->assign_by_ref('igal_stats', $igal_stats);
+$gBitSmarty->assign_by_ref('igal_stats', $igal_stats);
if ($gBitSystem->isPackageActive( 'filegals' ) ) {
$fgal_stats = $statslib->file_gal_stats();
} else {
$fgal_stats = false;
}
-$smarty->assign_by_ref('fgal_stats', $fgal_stats);
+$gBitSmarty->assign_by_ref('fgal_stats', $fgal_stats);
if ($gBitSystem->isPackageActive( 'articles' ) ) {
$cms_stats = $statslib->cms_stats();
} else {
$cms_stats = false;
}
-$smarty->assign_by_ref('cms_stats', $cms_stats);
+$gBitSmarty->assign_by_ref('cms_stats', $cms_stats);
if ($gBitSystem->isPackageActive( 'forums' ) ) {
$forum_stats = $statslib->forum_stats();
} else {
$forum_stats = false;
}
-$smarty->assign_by_ref('forum_stats', $forum_stats);
+$gBitSmarty->assign_by_ref('forum_stats', $forum_stats);
if ($gBitSystem->isPackageActive( 'blogs' ) ) {
$blog_stats = $statslib->blog_stats();
} else {
$blog_stats = false;
}
-$smarty->assign_by_ref('blog_stats', $blog_stats);
+$gBitSmarty->assign_by_ref('blog_stats', $blog_stats);
if ($gBitSystem->isPackageActive( 'polls' ) ) {
$poll_stats = $statslib->poll_stats();
} else {
$poll_stats = false;
}
-$smarty->assign_by_ref('poll_stats', $poll_stats);
+$gBitSmarty->assign_by_ref('poll_stats', $poll_stats);
if ($gBitSystem->isPackageActive( 'faqs' ) ) {
$faq_stats = $statslib->faq_stats();
} else {
$faq_stats = false;
}
-$smarty->assign_by_ref('faq_stats', $faq_stats);
+$gBitSmarty->assign_by_ref('faq_stats', $faq_stats);
if ($gBitSystem->isPackageActive( 'quizzes' ) ) {
$quiz_stats = $statslib->quiz_stats();
} else {
$quiz_stats = false;
}
-$smarty->assign_by_ref('quiz_stats', $quiz_stats);
+$gBitSmarty->assign_by_ref('quiz_stats', $quiz_stats);
$user_stats = $statslib->user_stats();
-$smarty->assign_by_ref('user_stats', $user_stats);
+$gBitSmarty->assign_by_ref('user_stats', $user_stats);
$site_stats = $statslib->site_stats();
-$smarty->assign_by_ref('site_stats', $site_stats);
+$gBitSmarty->assign_by_ref('site_stats', $site_stats);