     <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Channellimo
            <small>Preview</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Forms</a></li>
            <li class="active">Images</li>
          </ol>
        </section>
        
        <section class="content">
        	<div class="col-lg-12">
            <?php echo validation_errors('<div class="error">', '</div>'); ?>
            <?php echo form_open_multipart('admin/images/add');?>
             	<div class="box box-primary col-lg-8">
                	<div class="box-header with-border">
						<h3 class="box-title">FORM ADD</h3>
					</div>
                    
                    <div class="form-group col-lg-8">
                    <?php echo form_open_multipart();?>
					<?php echo form_error('uploadedimages[]'); ?>
                    
                      <label for="carname">Type Car</label>
                        <select class="form-control" name="carname">
                        <?php 
			  			$sql = $this->db->query('SELECT `id`,`fullname` FROM `tblcar` ORDER BY `id` DESC');
			  			foreach ($sql->result() as $car)
			  			{  
			  			?>
             			 <option value="<?php echo $car->id ?>"><?php echo $car->fullname ?></option> 
              			<?php }?>
						</select>
                    </div>
                    <br></br>
                    <div class="form-group col-lg-8">
					   <label for="title">Title</label>
					   <input name="title" class="form-control" type="text" placeholder="Enter Title">
					</div>
                    <div class="form-group col-lg-8">
					<?php echo form_upload('uploadedimages[]','','multiple'); ?>
					</div>
					<div class="form-group col-lg-8">
                     <input type="submit" value="Submit" class="btn btn-primary">
                     <button type="reset" class="btn btn-danger">Reset</button>
                    </div>
					<?php echo form_close();?>

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