<div id="stuff-bar">
    <div id="pagenav">
        <?if (isset($prevurl)):?>
            <div class="firstpage">
                <a href="<?=$baseurl?>">
                    <i class="fas fa-angle-double-left"></i>
                </a>
            </div>
            <div class="navpage"><a href="<?=$prevurl?>"><i class="fas fa-chevron-circle-left"></i></a></div>
        <?endif?>
                
        <div id="currpage"><?=$page?></div>
        <?if (isset($nexturl)):?>
             <div class="navpage"><a href="<?=$nexturl?>"><i class="fas fa-chevron-circle-right"></i></a></div>
        <?endif?>
        
        <?if (isset($endurl)):?>
            <div class="firstpage">
                <a href="<?=$endurl?>">
                    <i class="fas fa-angle-double-right"></i>
                </a>
            </div>
        <?endif?>

    </div>
</div>
