id "; $result = database_query($sql); global $default_theme_count; while ($row = mysql_fetch_array($result)) { $default_theme_count++; } topheader(); echo "
Site stats for $site_name
"; botheader(); topcontent(); echo "
"; topheader_small(); echo "AlkalinePHP"; botheader(); topcontent_small(); echo "You can get AlkalinePHP at its Sourceforge home.
"; botcontent(); echo "
"; echo "
"; topheader_small(); echo "Version Information:
"; botheader(); topcontent_small(); echo "Alkaline $ver_all
"; echo "Interface -- [V$ver_interface]
"; echo "Database -- [V$ver_database]
"; echo "News -- [V$ver_news]
"; echo "Themes -- [V$ver_themes]
"; echo "Messenger -- [V$ver_messenger]
"; echo "Forums -- [V$ver_forums]
"; echo "Components -- [V$ver_components]
"; echo "$ver_lines lines of code in $ver_files files"; botcontent(); echo "
"; topheader_small(); echo "Usage Information:
"; botheader(); topcontent_small(); echo "Number of members: $member_count ($member_deleted removed, $member_current current)
"; echo "Total member page views: $member_views
"; echo "News articles written: $article_count ($article_deleted deleted)
"; echo "Comments on articles: $comment_count ($comment_deleted deleted)
"; echo "Total article views: $article_views
"; echo "Messages sent: $message_count ($message_deleted deleted)
"; echo "Total themes: $theme_count (using $theme_name as default)
"; if ($default_theme_count > 1) { echo "There are $default_theme_count users using the $theme_name theme
"; } if ($default_theme_count == 1) { echo "There is $default_theme_count user using the $theme_name theme
"; } botcontent(); echo "
"; topheader_small(); echo "Server Information:
"; botheader(); topcontent_small(); echo "Server: $server
"; echo "MySQL Version: $mysql_ver[0]
"; echo "HTML Server: $SERVER_SOFTWARE
"; botcontent(); echo"
"; botcontent(); include("botpage.inc"); ?>