From 1bf7d8ef0edac533ce65d68669d26aec2f282f95 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 13 Feb 2016 00:43:09 +0000 Subject: [PATCH] Wydanie wersji 2.7 --- modules/50_lotto.php | 40 ++++++++++++++++++++++++---------------- 1 files changed, 24 insertions(+), 16 deletions(-) diff --git a/modules/50_lotto.php b/modules/50_lotto.php index 2569aac..2ea4668 100644 --- a/modules/50_lotto.php +++ b/modules/50_lotto.php @@ -8,23 +8,29 @@ 'wyniki' => 'cmd_lotto', 'l' => 'cmd_lotto', 'duzy' => 'cmd_lotto', + 'dl' => 'cmd_lotto', + 'express' => 'cmd_lotto', 'expres' => 'cmd_lotto', 'ekspress' => 'cmd_lotto', 'ekspress' => 'cmd_lotto', 'exp' => 'cmd_lotto', + 'el' => 'cmd_lotto', + 'mini' => 'cmd_lotto', + + 'ekstra' => 'cmd_lotto', + 'extra' => 'cmd_lotto', + 'pensja' => 'cmd_lotto', + 'ep' => 'cmd_lotto', + 'ex' => 'cmd_lotto', + 'multi' => 'cmd_lotto', 'multimulti' => 'cmd_lotto', 'multilotek' => 'cmd_lotto', - 'twoj' => 'cmd_lotto', - 'tsn' => 'cmd_lotto', - 'jk' => 'cmd_lotto', - 'joker' => 'cmd_lotto', - 'el' => 'cmd_lotto', - 'ex' => 'cmd_lotto', 'mm' => 'cmd_lotto', - 'ml' => 'cmd_lotto', - 'dl' => 'cmd_lotto' + + 'ka' => 'cmd_lotto', + 'kaskada' => 'cmd_lotto', ); } @@ -42,7 +48,7 @@ GGapi::putRichText('lotek, wyniki, l', TRUE); GGapi::putRichText(')'."\n".' Podaje wyniki ostatniego losowania gry Totalizatora Sportowego '); GGapi::putRichText('[gra]', FALSE, TRUE); - GGapi::putRichText(', gdzie gra to: dl, el, mm lub jk.'); + GGapi::putRichText(', gdzie gra to: lotto, mini (Mini Lotto), mm (Multi Multi), kaskada lub pensja (Ekstra Pensja).'); } } @@ -52,21 +58,23 @@ 'dl2' => 'Lotto', 'el' => 'Mini Lotto', 'el2' => 'Mini Lotto', + 'ep' => 'Ekstra Pensja', + 'ep2' => 'Ekstra Pensji', 'mm' => 'Multi Multi', 'mm2' => 'Multi Multi', 'mm14' => 'Multi Multi (14:00)', 'mm142' => 'Multi Multi (14:00)', 'mm22' => 'Multi Multi (22:00)', 'mm222' => 'Multi Multi (22:00)', - 'jk' => 'Joker', - 'jk2' => 'Jokera', + 'ka' => 'Kaskada', + 'ka2' => 'Kaskady', ); $arg_start = array( 'dl' => 'dl', 'duzego' => 'dl', 'duzy' => 'dl', 'duzylotek' => 'dl', - 'el' => 'el', 'express' => 'el', 'ekspress' => 'el', 'expres' => 'el', 'ekspres' => 'el', 'ex' => 'el', 'mini' => 'el', 'm' => 'el', 'mlotto' => 'el', 'mini' => 'el', - 'ml' => 'ml', 'multilotka' => 'ml', - 'mm' => 'mm', 'multi' => 'mm', 'multimulti' => 'mm', - 'jk' => 'jk', 'joker' => 'jk', 'tsn' => 'jk', 'numerek' => 'jk', 'numerka' => 'jk', 'twojego' => 'jk', 'twoj' => 'jk', 'szczesliwego' => 'jk', 'szczesliwy' => 'jk', + 'el' => 'el', 'express' => 'el', 'ekspress' => 'el', 'expres' => 'el', 'ekspres' => 'el', 'minilotto' => 'el', 'm' => 'el', 'ml' => 'el', 'mlotto' => 'el', 'mini' => 'el', + 'ep' => 'ep', 'ekstra' => 'ep', 'pensja' => 'ep', 'extra' => 'ep', 'ekstrapensja' => 'ep', 'extrapensja' => 'ep', 'ex' => 'ep', + 'mm' => 'mm', 'multilotka' => 'mm', 'multi' => 'mm', 'multimulti' => 'mm', + 'ka' => 'ka', 'kaskada' => 'ka', 'k' => 'ka', ); $arg = explode(' ', funcs::utfToAscii($arg)); array_unshift($arg, $name); @@ -81,7 +89,7 @@ } } - if(!$gra) { + if(!isset($gra) || !$gra) { $gra = 'dl'; } -- Gitblit v1.9.1