 <!-- Main content -->
                <section class="content">

                    <!-- Small boxes (Stat box) -->
                    <div class="row">
                        <div class="col-md-12">
                        <div class="box">
                        <div class="box-header">
                            <?php
                            // echo $client_id;
                            $condn=array('id'=>$client_id);
                            $client_row=$this->aqadmin_model->select_single('exp_clients',$condn);
                        ?>
                                    <h3 class="box-title">Gallery - <?php echo $client_row->client_name; ?></h3>                                    
                                </div>
                        <?php
                        $condn=array('client_id'=>$client_id);
                        $images=$this->aqadmin_model->select_condn('exp_gallery',$condn);
                        
                        ?>
                      </div>

                  </div>
                    </div><!-- /.row -->
                    <div class="row" id="gallery_div">

                        
                            <?php 
                            foreach($images as $image)
                            {
                                $src=base_url()."../uploads/gallery/".$image->slug."/thumbs/".$image->image;
                            
                            ?>
                            <div class="col-lg-2 col-xs-6">
                            <img src="<?php echo $src; ?>" width="100"><br>
                            <a href="<?php echo site_url('aqadmin/delete_image?id='.$image->id.'&c_id='.$image->client_id); ?>"><i class="fa fa-trash-o delete-icon"></i></a>
                            </div><!-- ./col -->
                            <?php
                            }
                            ?>
                        
                    </div>

                    <!-- top row -->
                    
