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

                <!--Left panel heading-->
                <div class="panel-heading">
                    <h3 class="panel-title">Event Information</h3>

                </div>

                <!--Left panel body-->
                <div class="panel-body">
                    <ul class="nav nav-pills nav-stacked">
                        <p>    Welcome to the Event Detail Page. In order to post an event
                            you must register as a member or company in aeroenginecloud.com.

                        </P>

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

        <!-- 2nd col -->
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2 class="form-signin-heading">Event Information</h2>

                </div>

                <?php
                $attributes = array(
                    'class' => 'form-horizontal',
                );
                ?>

                <?php echo form_open('event/event_detail/', $attributes); ?>

                <!--Mid panel body-->
         
                <div class="panel-body">
                    <table class="table table-bordered table-striped table-condensed">
                        <tbody>



                            <tr>
                                <th>Start Date:</th>
                                <td><?php echo $this_listing->startDate; ?></td>
                            </tr>

                            <tr>
                                <th>End Date:</th>
                                <td><?php echo $this_listing->endDate; ?></td>
                            </tr>

                            <tr>
                                <th>Title:</th>
                                <td><?php echo $this_listing->title; ?></td>
                            </tr>

                            <tr>
                                <th>Description:</th>
                                <td><?php echo $this_listing->description; ?></td>
                            </tr>

                            <tr>
                                <th>Country:</th>
                                <td><?php echo $this_listing->country; ?></td>
                            </tr>

                            <tr>
                                <th>State:</th>
                                <td><?php echo $this_listing->state; ?></td>
                            </tr>

                            <tr>
                                <th>City:</th>
                                <td><?php echo $this_listing->city; ?></td>
                            </tr>

                            <tr>
                                <th>Address:</th>
                                <td><?php echo $this_listing->address; ?></td>
                            </tr>

                            <tr>
                                <th>Brochure:</th>
                                <td><a href="<?php echo base_url(); ?>event/display/<?php echo $this_listing->eventID ?>" target="_blank"><?php echo substr($this_listing->brochure, 0, 55); ?></a></td>
                            </tr>

                        </tbody>
                    </table>

                    <div class="">
                        <a href="<?php echo base_url(); ?>event/displayEvents">
                            <button type="button" class="btn btn-primary btn-xs">Close
                                <i class="glyphicon glyphicon-log-out"></i></button></a>
                    </div>

                </div>
                <?php echo form_close(); ?>

            </div>
  
        </div>

        <!-- 3rd col -->
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2 class="form-signin-heading">Location View</h2>

                </div>
                
                <div class="panel-body" style="height: 352px">
                    
                     <div class="Flexible-container">

                <iframe width="425" height="340" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
                        src="https://www.google.com/maps?t=m&amp;&amp;sspn=0.0072501,0.0109864&amp;q=<?php echo $this_listing->address, + $this_listing->city, $this_listing->state, $this_listing->country; ?>&amp;
                        ie=UTF8&amp;hq=&amp;hnear=&amp;&amp;spn=0.006295,0.006295&amp;output=embed"></iframe>

                     </div>
                    <a href="https://www.google.com/maps?t=m&amp;&amp;sspn=0.0072501,0.0109864&amp;q=<?php echo $this_listing->address, + $this_listing->city, $this_listing->state, $this_listing->country; ?>&amp;
                                ie=UTF8&amp;hq=&amp;hnear=&<?php echo $this_listing->address, + $this_listing->city, $this_listing->state, $this_listing->country; ?>&amp;spn=0.006295,0.006295&amp;source=embed"
                                style="color:#0000FF;text-align:left">View Larger Map</a>

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