projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BRISKIN5_ to BIN5_ constants prefix and Briskin5 to Bin5 class rename
[brisk.git]
/
web
/
briskin5
/
statadm.php
diff --git
a/web/briskin5/statadm.php
b/web/briskin5/statadm.php
index
07b847e
..
c40a2e2
100644
(file)
--- a/
web/briskin5/statadm.php
+++ b/
web/briskin5/statadm.php
@@
-100,12
+100,12
@@
function main_file($curtime)
continue;
}
continue;
}
- // echo $p++." ".B
RISK
IN5_PLAYERS_N."<br>";
+ // echo $p++." ".BIN5_PLAYERS_N."<br>";
$found = FALSE;
$mult = 1;
$found = FALSE;
$mult = 1;
- for ($i = 0 ; $i < B
RISK
IN5_PLAYERS_N ; $i++) {
- for ($e = $i + 1 ; $e < B
RISK
IN5_PLAYERS_N ; $e++) {
+ for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) {
+ for ($e = $i + 1 ; $e < BIN5_PLAYERS_N ; $e++) {
if ($ar[10+($i*2)] == $ar[10+($e*2)]) {
$mult = abs($ar[10+($i*2)]);
$found = TRUE;
if ($ar[10+($i*2)] == $ar[10+($e*2)]) {
$mult = abs($ar[10+($i*2)]);
$found = TRUE;
@@
-117,7
+117,7
@@
function main_file($curtime)
if ($mult == 0)
continue;
if ($mult == 0)
continue;
- for ($i = 0 ; $i < B
RISK
IN5_PLAYERS_N ; $i++) {
+ for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) {
// echo $p." i) ".$i."<br>";
$username = $ar[9+($i*2)];
if (($item = $bdb->getitem_bylogin($username, &$id)) == FALSE) {
// echo $p." i) ".$i."<br>";
$username = $ar[9+($i*2)];
if (($item = $bdb->getitem_bylogin($username, &$id)) == FALSE) {