<div class="col-lg-10 col-lg-offset-1">
    <section class="panel">
        <header class="panel-heading" style="min-height:120px">
            <div class="col-lg-3">  </div>
            <div class="col-lg-6">
                <h4 class="text-center"><i class="fa fa-truck truck_icon"></i><br/> <b>Search </b></h4></div>
            <div class="col-lg-3"> </div>
        </header>
        <div class="clear"></div>
        <div class="panel-body">
            <form class="form-horizontal" method="post" action="<?php echo base_url();?>search_ctrl/search_result_list">
                <div class="col-lg-12">
                    
                    <div class="form-group col-md-10">
                        <input type="text" class="form-control" name="token" placeholder="Please enter a Token No" value="<?php if(isset($token_val)){echo $token_val;}?>" required>
                    </div>
                    
                    <div class="form-group col-md-2">
                        <button type="submit" class="btn btn-success pull-right">Search</button>
                    </div>

                </div>
                <!---->

            </form>
        </div>
    </section>

</div>
<?php
    // var_dump($se_list);
    if(!empty($se_list)){
?>
        <!-- <div class="col-lg-10 col-lg-offset-1">
            <section class="panel">
                <header class="panel-heading" style="padding-top: 0; padding-bottom: 0;">
                    <h3>Entry Details</h3>
                </header>
                <div class="clear"></div>
                <div class="panel-body">
                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Token No :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_token_no']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Type :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_type']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Customer :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['cl_name']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Transporter :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['tl_name']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Truck No :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_truck_no']; ?> </p> </div>
                    </div>
                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Trailer No :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_trailer_no']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Driver Name :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_driver_name']; ?> </p> </div>
                    </div>
                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Driver Ph :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_driver_ph_no']; ?> </p> </div>
                    </div>
                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Driver Lic :</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_lic']; ?> </p> </div>
                    </div>

                    <div class="col-md-6">
                        <div class="col-md-3"> <p>Destination <?php if($se_list['lul_type']=="Loading"){echo "(To)";}if($se_list['lul_type']=="Unloading"){echo "(From)";} ?>:</p> </div>
                        <div class="col-md-3"> <p><?php echo $se_list['lul_destination']; ?> </p> </div>
                    </div>


                </div>
            </section>

        </div> -->
        <?php
            if($se_list['lul_type']=='Loading'){
                $this->load->view('search/loading_serach_view');
            }
            if($se_list['lul_type']=='Unloading'){
                $this->load->view('search/unloading_serach_view');
            }
        ?>
<?php
    }
?>




