<section class="banner" id="banner">
    <div class="container text-center banner-content">
        <?php $bannerDaysStringArray = array('Sun' => 'Sunday', 'Mon' => 'Monday', 'Tue' => 'Tuesday', 'Wed' => 'Wednesday', 'Thu' => 'Thursday', 'Fri' => 'Friday', 'Sat' => 'Saturday'); ?>
        <!--<h1 class="text-uppercase title welcome text-uppercase">Welcome <br/>at<br/> <?php echo $this->config->item('general_name') ?></h1>-->
        <h2 class="sub-title-1 text-uppercase">
           <!--<?php echo $bannerDaysStringArray[date('D')] ?>&nbsp;<?php echo date('h:i a') ?> -->
            <br/>
            <?php if (isRestaurantOpenNow()): ?>
                <span class="sub-title-2" id="openingTime">Open now</span>
            <?php else: ?>
                <?php if ($isTodayOpened): ?>
                    <span class="sub-title-3" id="openingTime">Closed now <?php echo ', open at ' . $openingTime ?></span>
                <?php endif; ?>
            <?php endif; ?>
        </h2>
        <div>
            <?php if (!$processOrder): ?>
                <?php if ($isTodayOpened): ?>
                    <a href="<?php echo site_url('pre-order') ?>"><span class="btn btn-fb" id="slider-button">Pre-order for later</span></a>
                <?php else: ?>
                    <span class="sub-title-3" id="openingTime"> Closed today</span>
                <?php endif; ?>
            <?php else: ?>
                <a href="<?php echo site_url('online-order') ?>" class="btn btn-c text-uppercase" id="slider-button"><span class="sub-title-1">Order Now</span></a>
            <?php endif; ?>
              <!--<a href="<?php echo site_url('reservation') ?>" class="btn btn-c text-uppercase" id="booking-button"><span class="sub-title-1">Book a Table</span></a>-->
        </div>
        <div class="v-gap-50"></div>
    </div>
</section>


