<div class="container">
    <div class="row">
        <div class="col-md-2">
            <div class="panel panel-default">

                <!--Left panel heading-->
                <div class="panel-heading">
                    <h3 class="panel-title">Marketplace - Engines</h3>
                </div>

                <!--Left panel body-->
                <div class="panel-body">
                    <ul class="nav nav-pills nav-stacked">
                        <li><a href="<?php echo base_url(); ?>epc_listings/market_listings/e_listings">
                                <span class="badge pull-right"><?php echo $total; ?></span>
                                Total Engines</a></li>
                        <li class="active"><a>
                                <span class="badge pull-right"><?php echo $ftotal; ?></span>
                                Found Engines</a></li>
                    </ul>

                </div>
            </div>
            
            <?php
                $attributes1 = array(
                    'class' => 'form-horizontal',
                    'id' => 'submit1'
                );
                ?>
            
             <?php echo form_open('epc_listings/market_listings/search_e_listings', $attributes1); ?>
            
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h4 class="panel-title">
                                    <i class="glyphicon glyphicon-search"></i> Search
                                </h4>
                            </div>
                                <div class="panel-body">
                                    
                                    <?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>

                                   <div class="form-group">           
                        <div class="col-sm-12">

                            <select name="column_dropdown" id="column_dropdown" class="form-control col-sm-12">
                                <option value="--Select Column--" <?php if (!empty($_REQUEST['column_dropdown']) && $_REQUEST['column_dropdown'] == '--Select Column--') echo 'selected'; ?>>--Select Column--</option>
                                <option value="manufacturer" <?php if (!empty($_REQUEST['column_dropdown']) && $_REQUEST['column_dropdown'] == 'manufacturer') echo 'selected'; ?>>Manufacturer</option>
                                <option value="engine_model" <?php if (!empty($_REQUEST['column_dropdown']) && $_REQUEST['column_dropdown'] == 'engine_model') echo 'selected'; ?>>Engine Model</option>
                            </select>
                        </div>
                                </div>
                                    
                                    <div class="form-group">           
                        <div class="col-sm-12">
                            <input type="text" class="form-control" id="search_field" name="search_field" autocomplete="off" value="<?php echo set_value('search_field'); ?>" placeholder="Criteria">
                        </div>
                            </div> 

                                    <div class="form-group">
                                        <div class="col-sm-8">
                                            <button type="submit" class="btn btn-primary btn-xs">Search 
                                                <i class="glyphicon glyphicon-search"></i></button>
                                        </div>
                                    </div>
                                </div>
                        </div>
            <?php echo form_close(); ?>

        </div>

        <!--Mid panel heading-->
        <div class="col-md-10">
            <div class="well panel panel-default">
                <div class="panel-heading">

                   <p>Traditionally, current engine listings in the market have been mostly placeholders for buyers to inform their line of engine models they are investing and may not address immediate source to fulfill an inquiry.  For the first time, IAEA is introducing a more meaningful engine listing where one can actually see the engine’s mini pack along with asking price in one location. The Cloud Admin will actively monitor the validity of the availabilities to reduce unnecessary contact. Meanwhile for the first time buyers and lessees can list their requirement also in order to have a comprehensive marketplace. The intent is to evolve the marketplace to a medium where active bidding can take place. The IAEA’s Engine Marketplace will eliminate 100s of phone calls and email communications for engine transactions to take place and provide visibility to market pricing like a stock market. The engine listing will be communicated to members through a regular newsletter.</p>

                </div>
            </div>
        </div>

        <div class="col-md-10">
            <div class="panel panel-default">
                <div class="panel-heading">Engines
                    
                </div>

                <!--Mid panel body-->        
                <div class="panel-body">
                    <table style="font-size: 13px;" class="table table-bordered table-hover table-condensed">
                        <thead>
                            <tr>
                                <th>Manufacturer:</th>
                                <th class="hidden-xs">Engine Model:</th>
                                <th class="col-md-1">ESN:</th>
                                <th class="hidden-xs">Lister:</th>
                                <th class="hidden-xs">Transaction:</th>
                                <th class="hidden-xs">Location:</th>
                                <th class="hidden-xs">Asking Price:</th>
                                <th class="hidden-xs">Monthly Rent:</th>
                                <th class="hidden-xs">Available Date:</th>
                                <th class="hidden-xs">Contact Name:</th>
                                <th class="hidden-xs">Email:</th>
                                <th class="hidden-xs">Phone:</th>
                                <th></th>
                            </tr>
                        </thead>
                        <tbody>
             
                        </tbody>
                    </table>
                </div>

                <!--Mid panel footer-->
                <div class="panel-footer">
                </div>
            </div>
        </div>
    </div>
</div>