diff options
author | emkael <emkael@tlen.pl> | 2018-11-07 22:08:03 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-11-07 23:03:32 +0100 |
commit | 5f655f3b9fff2f41754b9612ce178b495910f4d4 (patch) | |
tree | d0e5371d8b7e8a11b03953325bf98005c3fe824b /tdd/tdd-handrecord-tpl.php | |
parent | f5998c8bad50636ce95567eec4f9f3b837c017cc (diff) |
Moving app to separate directory, scanning for PBN files in a separate directory
Fixes #2
Diffstat (limited to 'tdd/tdd-handrecord-tpl.php')
-rw-r--r-- | tdd/tdd-handrecord-tpl.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tdd/tdd-handrecord-tpl.php b/tdd/tdd-handrecord-tpl.php new file mode 100644 index 0000000..65836cf --- /dev/null +++ b/tdd/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> |