<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="/grace">은혜충전 홈</a></div>
                    <?php foreach(array_values($this->config->item('categories')['grace']) as $k => $menuCategoryId) {?>
                    <div class="swiper-slide<?php echo $this->uri->segment(4) == $menuCategoryId ? ' current' : '' ?>">
                        <a
                            href="/grace/category/<?php echo $graceCategories[$menuCategoryId]->category_name?>/<?php echo $graceCategories[$menuCategoryId]->idx ?>"><?php echo $graceCategories[$menuCategoryId]->category_name?></a> 
                    </div><?php }?>                    
                </div>
            </div>
        </div>
    </div>
</div>