<commit_before><link rel="stylesheet" href="<?= base_url("js/font-awesome-4.2.0/css/font-awesome.min.css"); ?>">

<body xmlns="http://www.w3.org/1999/html">
<div id="theDiv">
    <header id="header">
        <div id="headerContent">
            <div id="rightHeader">
                <div id="mouseMove">mouse</div>

                <div class="dropDown alpha" id="menuWrapper">
                    <h4 class="WrapperLabel" title="Game Menu"><i class="fa fa-bars"></i></h4>

                    <div id="menu">
                        <div class="close">X</div>
                        <ul>
                            <li><a id="muteButton">mute</a></li>
                            <li><a href="<?= site_url("wargame/leaveGame"); ?>">Go To Lobby</a></li>
                            <li><a href="<?= site_url("users/logout"); ?>">logout</a></li>
                            <li><a id="arrowButton">show arrows</a></li>
                            <li><a href="#" onclick="seeUnits();return false;">See Units</a></li>
                            <li><a href="#" onclick="seeBoth();return false;">See Both</a></li>
                            <li><a href="#" onclick="seeMap();return false;">See Map</a></li>
                            <li class="closer"></li>
                        </ul>
                    </div>
                </div>
                <div class="dropDown" id="infoWrapper">
                    <h4 class="WrapperLabel" title="Game Information">i</h4>

                    <div id="info">
                        <div class="close">X</div>
                        <ul>
                            <li> Welcome {user}</li>
                            <li>you are playing as  <?= $player; ?></li>
                            <li>
                                in <span class="game-name">{gameName}-{arg}</span></li>
                            <li> The file is called {name}</li>
                            <!-- TODO: make game credits from DB -->
                            <li>Game Designer: <NAME></li>
                            <li class="closer"></li>
                        </ul>
                    </div>
                </div>
                <?php global $results_name; ?>

                <div id="crtWrapper">
                    <h4 class="WrapperLabel" title='Combat Results Table'>
                        <span>CRT</span></h4>

                    <div id="crt">
                        <div class="close">X</div>
                        <div id="altTable">show cavalry table</div>
                        <div id="mainTable">show normal table</div>
                        <div id="detTable">show determined table</div>
                        <h3>Combat Odds</h3>

                        <div class="tableWrapper main">
                            <div id="odds">
                                <span class="col0">&nbsp;</span>
                                <?php
                                $crt = new CombatResultsTable();

                                $i = 1;
                                foreach ($crt->combatResultsHeader as $odds) {
                                    ?>
                                    <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                <?php } ?>
                            </div>
                            <?php
                            $rowNum = 1;
                            $odd = ($rowNum & 1) ? "odd" : "even";
                            foreach ($crt->combatResultsTable as $row) {
                                ?>
                                <div class="roll <?= "row$rowNum $odd" ?>">
                                    <span class="col0"><?= $rowNum++ ?></span>
                                    <?php $col = 1;
                                    foreach ($row as $cell) {
                                        ?>
                                        <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                        <div class="tableWrapper alt">
                            <div id="odds">
                                <span class="col0">&nbsp;</span>
                                <?php
                                $crt = new CombatResultsTable();

                                $i = 1;
                                foreach ($crt->combatResultsHeader as $odds) {
                                    ?>
                                    <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                <?php } ?>
                            </div>
                            <?php
                            $rowNum = 1;
                            $odd = ($rowNum & 1) ? "odd" : "even";
                            foreach ($crt->combatResultsTableCav as $row) {
                                ?>
                                <div class="roll <?= "row$rowNum $odd" ?>">
                                    <span class="col0"><?= $rowNum++ ?></span>
                                    <?php $col = 1;
                                    foreach ($row as $cell) {
                                        ?>
                                        <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                        <?php if($crt->combatResultsTableDetermined){?>

                            <div class="tableWrapper determined">
                                <div id="odds">
                                    <span class="col0">&nbsp;</span>
                                    <?php
                                    $crt = new CombatResultsTable();

                                    $i = 1;
                                    foreach ($crt->combatResultsHeader as $odds) {
                                        ?>
                                        <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                    <?php } ?>
                                </div>
                                <?php
                                $rowNum = 1;
                                $odd = ($rowNum & 1) ? "odd" : "even";
                                foreach ($crt->combatResultsTableDetermined as $row) {
                                    ?>
                                    <div class="roll <?= "row$rowNum $odd" ?>">
                                        <span class="col0"><?= $rowNum++ ?></span>
                                        <?php $col = 1;
                                        foreach ($row as $cell) {
                                            ?>
                                            <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                        <?php } ?>
                                    </div>
                                <?php } ?>
                            </div>
                        <?php }?>

                        <div id="crtDetailsButton">details</div>
                        <div id="crtOddsExp"></div>
                    </div>
                </div>
                <?php include "timeTravel.php"; ?>
                <div id="statusWrapper">
                    <div id="comlinkWrapper">
                        <div id="comlink"></div>
                    </div>
                    <div id="topStatus"></div>
                    <div class="clear">
                        <span id="status"></span>
                        <span id="victory"></span>
                    </div>
                </div>
                <div id="zoomWrapper">
                    <span id="zoom">
<!--                        <span class="minusZoom">-</span>-->
                        <span class="defaultZoom">1.0</span>
<!--                        <span class="plusZoom">+</span>-->
                    </span>
                </div>
                <div class="dropDown">
                    <h4 class="WrapperLabel">Rules</h4>
                    <div class="subMenu">
                        <?php include_once "commonRules.php"; ?>
                        <?php include_once "exclusiveRules.php"; ?>
                        <?php include_once "obc.php"; ?>

                    </div>
                </div>
                <?php include_once "tec.php"; ?>
                <div class="dropDown" id="unitsWrapper">
                    <h4 class="WrapperLabel" title="Offmap Units">Units</h4>
                    <div id="units" class="subMenu">
                        <ul>
                            <li id="closeAllUnits">Close All</li>
                            <li id="hideShow">Retired Units</li>
                            <li id="showDeploy">Deploy/Staging Box</li>
                            <li id="showExited">Exited Units</li>
                        </ul>
                    </div>
                </div>
                <?php include_once "commonRules.php"; ?>
                <?php include_once "exclusiveRules.php"; ?>
                <?php include_once "obc.php"; ?>

                <div id="nextPhaseWrapper">
                    <button id="nextPhaseButton">Next Phase</button>
                    <button id="fullScreenButton"><i class="fa fa-arrows-alt"></i></button>
                    <button id="forceMarchEvent">m</button>
                    <button id="determinedAttackEvent">d</button>
                    <button id="clearCombatEvent">c</button>
                </div>

            </div>
            <div style="clear:both;"></div>

        </div>
    </header>
<div id="content">
    <div id="rightCol">
        <div id="deployWrapper"><commit_msg>moved determined button over to be farther from clear combat button<commit_after><link rel="stylesheet" href="<?= base_url("js/font-awesome-4.2.0/css/font-awesome.min.css"); ?>">

<body xmlns="http://www.w3.org/1999/html">
<div id="theDiv">
    <header id="header">
        <div id="headerContent">
            <div id="rightHeader">
                <div id="mouseMove">mouse</div>

                <div class="dropDown alpha" id="menuWrapper">
                    <h4 class="WrapperLabel" title="Game Menu"><i class="fa fa-bars"></i></h4>

                    <div id="menu">
                        <div class="close">X</div>
                        <ul>
                            <li><a id="muteButton">mute</a></li>
                            <li><a href="<?= site_url("wargame/leaveGame"); ?>">Go To Lobby</a></li>
                            <li><a href="<?= site_url("users/logout"); ?>">logout</a></li>
                            <li><a id="arrowButton">show arrows</a></li>
                            <li><a href="#" onclick="seeUnits();return false;">See Units</a></li>
                            <li><a href="#" onclick="seeBoth();return false;">See Both</a></li>
                            <li><a href="#" onclick="seeMap();return false;">See Map</a></li>
                            <li class="closer"></li>
                        </ul>
                    </div>
                </div>
                <div class="dropDown" id="infoWrapper">
                    <h4 class="WrapperLabel" title="Game Information">i</h4>

                    <div id="info">
                        <div class="close">X</div>
                        <ul>
                            <li> Welcome {user}</li>
                            <li>you are playing as  <?= $player; ?></li>
                            <li>
                                in <span class="game-name">{gameName}-{arg}</span></li>
                            <li> The file is called {name}</li>
                            <!-- TODO: make game credits from DB -->
                            <li>Game Designer: <NAME></li>
                            <li class="closer"></li>
                        </ul>
                    </div>
                </div>
                <?php global $results_name; ?>

                <div id="crtWrapper">
                    <h4 class="WrapperLabel" title='Combat Results Table'>
                        <span>CRT</span></h4>

                    <div id="crt">
                        <div class="close">X</div>
                        <div id="altTable">show cavalry table</div>
                        <div id="mainTable">show normal table</div>
                        <div id="detTable">show determined table</div>
                        <h3>Combat Odds</h3>

                        <div class="tableWrapper main">
                            <div id="odds">
                                <span class="col0">&nbsp;</span>
                                <?php
                                $crt = new CombatResultsTable();

                                $i = 1;
                                foreach ($crt->combatResultsHeader as $odds) {
                                    ?>
                                    <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                <?php } ?>
                            </div>
                            <?php
                            $rowNum = 1;
                            $odd = ($rowNum & 1) ? "odd" : "even";
                            foreach ($crt->combatResultsTable as $row) {
                                ?>
                                <div class="roll <?= "row$rowNum $odd" ?>">
                                    <span class="col0"><?= $rowNum++ ?></span>
                                    <?php $col = 1;
                                    foreach ($row as $cell) {
                                        ?>
                                        <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                        <div class="tableWrapper alt">
                            <div id="odds">
                                <span class="col0">&nbsp;</span>
                                <?php
                                $crt = new CombatResultsTable();

                                $i = 1;
                                foreach ($crt->combatResultsHeader as $odds) {
                                    ?>
                                    <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                <?php } ?>
                            </div>
                            <?php
                            $rowNum = 1;
                            $odd = ($rowNum & 1) ? "odd" : "even";
                            foreach ($crt->combatResultsTableCav as $row) {
                                ?>
                                <div class="roll <?= "row$rowNum $odd" ?>">
                                    <span class="col0"><?= $rowNum++ ?></span>
                                    <?php $col = 1;
                                    foreach ($row as $cell) {
                                        ?>
                                        <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                        <?php if($crt->combatResultsTableDetermined){?>

                            <div class="tableWrapper determined">
                                <div id="odds">
                                    <span class="col0">&nbsp;</span>
                                    <?php
                                    $crt = new CombatResultsTable();

                                    $i = 1;
                                    foreach ($crt->combatResultsHeader as $odds) {
                                        ?>
                                        <span class="col<?= $i++ ?>"><?= $odds ?></span>
                                    <?php } ?>
                                </div>
                                <?php
                                $rowNum = 1;
                                $odd = ($rowNum & 1) ? "odd" : "even";
                                foreach ($crt->combatResultsTableDetermined as $row) {
                                    ?>
                                    <div class="roll <?= "row$rowNum $odd" ?>">
                                        <span class="col0"><?= $rowNum++ ?></span>
                                        <?php $col = 1;
                                        foreach ($row as $cell) {
                                            ?>
                                            <span class="col<?= $col++ ?>"><?= $results_name[$cell] ?></span>

                                        <?php } ?>
                                    </div>
                                <?php } ?>
                            </div>
                        <?php }?>

                        <div id="crtDetailsButton">details</div>
                        <div id="crtOddsExp"></div>
                    </div>
                </div>
                <?php include "timeTravel.php"; ?>
                <div id="statusWrapper">
                    <div id="comlinkWrapper">
                        <div id="comlink"></div>
                    </div>
                    <div id="topStatus"></div>
                    <div class="clear">
                        <span id="status"></span>
                        <span id="victory"></span>
                    </div>
                </div>
                <div id="zoomWrapper">
                    <span id="zoom">
<!--                        <span class="minusZoom">-</span>-->
                        <span class="defaultZoom">1.0</span>
<!--                        <span class="plusZoom">+</span>-->
                    </span>
                </div>
                <div class="dropDown">
                    <h4 class="WrapperLabel">Rules</h4>
                    <div class="subMenu">
                        <?php include_once "commonRules.php"; ?>
                        <?php include_once "exclusiveRules.php"; ?>
                        <?php include_once "obc.php"; ?>

                    </div>
                </div>
                <?php include_once "tec.php"; ?>
                <div class="dropDown" id="unitsWrapper">
                    <h4 class="WrapperLabel" title="Offmap Units">Units</h4>
                    <div id="units" class="subMenu">
                        <ul>
                            <li id="closeAllUnits">Close All</li>
                            <li id="hideShow">Retired Units</li>
                            <li id="showDeploy">Deploy/Staging Box</li>
                            <li id="showExited">Exited Units</li>
                        </ul>
                    </div>
                </div>
                <?php include_once "commonRules.php"; ?>
                <?php include_once "exclusiveRules.php"; ?>
                <?php include_once "obc.php"; ?>

                <div id="nextPhaseWrapper">
                    <button id="nextPhaseButton">Next Phase</button>
                    <button id="fullScreenButton"><i class="fa fa-arrows-alt"></i></button>
                    <button id="determinedAttackEvent">d</button>
                    <button id="forceMarchEvent">m</button>
                    <button id="clearCombatEvent">c</button>
                </div>

            </div>
            <div style="clear:both;"></div>

        </div>
    </header>
<div id="content">
    <div id="rightCol">
        <div id="deployWrapper">
{'fraction_non_alphanumeric': 0.1400727125833165, 'fraction_numerical': 0.004039587962027873, 'mean_word_length': 0.8048847170327167, 'pattern_counts': {'":': 0, '<': 525, '<?xml version=': 0, '>': 539, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 80, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2309177', 'n_tokens_mistral': 4781, 'n_tokens_neox': 4436, 'n_words': 895}