'en' => 'Exit.'),
'tit_tabl' => array('it' => 'Tavolo ',
'en' => 'Table '),
+ 'tit_stat' => array('it' => 'imposta lo stato del tuo utente',
+ 'en' => 'set the status of the user'),
+ 'stat_desc' => array('it' => 'stato',
+ 'en' => 'mode' ),
+ 'st_norm_desc' => array('it' => 'normale',
+ 'en' => 'normal'),
+ 'st_paus_desc' => array('it' => 'pausa',
+ 'en' => 'pause'),
+ 'st_out_desc' => array('it' => 'fuori',
+ 'en' => 'out'),
+ 'st_dog_desc' => array('it' => 'cane',
+ 'en' => 'dog'),
+ 'st_food_desc' => array('it' => 'cibo',
+ 'en' => 'food'),
+ 'st_work_desc' => array('it' => 'lavoro',
+ 'en' => 'work'),
+ 'st_smok_desc' => array('it' => 'sigaretta',
+ 'en' => 'smoke'),
+ 'st_pres_desc' => array('it' => 'presente',
+ 'en' => 'present'),
+
'tit_ticker' => array('it' => 'scrivi un invito al tavolo e clicca',
'en' => 'write an invitation at the table and click'),
'itm_warr' => array('it' => 'garantisci',
'en' => 'listen all messages from each user connected'),
'tit_listaut' => array('it' => 'solo autenticati',
'en' => 'only authorized'),
+ 'tit_isolaut' => array('it' => 'isolamento',
+ 'en' => 'isolation'),
'listaut_desc' => array('it' => 'leggi soltanto i messaggi degli utenti con password',
'en' => 'listen messages only from authenticated users'),
+ 'isolaut_desc' => array('it' => 'visualizza Brisk come se fosse solo per utenti con password',
+ 'en' => 'show Brisk like an authenticated user only site'),
+ 'tit_splash' => array('it' => 'splash',
+ 'en' => 'splash'),
+ 'splash_desc' => array('it' => 'attiva la finestra di splash',
+ 'en' => 'show the splash window'),
'tit_help' => array('it' => 'informazioni utili su Brisk',
'en' => 'usefull information about Brisk'),
'itm_help' => array('it' => 'aiuto',
'en' => 'contacts'),
'itm_mail' => array('it' => 'contatti',
'en' => 'contacts'),
+ 'tit_cla' => array('it' => 'classifiche degli utenti',
+ 'en' => 'user\'s placings'),
+ 'itm_cla' => array('it' => 'classifiche',
+ 'en' => 'placings'),
'tit_rmap' => array('it' => 'prossime funzionalità implementate',
'en' => 'roadmap of next functionalities'),
'itm_rmap' => array('it' => 'roadmap',
function main()
{
+ GLOBAL $G_with_donors, $G_donors_cur, $G_donors_all;
GLOBAL $G_with_topbanner, $G_topbanner, $G_is_local;
GLOBAL $G_with_sidebanner, $G_sidebanner;
GLOBAL $G_with_sidebanner2, $G_sidebanner2;
else
$i = TABLES_N - $ii - 1;
- if ($ii % 4 == 0)
- $tables .= '<tr>';
- $tables .= '<td>';
- $tables .= '<div class="room_div"><div class="room_tit"><b>'.$mlang_room['tit_tabl'][$G_lang].$i.'</b></div>';
- $tables .= sprintf('<div class="proxhr" id="table%d"></div>', $i);
- $tables .= sprintf('<div class="table_act" id="table_act%d"></div>', $i);
- $tables .= '</div>';
- $tables .= '</td>'."\n";
- if ($ii % 4 == 3)
+ if ($ii % 4 == 0) {
+ $tables .= '<tr id = "tr_noauth'.$ii.'">';
+ }
+ if (TRUE || !($user->flags & USER_FLAG_ISOLAUTH) || $ii < TABLES_AUTH_N) {
+ $tables .= '<td id = "td_noauth'.$ii.'">';
+
+ $tables .= '<div class="room_div"><div class="room_tit"><b>'.$mlang_room['tit_tabl'][$G_lang].$i.'</b></div>';
+ $tables .= sprintf('<div class="proxhr" id="table%d"></div>', $i);
+ $tables .= sprintf('<div class="table_act" id="table_act%d"></div>', $i);
+ $tables .= '</div>';
+ $tables .= '</td>'."\n";
+ }
+ if ($ii % 4 == 3) {
$tables .= '</tr>';
+ }
}
$tables .= '</table></div>';
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>'
).'</div></td>
-<td align="center">'.($G_with_topbanner ? '<table><tr><td>' : '').'<div style="text-align: center;">
+<td align="center">'.(($G_with_topbanner || $G_with_donors) ? '<table><tr><td>' : '').'<div style="text-align: center;">
<img class="nobo" src="img/brisk_logo64.png">
'.$mlang_room['headline'][$G_lang].'<br>
- </div>'.($G_with_topbanner ? sprintf('</td><td>%s</td></tr></table>', $G_topbanner) : '').'</td>
+ </div>'.( ($G_with_topbanner || $G_with_donors) ? sprintf('</td><td>%s</td></tr></table>',
+ ($G_with_topbanner ? $G_topbanner :
+"<div style='background-color: #ffd780; border: 1px solid black; text-align: center;'><img class='nobo' src=\"donometer.php?c=".$G_donors_cur."&a=".$G_donors_all."\"><div style='padding: 1px; background-color: white;'><b>donatori</b></div></div>") ) : '').'</td>
<td align="right"><div style="padding-right: 8px;">
'.($G_is_local ? '' :
'<script type="text/javascript"><!--
onmouseover="menu_hide(0,1);"
title="perché supportare brisk?" onclick="act_whysupport();">supportare?</a><br>
-->
+<a href="#"
+ onmouseover="menu_hide(0,1);"
+ title="'.$mlang_room['tit_cla'][$G_lang].'" onclick="act_placing();">'.$mlang_room['itm_cla'][$G_lang].'</a><br>
+
<a href="#"
onmouseover="menu_hide(0,1);"
title="'.$mlang_room['tit_rmap'][$G_lang].'" onclick="act_roadmap();">'.$mlang_room['itm_rmap'][$G_lang].'</a><br>
<div class="webstart" id="menu_commands" onmouseover="menu_over(1,this);" onmouseout="menu_over(-1,this);">
-<a href="#" title="imposta lo stato del tuo utente"
- onmouseover="menu_hide(0,1); menu_show(\'menu_state\');">stato</a><br>
+<a href="#" title="'
+ // MLANG
+ .$mlang_room['tit_stat'][$G_lang].
+'"
+ onmouseover="menu_hide(0,1); menu_show(\'menu_state\');">'
+ // MLANG
+ .$mlang_room['stat_desc'][$G_lang].
+'</a><br>
<div id="menu_state" class="webstart">
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st normale\'); menu_over(-1,this);">normale</a><br>
+ title="" onclick="act_chatt(\'/st normale\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_norm_desc'][$G_lang].
+'</a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st pausa\'); menu_over(-1,this);">pausa <img class="unbo" src="img/st_pau.png"></a><br>
+ title="" onclick="act_chatt(\'/st pausa\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_paus_desc'][$G_lang].
+' <img class="unbo" src="img/st_pau.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st fuori\'); menu_over(-1,this);">fuori <img class="unbo" src="img/st_out.png"></a><br>
+ title="" onclick="act_chatt(\'/st fuori\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_out_desc'][$G_lang].
+' <img class="unbo" src="img/st_out.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st cane\'); menu_over(-1,this);">cane <img class="unbo" src="img/st_dog.png"></a><br>
+ title="" onclick="act_chatt(\'/st cane\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_dog_desc'][$G_lang].
+' <img class="unbo" src="img/st_dog.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st cibo\'); menu_over(-1,this);">cibo <img class="unbo" src="img/st_eat.png"></a><br>
+ title="" onclick="act_chatt(\'/st cibo\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_food_desc'][$G_lang].
+' <img class="unbo" src="img/st_eat.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st lavoro\'); menu_over(-1,this);">lavoro <img class="unbo" src="img/st_wrk.png"></a><br>
+ title="" onclick="act_chatt(\'/st lavoro\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_work_desc'][$G_lang].
+' <img class="unbo" src="img/st_wrk.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st sigaretta\'); menu_over(-1,this);">sigaretta <img class="unbo" src="img/st_smk.png"></a><br>
+ title="" onclick="act_chatt(\'/st sigaretta\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_smok_desc'][$G_lang].
+' <img class="unbo" src="img/st_smk.png"></a><br>
<a href="#"
onmouseover="menu_hide(0,2);"
- title="" onclick="act_chatt(\'/st presente\'); menu_over(-1,this);">presente <img class="unbo" src="img/st_eye.png"></a><br>
+ title="" onclick="act_chatt(\'/st presente\'); menu_over(-1,this);">'
+ // MLANG
+ .$mlang_room['st_pres_desc'][$G_lang].
+' <img class="unbo" src="img/st_eye.png"></a><br>
</div>
.$mlang_room['tit_listaut'][$G_lang].
'</span></a><br>
+<a href="#"
+ onmouseover="menu_hide(0,2);"
+ title="'
+ // MLANG leggo soltanto i messaggi degli utenti con password
+ .$mlang_room['isolaut_desc'][$G_lang].
+ '" onclick="act_chatt(\'/listen isolation\'); menu_over(-1,this);"><span id="list_isol">'
+ // MLANG solo autenticati
+ .$mlang_room['tit_isolaut'][$G_lang].
+'</span></a><br>
+
</div>
+<a href="#" title="'
+ // MLANG garantisci per un tuo conoscente
+ .$mlang_room['splash_desc'][$G_lang].
+'"
+ onmouseover="menu_hide(0,1);" onclick="act_splash(); menu_over(-1,this);">'
+ // MLANG garantisci
+ .$mlang_room['tit_splash'][$G_lang].
+ '</a><br>
</div>'.($G_with_poll ? '' : '<div style="padding: 0px; margin: 0px; witdh: 50px; height: 8px; font-size: 1px;"></div>
<img style="cursor: pointer;" class="nobo" src="img/brisk_help'.langtolng($G_lang).'.png" title="'.$mlang_room['tit_help'][$G_lang].'" onmouseover="menu_hide(0,0);" onclick="act_help();">').'
<SCRIPT type="text/javascript"><!--
var g_lang = "<? echo $G_lang; ?>";
var g_lng = "<? echo $G_lng; ?>";
+ var g_tables_n = <? echo TABLES_N; ?>;
+ var g_tables_auth_n = <? echo TABLES_AUTH_N; ?>;
+ var g_listen;
var g_withflash = false;
var g_is_spawn = 0;
var gst = new globst();
var sess;
var g_lang = "<? echo $G_lang; ?>";
var g_lng = "<? echo $G_lng; ?>";
+ var g_tables_n = <? echo TABLES_N; ?>;
+ var g_tables_auth_n = <? echo TABLES_AUTH_N; ?>;
+ var g_listen;
var tra = null;
var stat = "";
var subst = "";
<?php
if ($G_with_topbanner) {
printf(" topbanner_init();\n");
- }
+ }
if ($G_with_sidebanner) {
printf(" sidebanner_init();\n");
}