     <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">Price</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/price/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">
                      <label for="to">Services For</label>
                        <select class="form-control" name="services" id="services">
                        <?php 
			  			$sql = $this->db->query('SELECT `id`, `typename` FROM `tblservices` where `status` =1');
			  			foreach ($sql->result() as $service)
			  			{  
			  			?>
             			 <option value="<?php echo $service->id ?>"><?php echo $service->typename ?></option> 
              			<?php }?>
						</select>
                    </div>
                    
                    <div class="form-group col-lg-8">
                      <label for="to">Car</label>
                        <select class="form-control" name="car">
                        <?php 
			  			$sql = $this->db->query('SELECT `id`, `fullname` FROM `tblcar` order by `fullname`');
			  			foreach ($sql->result() as $car)
			  			{  
			  			?>
             			 <option value="<?php echo $car->id ?>"><?php echo $car->fullname ?></option> 
              			<?php }?>
						</select>
                    </div>
                    
                    <div class="form-group col-lg-8">
                      <label for="to">Routes Code</label>
                        <select class="form-control" name="routes" id="routes">
                        <?php 
			  			$sql = $this->db->query('SELECT `id`, `routecode` FROM `tblroutes`');
			  			foreach ($sql->result() as $routes)
			  			{  
			  			?>
             			 <option value="<?php echo $routes->id ?>"><?php echo $routes->routecode ?></option> 
              			<?php }?>
						</select>
                    </div>
                    
                    <div class="form-group col-lg-8">
                    <?php echo form_error('price','<div class="error">', '</div>'); ?>
					   <label for="name">Price</label>
					   <input id="price" name="price" class="form-control" type="number" placeholder="Enter Price">
					</div>
                    
					<div class="form-group col-lg-8">
                    <?php echo form_error('price','<div class="error">', '</div>'); ?>
					   <label for="name">Over Stay</label>
					   <input id="over_stay" name="over_stay" class="form-control" type="number" placeholder="Enter Over Stay">
					</div>
					
					<div class="form-group col-lg-8">
                    <?php echo form_error('price','<div class="error">', '</div>'); ?>
					   <label for="name">Full Day Price</label>
					   <input id="wholeday" name="wholeday" class="form-control" type="number" placeholder="Enter Full Day Price">
					</div>
                    
                    <div class="form-group col-lg-8">
                    <?php echo form_error('vat','<div class="error">', '</div>'); ?>
					   <label for="name">VAT</label>
					   <input id="vat" name="vat" class="form-control" type="number" placeholder="Enter VAT">
					</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>
                    
                    
                </div>
             </form>
            </div>
        </section>
     </div>
