From: Matteo Nastasi (mop) Date: Sun, 29 Mar 2009 08:03:27 +0000 (+0000) Subject: commands menu, /listen and /mesgtoadm commands added X-Git-Tag: 3.0.0~135 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=8ad982169ddcaa707e91151c515fdec89af3d4eb;p=brisk.git commands menu, /listen and /mesgtoadm commands added --- diff --git a/web/index.php b/web/index.php index 247356a..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 .= ''; - for ($i = 0 ; $i < TABLES_N ; $i++) { - if ($i % 4 == 0) + for ($ii = 0 ; $ii < TABLES_N ; $ii++) { + if ($user->flags & USER_FLAG_AUTH) + $i = $ii; + else + $i = TABLES_N - $ii - 1; + + if ($ii % 4 == 0) $tables .= ''; $tables .= ''."\n"; - if ($i % 4 == 3) + if ($ii % 4 == 3) $tables .= ''; } $tables .= '
'; $tables .= '
Tavolo '.$i.'
'; @@ -169,7 +173,7 @@ function main() $tables .= sprintf('
', $i); $tables .= '
'; $tables .= '
'; @@ -274,7 +278,7 @@ $brisk_vertical_menu = '
- + -

+
sponsored by:

'.$altout_carousel.'


supported by:

@@ -528,7 +596,7 @@ else { setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); $("txt_in").focus(); Il nickname che stai usando è già registrato,

se il suo proprietario si autentificherà

verrai rinominato d'ufficio come ghostN.", "torna ai tavoli" */ echo show_notify("
Il nickname che stai usando è già registrato,

se il suo proprietario si autentificherà

verrai rinominato d'ufficio come ghostN.", 0, "torna ai tavoli", 400, 150); } @@ -560,7 +628,7 @@ if ($login_exists) {
-Chat
+Chat
@@ -573,27 +641,12 @@ if ($login_exists) {
- -

Garantisci per un tuo conoscente:

- - -
+ @@ -603,6 +656,27 @@ if ($login_exists) { + +
+
+
+
+ Invia un messaggio o una segnalazione all'amministratore: +

+
+ + + + + + + + + + +