<!-- left menu start -->
<link href="/css/common/left_menu.css" media="screen" rel="stylesheet" type="text/css" />
<div id="left_menu">
    <div class="parent">
        <div>-</div>
        <div class="title"><?= $viewDatas['menus'][$viewDatas['currentCategory']->parent]['entity']->getTitle() ?></div>
    </div>
    <?php foreach ($viewDatas['menus'][$viewDatas['currentCategory']->parent]['childs'] as $child) : ?>
        <div class="sibling <?= $child->getPrimaryKey() == $viewDatas['category'] ? "active" : "" ?>">
            <a href="<?= $child->linkurl ?>?category=<?= $child->getPrimaryKey() ?>" target="_self"><?= $child->getTitle() ?></a><span class="play"><i class="bi bi-play-fill"></i></span>
        </div>
    <?php endforeach ?>
</div>
<!-- left menu end -->