<?= $this->layout('_layout', ['title' => $title]); ?>

<main class="main">
    <?= $this->insert('includes/aside_info')?>
    <div class="content">
        <div class="h2-title h2-title-content flex-s-c">
            <span>Informations</span>
        </div>

        <div class="heroInfo">
            <div class="heroInfo-row">
                <span>Server name:</span> <span><?= server()->name ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Version:</span> <span><?= server()->version ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Experience:</span> <span><?= server()->experience ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Drop:</span> <span><?= server()->drop ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Reset type:</span> <span><?= server()->reset_type ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Max Points:</span> <span><?= server()->max_points ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Max Level:</span> <span><?= server()->max_level ?></span>
            </div>
            <div class="heroInfo-row">
                <span>PvP:</span> <span><?= server()->pvp ?></span>
            </div>
            <div class="heroInfo-row">
                <span>Status:</span> <span style="<?= web()->status == 'offline' ? 'color:red' : 'color:green' ?>""><?= ucfirst(web()->status) ?></span>
            </div>
        </div>

    </div>
</main>