X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=0bbd9d9afedc3f647d257c2c928adbf5aadacb04;hp=72bd5003a1a968be4bd0ecb11c61035b13f266e5;hb=94b406ae5451c04176ae43cad2e71f9f80d40d82;hpb=fd5eec5ecd988df774eb9fb8744a0274e918980b diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 72bd500..0bbd9d9 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -68,6 +68,23 @@ $mlang_bin5_bin5 = array( $table_wellarr = Array( 'it' => Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.'), 'en' => Array ( 'EN Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.') ); + +// FIXME - DYNAMIC WITH CACHE AND RELOAD FROM DB +function deck_keys() +{ + return array('xx', 'yy'); +} + +function deck_id2descr($id, $lang) +{ + if ($id == 'xx') + return 'carte originali'; + else if ($id == 'yy') + return 'carte strette'; + + return 'carte sconosciute'; +} + function multoval($mult) { GLOBAL $G_lang; @@ -96,6 +113,20 @@ function dom_select_rules() echo "$ret"; } +function dom_select_deck($cur_sel) +{ + GLOBAL $G_lang; + + $ret = "\n"; + + echo "$ret"; +} + class Card { var $value; /* 0 - 39 card value */ var $stat; /* 'bunch', 'hand', 'table', 'take' */