X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=a9d0b1772796045be6a035dd346a54645138e648;hb=29ef3f7db6bc1d39c658a15d95d22e45bbd59c16;hp=2b29c2489ada32ded99122b8ef1643476167e8aa;hpb=999042fd821a15cd8d75539abc83a334752a7ed7;p=brisk.git diff --git a/web/index.php b/web/index.php index 2b29c24..a9d0b17 100644 --- a/web/index.php +++ b/web/index.php @@ -41,7 +41,8 @@ log_load("index.php"); function main() { - GLOBAL $G_is_local, $sess, $name, $table_idx, $table_token, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER; + GLOBAL $G_with_topbanner, $G_topbanner, $G_is_local; + GLOBAL $sess, $name, $table_idx, $table_token, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER; $body = ""; $tables = ""; @@ -92,6 +93,9 @@ function main() if (($user = &$room->add_user(&$sess, &$idx, $name, $_SERVER['REMOTE_ADDR'])) != FALSE) { $ACTION = "room"; + log_legal($curtime, $user->sess, $user->name, "STAT:LOGIN", ''); + + // setcookie ("sess", "", time() + 180); $room->standup_update(&$user); @@ -123,7 +127,7 @@ function main() if ($ACTION == "room") { $tables .= '
'; - $tables .= ''; + $tables .= '
'; for ($i = 0 ; $i < TABLES_N ; $i++) { if ($i % 4 == 0) $tables .= ''; @@ -139,7 +143,7 @@ function main() $tables .= '
'; - $standup .= '
'; + $standup .= ' -
'; $standup .= '
'; $standup .= '
Giocatori in piedi
'; @@ -176,7 +180,8 @@ function main() if ($brisk_donate == FALSE) $brisk_donate = ""; - $with_topbanner = TRUE; + + $brisk_header_form = '
@@ -201,21 +206,10 @@ google_color_url = "000000"; src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> ' ).'
'.($with_topbanner ? ' + '.($G_with_topbanner ? sprintf('
' : '').'
+
'.($G_with_topbanner ? ' - - - -
' : '').'
briscola chiamata in salsa ajax
-
'.($with_topbanner ? '
- -
' : '').'
%s
', $G_topbanner) : '').'
'.($G_is_local ? '' : ' + @@ -292,7 +342,14 @@ supported by: