<div class="top-one-new">
    <div class="h2-title flex-s-c">
        <span>Top events</span>
    </div>

    <div class="sliderGallery">
        <div class="slider-gallery-events">
            <div class="slider-ranking">
                <section style="background: url('<?= __files('images/bg-ranking-top.png') ?>'); width:300px">
                    <?php $rank = amwdeveloper()->table("Character")->columns("Name as name, Imagem as avatar")->limit(1)->orderby("ResetCount")->get(); ?>
                    <h2>Time x Time</h2>
                    <p class="sub_title">Duelo emocionante entre duas equipes.</p>
                    <div>
                        <img src="<?= __avatar($rank->avatar) ?>" alt="img_1" width="64" height="64">
                    </div>
                    <p class="name"><?= $rank->name ?></p>
                    <p>Todas às quartas 22:00 Horas</p>
                </section>
            </div>
            <div class="slider-ranking">
                <section style="background: url('<?= __files('images/bg-ranking-top.png') ?>'); width:300px">
                    <?php $rank = amwdeveloper()->table("Guild")->columns("G_Name as name, G_Mark as mark")->limit(1)->orderby("G_Score")->get(); ?>
                    <h2>Guild x Guild</h2>
                    <p class="sub_title">Crie sua Guild e entre na batalha! !</p>
                    <div>
                        <img src="<?= __guildmark($rank->mark) ?>" alt="img_1" width="64" height="64">
                    </div>
                    <p class="name"><?= $rank->name ?></p>
                    <p>Todas às quartas 22:00 Horas</p>
                </section>
            </div>
            <div class="slider-ranking">
                <section style="background: url('<?= __files('images/bg-ranking-top.png') ?>'); width:300px">
                    <?php $rank = amwdeveloper()->table("Character")->columns("Name as name, Imagem as avatar")->limit(1)->orderby("ResetCount")->get(); ?>
                    <h2>Championship</h2>
                    <p class="sub_title">Preparem-se para a batalha épica !</p>
                    <div>
                        <img src="<?= __avatar($rank->avatar) ?>" alt="img_1" width="64" height="64">
                    </div>
                    <p class="name"><?= $rank->name ?></p>
                    <p>Todas às quartas 22:00 Horas</p>
                </section>
            </div>
            <div class="slider-ranking">
                <section style="background: url('<?= __files('images/bg-ranking-top.png') ?>'); width:300px">
                    <?php $rank = amwdeveloper()->table("Character")->columns("Name as name, Imagem as avatar")->limit(1)->orderby("ResetCount")->get(); ?>
                    <h2>Battle Royale</h2>
                    <p class="sub_title">Preparem-se para a batalha épica !</p>
                    <div>
                        <img src="<?= __avatar($rank->avatar) ?>" alt="img_1" width="64" height="64">
                    </div>
                    <p class="name"><?= $rank->name ?></p>
                    <p>Todas às quartas 22:00 Horas</p>
                </section>
            </div>
        </div>
    </div>

</div>