<!--
        RPCS3.net Compatibility List (https://github.com/AniLeo/rpcs3-compatibility)
        Copyright (C) 2017 AniLeo
        https://github.com/AniLeo or ani-leo@outlook.com

        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation; either version 2 of the License, or
        (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License along
        with this program; if not, write to the Free Software Foundation, Inc.,
        51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<?php
if(!@include_once(__DIR__.'/../includes/inc.builds.php')) throw new Exception("Compat: inc.builds.php is missing. Failed to include inc.builds.php");
?>
<div class="page-con-container">
    <div class="page-in-container">
        <div class="container-con-block darkmode-block">
            <div class="container-con-wrapper">

                <div class="container-tx1-block">
                    <span class="compat-text">Builds History <a href="compatibility?b&rss">(RSS)</a></span>
                    <?php
                        Profiler::add_data("Page: Get Menu");
                        echo getMenu(__FILE__);
                    ?>
                </div>

                <div class="container-tx2-block compat-desc">
                    <p>
                        This is the history of all RPCS3 master builds made per pull request after automated builds were firstly added to the project.
                    <br>
                        Hovering over the build version displays the SHA-256 checksum and the build size.
                    </p>
                </div>

            </div> <!-- container-con-wrapper -->

            <div class="builds-hdr-left">
                <?php Profiler::add_data("Page: Print Results Per Page"); ?>
                <p>Results per page <?php Builds::printResultsPerPage(); ?></p>
            </div>

        </div> <!-- container-con-block -->

        <?php
            Profiler::add_data("Page: Print Table");
            Builds::printTable();

            Profiler::add_data("Page: Print Pages Counter");
            Builds::printPagesCounter();

            Profiler::add_data("End");
            echo getFooter();
        ?>

    </div> <!-- page-in-container -->
</div> <!-- page-con-container -->
