summaryrefslogtreecommitdiff
path: root/tdd/tdd-handrecord-tpl.php
blob: da2335af93895a635e9e54f929e1d00c0a809d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<table class="handrecord">
    <tr>
        <td>
            <h4>
                <?php echo $this->dealer; ?><br>
                <?php echo $this->vuln; ?>
            </h4>
        </td>
        <td><?php echo $this->format_hand(0); ?></td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td><?php echo $this->format_hand(3); ?></td>
        <td><img src="images/<?php echo ($this->deal_num)%16 ? ($this->deal_num)%16 : 16; ?>.gif"
            alt="<?php echo $this->dealer.'/'.$this->vuln; ?>" /></td>
        <td><?php echo $this->format_hand(1); ?></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td><?php echo $this->format_hand(2); ?></td>
        <td>&nbsp;</td>
    </tr>
    <?php if($this->ability): ?>
    <tr><td colspan="5">
        <small class="sm"><?php echo Protocol::__("Maksymalna liczba lew"); ?>:</small>
        <table class="ability" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="an2">&nbsp;</td>
            <td class="an3"><img src="images/N.gif" alt="NT" /></td>
            <td class="an3"><img src="images/S.gif" alt="S" /></td>
            <td class="an3"><img src="images/H.gif" alt="H" /></td>
            <td class="an3"><img src="images/D.gif" alt="D" /></td>
            <td class="an3"><img src="images/C.gif" alt="C" /></td>
            <td>&nbsp;</td>
            <td class="an2">&nbsp;</td>
            <td class="an3"><img src="images/N.gif" alt="NT" /></td>
            <td class="an3"><img src="images/S.gif" alt="S" /></td>
            <td class="an3"><img src="images/H.gif" alt="H" /></td>
            <td class="an3"><img src="images/D.gif" alt="D" /></td>
            <td class="an3"><img src="images/C.gif" alt="C" /></td>
        </tr>
        <tr>
            <?php echo $this->format_ability(0); ?>
            <td>&nbsp;</td>
            <?php echo $this->format_ability(1); ?>
        </tr>
        <tr>
            <?php echo $this->format_ability(2); ?>
            <td>&nbsp;</td>
            <?php echo $this->format_ability(3); ?>
        </tr>
        </table>
        <?php echo Protocol::__("Minimax"); ?>: <?php echo $this->format_minimax(); ?>
    </td></tr>
    <?php endif; ?>
</table>