<?php 
// Check to ensure this file is included in osConcert!
defined('_FEXEC') or die();
?>
<section id="legend" class="legend-wrap my-4">

  <div class="d-flex flex-column">

    <!-- Prices TOP -->
    <ul class="list-group list-group-horizontal flex-wrap legend-prices mb-2">
      <li class="list-group-item legend-title-li"><?php echo TEXT_LEGEND; ?></li>
      <?php echo $sp->tep_renderPricesBar($cPath, $category['categories_name']); ?>
    </ul>

    <!-- Legend BOTTOM RIGHT -->
    <ul class="list-group list-group-horizontal flex-wrap legend-status ms-lg-auto justify-content-lg-end">
      <?php if($_SESSION['customer_id']): ?>
      <li class="list-group-item legend-li">
        <span class="plan_own cube"></span>&nbsp;<?php echo TEXT_YOUR_RESERVATIONS; ?>
      </li>
      <li class="list-group-item legend-li">
        <span class="plan_reserved cube"></span>&nbsp;<?php echo TEXT_FOREIGN_RESERVATIONS; ?>
      </li>
      <?php else: ?>
      <li class="list-group-item legend-li">
        <span class="plan_reserved cube"></span>&nbsp;<?php echo TEXT_RESERVED_SEATS; ?>
      </li>
      <?php endif; ?>

      <li class="list-group-item legend-li">
        <span class="plan_incart cube"></span>&nbsp;<?php echo TEXT_IN_BASKET; ?>
      </li>

      <li class="list-group-item legend-li">
        <span class="plan_locked cube"></span>&nbsp;<?php echo TEXT_OTHER_BASKETS; ?>
      </li>

      <li class="list-group-item legend-li indicator-li">
        <span id="indicator"></span>
      </li>
    </ul>

  </div>

</section>