Lines 6 to 12:
Line 6: <div class="menu-container mix <?php echo $category_name; ?>">
Line 7: <a class="menu-toggle visible-xs visible-sm collapsed" href="#<?php echo $category['slug']; ?>" role="button" data-toggle="collapse" data-parent=".menu-list" aria-expanded="false" aria-controls="<?php echo $category['slug']; ?>">
Line 8: <?php echo $category['name']; ?>
Line 9: <i class="fa fa-angle-down fa-2x fa-pull-right text-muted"></i>
Line 10: <i class="fa fa-angle-up fa-2x fa-pull-right text-muted"></i>
Line 11: </a>
Line 12: <div id="<?php echo $category['slug']; ?>" class="navbar-collapse collapse wrap-none">
Full menu_list.php
http://collabedit.com/788dq
<?php if ($categories) {?>
<div id="Container" class="menu-list">
<?php $category_count = 1; ?>
<?php foreach ($categories as $category_id => $category) { ?>
<?php $category_name = strtolower(str_replace(' ', '-', str_replace('&', '_', $category['name']))); ?>
<div class="menu-container mix <?php echo $category_name; ?>">
<a class="menu-toggle visible-xs visible-sm collapsed" href="#<?php echo $category['slug']; ?>" role="button" data-toggle="collapse" data-parent=".menu-list" aria-expanded="false" aria-controls="<?php echo $category['slug']; ?>">
<?php echo $category['name']; ?>
<i class="fa fa-angle-down fa-2x fa-pull-right text-muted"></i>
<i class="fa fa-angle-up fa-2x fa-pull-right text-muted"></i>
</a>
<div id="<?php echo $category['slug']; ?>" class="navbar-collapse collapse wrap-none">
<div class="menu-category">
<h3 class="hidden-xs hidden-sm"><?php echo $category['name']; ?></h3>
<p><?php echo $category['description']; ?></p>
<?php if (!empty($category['image'])) { ?>
<img class="img-responsive" src="<?php echo $category['image']; ?>" alt="<?php echo $category['name']; ?>"/>
<?php }?>
</div>
<div class="menu-items">
<?php if (isset($menus[$category_id]) AND !empty($menus[$category_id])) { ?>
<?php foreach ($menus[$category_id] as $menu) { ?>
<div id="menu<?php echo $menu['menu_id']; ?>" class="menu-item">
<div class="menu-item-wrapper row">
<?php if ($show_menu_images === '1' AND !empty($menu['menu_photo'])) { ?>
<div class="menu-thumb col-xs-2 col-sm-2 wrap-none wrap-right">
<img class="img-responsive img-thumbnail" alt="<?php echo $menu['menu_name']; ?>" src="<?php echo $menu['menu_photo']; ?>">
</div>
<?php } ?>
<div class="menu-content <?php echo ($show_menu_images === '1' AND !empty($menu['menu_photo'])) ? 'col-xs-6 col-sm-6' : 'col-xs-8'; ?> wrap-none wrap-right">
<span class="menu-name"><b><?php echo $menu['menu_name']; ?></b></span>
<span class="menu-desc small">
<?php echo $menu['menu_description']; ?>
</span>
</div>
<div class="menu-right col-xs-4 wrap-none">
<span class="menu-price"><?php echo $menu['menu_price']; ?></span>
<span class="menu-button">
<?php if ($menu['mealtime_status'] === '1' AND empty($menu['is_mealtime'])) { ?>
<a class="btn btn-primary btn-cart add_cart disabled"><span class="fa fa-plus"></span></a>
<?php } else if (isset($menu_options[$menu['menu_id']])) { ?>
<a class="btn btn-primary btn-cart add_cart" onClick="openMenuOptions('<?php echo $menu['menu_id']; ?>', '<?php echo $menu['minimum_qty']; ?>');">
<span class="fa fa-plus"></span>
</a>
<?php } else { ?>
<a class="btn btn-primary btn-cart add_cart" onClick="addToCart('<?php echo $menu['menu_id']; ?>', '<?php echo $menu['minimum_qty']; ?>');">
<span class="fa fa-plus"></span>
</a>
<?php } ?>
</span>
<?php if ($menu['mealtime_status'] === '1' AND empty($menu['is_mealtime'])) { ?>
<div class="menu-mealtime text-danger"><?php echo sprintf(lang('text_mealtime'), $menu['mealtime_name'], $menu['start_time'], $menu['end_time']); ?></div>
<?php }?>
<?php if ($menu['special_status'] === '1' AND $menu['is_special'] === '1') { ?>
<div class="menu-special"><?php echo $menu['end_days']; ?></div>
<?php }?>
</div>
</div>
</div>
<?php } ?>
<?php } else { ?>
<p><?php echo lang('text_empty'); ?></p>
<?php } ?>
<div class="gap"></div>
<div class="gap"></div>
</div>
</div>
</div>
<?php $category_count++; ?>
<?php } ?>
</div>
<?php } else { ?>
<p><?php echo lang('text_no_category'); ?></p>
<?php } ?>
<?php if (!empty($menu_total) AND $menu_total < 150) { ?>
<div class="pager-list"></div>
<?php } else { ?>
<div class="pagination-bar text-right">
<div class="links"><?php echo $pagination['links']; ?></div>
<div class="info"><?php echo $pagination['info']; ?></div>
</div>
<?php } ?>