X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=89445ce05b2fb9e0fa2653fdc566a80c5bc62186;hb=9918aa2a495f764fe4e227f04daff62ca59419d5;hp=8c51f0b334f48e05e78cc61be18e9f037f8dcefe;hpb=4d12b4f6b7e5bf9097af057ab80f5799838623ae;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 8c51f0b..89445ce 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -277,17 +277,17 @@ class Bin5_table extends Table { function asta2mult($asta_pnt) { if ($asta_pnt > 110) - return (5); + return (6); else if ($asta_pnt > 100) - return (4); + return (5); else if ($asta_pnt > 90) - return (3); + return (4); else if ($asta_pnt > 80) - return (2); + return (3); else if ($asta_pnt > 70) - return (1); + return (2); else - return (0); + return (1); } function multer($is_new) @@ -1171,8 +1171,13 @@ class Bin5 { printf("NEW_SOCKET (root): %d\n", intval($new_socket)); $enc = get_encoding($header); - if (isset($header['User-Agent']) && strstr($header['User-Agent'], "MSIE")) { - $transp_type = "htmlfile"; + if (isset($header['User-Agent'])) { + if (strstr($header['User-Agent'], "MSIE")) { + $transp_type = "htmlfile"; + } + else { + $transp_type = "xhr"; + } } else { $transp_type = "iframe"; @@ -1685,7 +1690,7 @@ function show_table_info(&$bri, &$table, $table_pos) } $old_multer = $table->multer(FALSE); if ($old_multer > 1) { - $noty .= sprintf($mlang_bin5_bin5['info_omul'][$G_lang], $old_multer); + $noty .= sprintf($mlang_bin5_bin5['info_omul'][$G_lang], multoval($old_multer)); } $noty .= "

"; } @@ -1718,7 +1723,7 @@ function show_table_info(&$bri, &$table, $table_pos) $multer = $table->multer(TRUE); if ($multer > 1) { - $noty .= sprintf($mlang_bin5_bin5['info_mult'][$G_lang], $multer ); + $noty .= sprintf($mlang_bin5_bin5['info_mult'][$G_lang], multoval($multer) ); } $noty .= "

"; $ret .= show_notify($noty, 3000, $mlang_bin5_bin5['btn_bkgame'][$G_lang], 500, 400);