projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copyright date updated in web/admin.php file
[brisk.git]
/
web
/
briskin5
/
statadm.php
diff --git
a/web/briskin5/statadm.php
b/web/briskin5/statadm.php
index
ce73f0a
..
96b79cd
100644
(file)
--- a/
web/briskin5/statadm.php
+++ b/
web/briskin5/statadm.php
@@
-2,7
+2,7
@@
/*
* brisk - statadm.php
*
/*
* 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
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-20,8
+20,6
@@
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id$
- *
*/
/*
*/
/*
@@
-35,7
+33,9
@@
TODO:
*/
*/
-ini_set("max_execution_time", "120");
+$G_base = "../";
+
+ini_set("max_execution_time", "240");
require_once("../Obj/brisk.phh");
require_once("../Obj/auth.phh");
require_once("../Obj/brisk.phh");
require_once("../Obj/auth.phh");
@@
-50,7
+50,7
@@
function main()
$wee = array();
echo "inizio<br>";
$wee = array();
echo "inizio<br>";
- f
f
lush();
+ flush();
if ($pazz != $G_alarm_passwd)
exit;
if ($pazz != $G_alarm_passwd)
exit;
@@
-67,10
+67,11
@@
function main()
fclose($fp_start);
}
fclose($fp_start);
}
- $userdb = new LoginDB();
+ $bdb = new BriskDB();
+ $bdb->users_load();
- for ($i = 0 ; $i < $
user
db->count() ; $i++) {
- $login = $
user
db->getlogin_byidx($i);
+ for ($i = 0 ; $i < $
b
db->count() ; $i++) {
+ $login = $
b
db->getlogin_byidx($i);
$tri[$i] = new Ptsgam($login);
$mon[$i] = new Ptsgam($login);
$wee[$i] = new Ptsgam($login);
$tri[$i] = new Ptsgam($login);
$mon[$i] = new Ptsgam($login);
$wee[$i] = new Ptsgam($login);
@@
-125,7
+126,7
@@
function main()
for ($i = 0 ; $i < BRISKIN5_PLAYERS_N ; $i++) {
// echo $p." i) ".$i."<br>";
$username = $ar[9+($i*2)];
for ($i = 0 ; $i < BRISKIN5_PLAYERS_N ; $i++) {
// echo $p." i) ".$i."<br>";
$username = $ar[9+($i*2)];
- if (($item = $
user
db->getitem_bylogin($username, &$id)) == FALSE) {
+ if (($item = $
b
db->getitem_bylogin($username, &$id)) == FALSE) {
echo "WARNING: the user [".$username."] NOT EXISTS!<br>";
continue;
}
echo "WARNING: the user [".$username."] NOT EXISTS!<br>";
continue;
}