<!-- ==========Ticket-Search========== -->
<section class="search-ticket-section padding-top pt-lg-0">
    <div class="container">
        <div class="search-tab bg_img" data-background="images/ticket/banner2.png">
            <div class="row align-items-center mb--20">
                <div class="col-lg-5 mb-20">
                    <div class="search-ticket-header">
                        <h6 class="category">Bienvenido a Qubit</h6>
                        <h3 class="title">¿Que est&aacute;s buscando?</h3>
                    </div>
                </div>
                <div class="col-lg-7 mb-20">
                </div>
            </div>
            <div class="tab-area">
                <div class="tab-item active">
                    <form class="ticket-search-form" method="POST" action="<?= getUrl("events", "Events", "eventsList"); ?>">
                        <div class="form-group large">
                            <input type="text" placeholder="Ingresa el nombre del evento" name="event">
                            <button type="submit"><i class="fas fa-search"></i></button>
                        </div>
                        <div class="form-group">
                            <div class="thumb">
                                <img src="images/ticket/city.png" alt="ticket">
                            </div>
                            <span class="type">Ciudad</span>
                            <select class="select-bar" name="city">
                                
                                <?php foreach($cities as $cit) { ?>  
                                    
                                    <option value="<?= $cit['digeid']; ?>"><?= $cit['digedesc']; ?></option>
                                    
                                <?php } ?>

                            </select>
                        </div>
                        <div class="form-group">
                            <div class="thumb">
                                <img src="images/ticket/cinema.png" alt="ticket">
                            </div>
                            <span class="type">Categor&iacute;a</span>
                            <select class="select-bar" name="date">
                            
                                <?php foreach($categories as $cat){ ?>
                                
                                    <option value="<?= $cat['cavaid']; ?>"><?= $cat['cavadesc']; ?></option>
                                
                                <?php } ?>

                            </select>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>    
<!-- ==========Ticket-Search========== -->
