X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=inline;f=web%2Findex.php;h=3b14fa67f4c288f45aeeb944e1f8dc39478e1f74;hb=0b7233416fd5e2ef879170f5a49ff936ff27deef;hp=247356a32d0654007070792838e2db3dd8603e27;hpb=974f7d954f125d222a5a03f45ca8c427a84d9e9a;p=brisk.git diff --git a/web/index.php b/web/index.php index 247356a..3b14fa6 100644 --- a/web/index.php +++ b/web/index.php @@ -43,11 +43,39 @@ if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { log_load("index.php"); + +function poll_dom() { + GLOBAL $G_with_poll, $G_poll_title, $G_poll_entries; + + if ($G_with_poll) { + $ret = sprintf('
+ + + '; $tables .= '';
$tables .= ' Tavolo '.$i.' ';
@@ -169,7 +200,7 @@ function main()
$tables .= sprintf('', $i);
$tables .= ' | '."\n";
- if ($i % 4 == 3)
+ if ($ii % 4 == 3)
$tables .= '
\n"); printf($brisk_vertical_menu, '', ''); - printf(" | ");
+
+ if ($G_with_sidebanner xor $G_with_sidebanner2) {
+ printf(" "); + } + + if ($G_with_sidebanner) { + printf("%s", $G_sidebanner); + if ($G_with_sidebanner2) { + printf(" "); + } + } + + + if ($G_with_sidebanner2) { + printf("%s", $G_sidebanner2); + } + printf(" | ");
?>
@@ -492,9 +669,13 @@ Digita il tuo nickname per accedere ai tavoli della briscola. var g_imgtot = g_preload_img_arr.length; var myfrom = "index_php"; var g_brow = null; + var spo_slide, sup_slide; window.onload = function() { g_brow = get_browser_agent(); + spo_slide = new sideslide($('spon_caro'), 80, 20); + sup_slide = new sideslide($('supp_caro'), 60, 20); + @@ -509,6 +690,13 @@ else { if ($G_with_topbanner) { printf(" topbanner_init();\n"); } + if ($G_with_sidebanner) { + printf(" sidebanner_init();\n"); + } + if ($G_with_sidebanner2) { + printf(" sidebanner2_init();\n"); + } + ?> xhr_rd = createXMLHttpRequest(); // xhr_rd.setRequestHeader("Content-type", "text/html; charset=utf-8"); @@ -528,7 +716,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); } @@ -545,8 +733,30 @@ if ($login_exists) { |
\n");
- printf($brisk_vertical_menu, ' ', + /* printf($brisk_vertical_menu, ' ', + $brisk_donate); + printf($brisk_vertical_menu, ' ', + $brisk_donate);*/ + printf($brisk_vertical_menu, ' ', $brisk_donate); + + + if ($G_with_sidebanner xor $G_with_sidebanner2) { + printf(" "); + } + + if ($G_with_sidebanner) { + printf("%s", $G_sidebanner); + if ($G_with_sidebanner2) { + printf(" "); + } + } + + + if ($G_with_sidebanner2) { + printf("%s", $G_sidebanner2); + } + printf(" | ");
?>
@@ -560,7 +770,7 @@ if ($login_exists) {
-Chat
-
-
+Chat
@@ -573,27 +783,12 @@ if ($login_exists) {
Garantisci per un tuo conoscente: - - - +
+
+ Invia un messaggio o una segnalazione all'amministratore: + + |