Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Anax\View;
- ?>
- <h1><?php print $data["h1"]; ?></h1>
- <p>You text</p>
- <div style="display: flex; justify-content: space-around;">
- <div style="display: flex; flex-direction: column;">
- <div>Player π² <?php echo $data["name_player_move"]; ?> throws</div>
- <form action="" method="GET">
- <button name="btn" value="trow" style="margin-top: 20px;"> β‘ THROW β¬ </button>
- <?php if ($data["type_player"] == 'human') : ?>
- <button name="continue" value="trow" style="margin-top: 20px;"> β‘ βsave totalβ β¬ </button>
- <?php endif ?>
- <?php
- $result = '<div style="font-size:40px;">';
- for ($i = 0; $i < 2; $i++) {
- $result .= 'ɨ' . ($data['trows'][$i] - 1);
- }
- $result .= '</div>';
- echo $result;
- ?>
- </form>
- </div>
- <div class="block-statistics">
- <?php print $data["statistics"]; ?>
- Current total: <?php echo $data["current"]; ?>
- </div>
- </div>
- <hr>
- <div>
- <?php if (array_key_exists("histogram", $data)): ?>
- <?php echo $data["histogram"]; ?>
- <?php endif ?>
- </div>
- <hr>
- <?php if ($data["winner"]) : ?>
- <h2 align="center">WINNER π <?php echo $data["winner"]; ?> π</h2>
- <p align="center"> <a href="start"><button> next new game </button></a></p>
- <?php endif ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement