X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Findex.php;h=bc0735f82116cbd871640920466dfdc83c0f2266;hb=8ad982169ddcaa707e91151c515fdec89af3d4eb;hp=90a91a037075d2f0937e2f55ff75ee6499d1a688;hpb=25ae0983e5d92c4568c27eb9fa64c927eae7773d;p=brisk.git diff --git a/web/index.php b/web/index.php index 90a91a0..bc0735f 100644 --- a/web/index.php +++ b/web/index.php @@ -48,6 +48,7 @@ function main() GLOBAL $G_with_topbanner, $G_topbanner, $G_is_local; GLOBAL $sess, $name, $pass_private, $table_idx, $table_token, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER; GLOBAL $G_lang, $G_lng, $mlang_room; + $is_login = FALSE; $body = ""; $tables = ""; $standup = ""; @@ -103,10 +104,8 @@ function main() $ACTION = "room"; if ($idx < 0) { $idx = -$idx - 1; - $login_exists = TRUE; + $is_login = TRUE; } - else - $login_exists = FALSE; log_legal($curtime, $user, "STAT:LOGIN", ''); @@ -160,8 +159,13 @@ function main() if ($ACTION == "room") { $tables .= '
';
$tables .= ' Tavolo '.$i.' ';
@@ -169,7 +173,7 @@ function main()
$tables .= sprintf('', $i);
$tables .= ' | '."\n";
- if ($i % 4 == 3)
+ if ($ii % 4 == 3)
$tables .= '