<div class="header_menu_sub">
    <div class="container">
        <div class="row">
            <div class="swiper-containermenu">

                <div class="swiper-wrapper">
                    <div class="swiper-slide<?php echo $this->uri->segment(4) ? '' : ' current' ?>"><a href="/cmtv">크맵TV
                            홈</a></div>
                    <?php foreach($this->config->item('categories')['crossmaptv'] as $k => $menuCategoryId) {?>
                    <div class="swiper-slide<?php echo $this->uri->segment(4) == $menuCategoryId ? ' current' : '' ?>">
                        <a
                            href="/cmtv/category/<?php echo cleanUrl($cmtvCategories[$menuCategoryId]->category_name)?>/<?php echo $cmtvCategories[$menuCategoryId]->idx ?>">
                            <?php echo $cmtvCategories[$menuCategoryId]->category_name?></a>
                    </div><?php }?>
                </div>
            </div>

        </div>
    </div>
</div>