diff options
author | Michal Zimniewicz <michzimny@gmail.com> | 2018-01-27 01:45:34 +0100 |
---|---|---|
committer | Michal Zimniewicz <michzimny@gmail.com> | 2018-01-27 01:45:34 +0100 |
commit | 1f64f78b4c58beb9b919f80527e3c4bd640a292c (patch) | |
tree | e12f7873d752a95a5449e5580a24a89e5b241e2d /tdd-handrecord-tpl.php | |
parent | 76cc542b4e1ae7e30ef935d4d8d6686db65faa97 (diff) |
add initial version
Diffstat (limited to 'tdd-handrecord-tpl.php')
-rw-r--r-- | tdd-handrecord-tpl.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tdd-handrecord-tpl.php b/tdd-handrecord-tpl.php new file mode 100644 index 0000000..65836cf --- /dev/null +++ b/tdd-handrecord-tpl.php @@ -0,0 +1,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> </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> </td> + <td><?php echo $this->format_hand(2); ?></td> + <td> </td> + </tr> + <?php if($this->ability): ?> + <tr><td colspan="5"> + <small class="sm">Maksymalna liczba lew:</small> + <table class="ability" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="an2"> </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> </td> + <td class="an2"> </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> </td> + <?php echo $this->format_ability(1); ?> + </tr> + <tr> + <?php echo $this->format_ability(2); ?> + <td> </td> + <?php echo $this->format_ability(3); ?> + </tr> + </table> + Minimax: <?php echo $this->format_minimax(); ?> + </td></tr> + <?php endif; ?> +</table> |