/*
* brisk - statadm.php
*
- * Copyright (C) 2009 Matteo Nastasi
+ * Copyright (C) 2009-2011 Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id$
- *
*/
/*
*/
+$G_base = "../";
+
ini_set("max_execution_time", "240");
require_once("../Obj/brisk.phh");
fclose($fp_start);
}
- $userdb = new LoginDB();
+ $bdb = new BriskDB();
+ $bdb->users_load();
- for ($i = 0 ; $i < $userdb->count() ; $i++) {
- $login = $userdb->getlogin_byidx($i);
+ for ($i = 0 ; $i < $bdb->count() ; $i++) {
+ $login = $bdb->getlogin_byidx($i);
$tri[$i] = new Ptsgam($login);
$mon[$i] = new Ptsgam($login);
$wee[$i] = new Ptsgam($login);
for ($i = 0 ; $i < BRISKIN5_PLAYERS_N ; $i++) {
// echo $p." i) ".$i."<br>";
$username = $ar[9+($i*2)];
- if (($item = $userdb->getitem_bylogin($username, &$id)) == FALSE) {
+ if (($item = $bdb->getitem_bylogin($username, &$id)) == FALSE) {
echo "WARNING: the user [".$username."] NOT EXISTS!<br>";
continue;
}