Update of /cvsroot/usebook/UseBook
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13508
Added Files:
.htaccess stats.php
Log Message:
UseBook 0.3 RC
--- NEW FILE: .htaccess ---
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^index\.html$ index.php
RewriteRule ^index-([0-9]+)\.html$ index.php?page=$1
RewriteRule ^admin/admin\.html$ admin/admin.php
RewriteRule ^stats\.html$ stats.php
</IfModule>
--- NEW FILE: stats.php ---
<?php
/*
Copyright (C) 2005 UseBook Team
http://usebook.sourceforge.net
$Header: /cvsroot/usebook/UseBook/stats.php,v 1.1 2005/07/28 10:18:02 kidkiller Exp $
This file is part of UseBook.
UseBook is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
UseBook is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with UseBook; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
define('INCLUDED', true);
define('ROOT_PATH', './');
//
// Load engine
//
require(ROOT_PATH.'sources/core.php');
//
// Page head
//
require(ROOT_PATH.'sources/page_head.php');
//
// Admin
//
$template->parse('msgbox', 'global', array('box_title' => $lang['Error'], 'content' => $lang['NotFinished']) );
//
// Page bottom
//
require(ROOT_PATH.'sources/page_foot.php');
?>
|