X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbrisk.phh;h=467680ac75990ea32d8e6986eba19dc0f7801ec6;hb=667be56a8497bbfc4f887da9c3aa0abe35f0b12c;hp=39fd17e4858bd6bb60ca589c6af2e8c76e56d0dd;hpb=45b7403c9cb2c08db82a102a9e9bf1d1271d85ba;p=brisk.git
diff --git a/web/brisk.phh b/web/brisk.phh
index 39fd17e..467680a 100644
--- a/web/brisk.phh
+++ b/web/brisk.phh
@@ -20,7 +20,7 @@
*/
define( FTOK_PATH, "/var/lib/brisk");
-define(TABLES_N, 4);
+define(TABLES_N, 8);
define(PLAYERS_N, 3);
define(MAX_POINTS, 5);
define(MAX_PLAYERS, (PLAYERS_N * TABLES_N));
@@ -783,12 +783,12 @@ function table_act_content($isstanding, $sitted, $table, $cur_table)
if ($isstanding) {
if ($sitted < PLAYERS_N) {
- $ret = sprintf('', $table, $table);
+ $ret = sprintf('', $table, $table);
}
}
else {
if ($table == $cur_table)
- $ret = sprintf('');
+ $ret = sprintf('');
else
$ret = "";
}
@@ -822,8 +822,10 @@ function table_content($bri, $user, $table_idx)
$content .= sprintf("%s%s%s
",$hilion, xcape($user_cur->name), $hilioff);
}
+ /*
for ( ; $i < PLAYERS_N ; $i++)
$content .= "
";
+ */
$ret .= sprintf('$("table%d").innerHTML = "%s";', $table_idx, $content);
@@ -838,7 +840,7 @@ function standup_content(&$bri, $user)
if ($user->stat != 'room')
return;
- $content .= '