- if ($table->old_asta_win != -1) {
- log_main("TABLE_OLD_WIN:".$table->old_asta_win);
- $win = $table->player[$table->old_asta_win];
- log_main("TABLE_OLD_FRIEND:".$table->old_friend);
- $fri = $table->player[$table->old_friend];
-
- $wol = game_result($table->old_asta_pnt, $table->old_pnt);
-
- if (0 == 1) {
- if ($win != $fri) {
- /* MLANG: "<hr>Nell'ultima mano ha chiamato <b>%s</b>, il socio era <b>%s</b>,<br>", "hanno fatto <b>cappotto</b> EBBRAVI!.<hr>", "dovevano fare <b>%s</b> punti e ne hanno fatti <b>%d</b>: hanno <b>%s</b>.<hr>", "<hr>Nell'ultima mano <b>%s</b> si è chiamato in mano,<br>", "ha fatto <b>cappotto</b> EBBRAVO!.<hr>", "doveva fare <b>%s</b> punti e ne ha fatti <b>%d</b>: ha <b>%s</b>.<hr>", ($table->old_asta_pnt > 61 ? "almeno ".$table->old_asta_pnt : 'più di 60'), $table->old_pnt, ($wol == 1 ? "vinto" : ($wol == 0 ? "pareggiato" : "perso" */
-
- $noty .= sprintf($mlang_bin5_bin5['info_part'][$G_lang],
- xcape($bri->user[$win]->name),
- xcape($bri->user[$fri]->name));
- if ($table->old_pnt == 120) {
- $noty .= sprintf($mlang_bin5_bin5['info_capp'][$G_lang]);
- }
- else {
- $noty .= sprintf($mlang_bin5_bin5['info_pnt'][$G_lang],
- ($table->old_asta_pnt > 61 ? $mlang_bin5_bin5['info_alea'][$G_lang].$table->old_asta_pnt :
- $mlang_bin5_bin5['info_more'][$G_lang]), $table->old_pnt,
- ($wol == 1 ? $mlang_bin5_bin5['info_win'][$G_lang] : ($wol == 0 ? $mlang_bin5_bin5['info_peer'][$G_lang] : $mlang_bin5_bin5['info_lost'][$G_lang])));
- }
- }
- else {
- $noty .= sprintf($mlang_bin5_bin5['info_alon'][$G_lang],
- xcape($bri->user[$win]->name));
- if ($table->old_pnt == 120) {
- $noty .= sprintf($mlang_bin5_bin5['info_acap'][$G_lang]);
- }
- else {
- $noty .= sprintf($mlang_bin5_bin5['info_apnt'][$G_lang],
-
- ($table->old_asta_pnt > 61 ? $mlang_bin5_bin5['info_alea'][$G_lang].$table->old_asta_pnt :
- $mlang_bin5_bin5['info_more'][$G_lang]), $table->old_pnt,
-
- ($wol == 1 ? $mlang_bin5_bin5['info_win'][$G_lang] : ($wol == 0 ? $mlang_bin5_bin5['info_peer'][$G_lang] : $mlang_bin5_bin5['info_lost'][$G_lang])));
- }
- }
- } // OLD VERSION
- $noty = game_description(BIN5_RULES_FINISH, 'html', $win, $bri->user[$win]->name, $fri, $bri->user[$fri]->name,
- $wol, $table->old_pnt, $table->old_asta_pnt);
-
- $old_multer = $table->multer(FALSE);
- if ($old_multer > 1) {
- $noty .= sprintf($mlang_bin5_bin5['info_omul'][$G_lang], multoval($old_multer));
- }
- $noty .= "<hr><br>";
- }