<?php
    global $FILTER_RUNECRAFT;
    global $FILTER_RUNEUPGRADE;
    global $FILTER_SKILLUP;
?>
<!DOCTYPE html>
<html lang='en'>
    <head>
        <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
        <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
        <title><?=$page->title?></title>
        <link rel='shortcut icon' href='<?=$page->favicon?>'/>
        <!-- CSS files -->
        <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
        <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>report.css'/>
        <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>filters.css'/>
        <!-- Script files -->
        <script src="<?=$path["js"]?>ui.js"></script>
        <!-- Meta tags -->
        <link rel='canonical' href='<?=$page->canonical?>'/>
        <link rel='author' href='<?=$page->author?>'/>
        <link rel='publisher' href='<?=$page->author?>'/>
        <meta name='description' content='<?=$page->description?>'/>
        <meta property='og:title' content='<?=$page->title?>'/>
        <meta property='og:url' content='<?=$page->canonical?>'/>
        <meta property='og:description' content='<?=$page->description?>'/>
        <meta property='og:image' content='<?=$page->icon?>'/>
        <meta property='og:site_name' content='<?=$page->name?>'/>
        <meta property='og:type' content='website'/>
        <meta property='og:locale' content='en'/>
        <meta name='twitter:card' content='summary'/>
        <meta name='twitter:title' content='<?=$page->title?>'/>
        <meta name='twitter:description' content='<?=$page->description?>'/>
        <meta name='twitter:image' content='<?=$page->icon?>'/>
        <meta name='twitter:url' content='<?=$page->canonical?>'/>
        <meta name='robots' content='index follow'/>
    </head>
    <body id='body_reports'>
<?php
        include __DIR__ . "/inc/header.php";
?>
        <section class='content report'>
            <h2>
                Pending skill-ups
            </h2>
            <article>
                <img alt=' ' src='<?=$path["img"]["unit"]?>00015105.png'> <!-- Devilmon image -->
                <p>
                    Shows a list of the monstes in need of skilling-up
                    It sorts monster not by the absolute ammount of remaining power-ups, but by a ponderated list tht takes into account to which skills the previous power ups have gone, placing more value in the more advanced skills. 
                </p>
<?php
                $filters = $FILTER_SKILLUP;
                include __DIR__ . "/inc/filter_report_skillup.php";
?>
            </article>
        </section>
        <section class='content report'>
            <h2>
                Runes to replace
            </h2>
            <article class='report'>
                <img alt=' ' src='<?=$path["img"]["rune"]?>base.png'>
                <p>
                    Shows monsters with runes that can be upgraded.
                    It list the runes that can be replaced by other runes in your inventory that have either more stars or a higher base quality.
                </p>
<?php
                $filters = $FILTER_RUNEUPGRADE;
                include __DIR__ . "/inc/filter_report_runeupgrade.php";
?>
            </article>
        </section>
        <section class='content report'>
            <h2>
                Runes to upgrade
            </h2>
            <article class='report'>
                <img alt=' ' src='<?=$path["img"]["grind"]?>gem_inmemorial.png'> 
                <p>
                    Shows monsters with runes that can be crafted.
                    It list the grindstones and gems that are available for each rune.
                </p>
<?php
                $filters = $FILTER_RUNECRAFT;
                include __DIR__ . "/inc/filter_report_runecraft.php";
?>
            </article>
        </section>
<?php
        include __DIR__ . "/inc/footer.php";
?>
    </body>
</html>
