X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=3b14fa67f4c288f45aeeb944e1f8dc39478e1f74;hb=0b7233416fd5e2ef879170f5a49ff936ff27deef;hp=e18625ef4b8b9e22398208143f6c38dfcd9c7623;hpb=ba124be15839e2a62fa793b70869e0209f8daf90;p=brisk.git diff --git a/web/index.php b/web/index.php index e18625e..3b14fa6 100644 --- a/web/index.php +++ b/web/index.php @@ -2,7 +2,7 @@ /* * brisk - index.php * - * Copyright (C) 2006-2008 Matteo Nastasi + * Copyright (C) 2006-2009 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -25,8 +25,12 @@ */ require_once("Obj/brisk.phh"); +require_once("Obj/auth.phh"); require_once("Obj/proxyscan.phh"); +$mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati.', + 'en' => 'Wrong user and/or password.') ); + // Use of proxies isn't allowed. if (!$G_is_local && is_proxy()) exit; @@ -39,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('
+ + +



@@ -414,24 +647,35 @@ Digita il tuo nickname per accedere ai tavoli della briscola.
+ + + + \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(""); ?> @@ -483,17 +770,56 @@ else {
-Chat
+Chat
+
- +
+ +
+
+ Garantisci per un tuo conoscente: +

+ +
+ + + + + + + + +
+
+
+
+ Invia un messaggio o una segnalazione all'amministratore: +

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