<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">Promotion Code</li>
  </ol>
 </section>
 
 <section class="content">
  <div class="col-lg-12"> 
   <?php echo form_open('admin/promotioncode/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 validation_errors('<div class="error">', '</div>'); ?>
    </div>
    
    <div class="form-group col-lg-8">
     <label for="code">Code</label>
     <input id="code" name="code" class="form-control" type="text" placeholder="Enter Code" readonly="readonly" value="<?php echo $code;?>">
    </div>
    
	<div class="form-group col-lg-8">
     <label for="code">Title</label>
     <input id="title" name="title" class="form-control" type="text" placeholder="Enter Title" autocomplete="off">
    </div>
	
    <div class="form-group col-lg-8">
     <label for="code">Price</label>
     <input id="price" name="price" class="form-control" type="number" placeholder="Enter Price" required  autocomplete="off"/>
    </div>
    
    
    <div class="form-group col-lg-8">
     <label for="name">From Date</label>
     <input id="date1" name="from_date" class="form-control" type="text" placeholder="Enter From Date" required autocomplete="off"/>
    </div>
    
    <div class="form-group col-lg-8">
     <label for="name">To Date</label>
     <input id="date2" name="to_date" class="form-control" type="text" placeholder="Enter To Date" required autocomplete="off"/>
    </div>
	
	<div class="form-group col-lg-8" style="display:none;">
     <label for="code">Airline (Only one airline)</label>
     <p>Ex MH</p>
     <input id="airline" name="airline" class="form-control" type="text" placeholder="Enter airline" autocomplete="off" value="<?php echo $this->input->post('airline')?>" maxlength="2"/>
    </div>
	
	<div class="form-group col-lg-8">
     <label for="code">Limited Promo Codes</label>
     <input id="limited" name="limited" class="form-control" type="number" placeholder="Enter Limited Promo Codes" autocomplete="off">
    </div>
	
	<div class="form-group col-lg-8" style="display:none;">
     <label for="code">Limited Passenger (Include Child)</label>
     <select id="passenger" name="passenger" class="form-control">
     	  <option value="1">1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
          <option value="9">9</option>
     </select>
    </div>
	
	<div class="form-group col-lg-8" style="display:none;">
     <label for="code">Payment Method</label>
     <br>
     <label><input type="checkbox" name="payment[]" id="payment[]" value="9168"> Pay Way (ABA Pay or QR Code)</label><br>
  	 <label><input type="checkbox" name="payment[]" id="payment[]" value="9169"> Pay Way (ABA Credit Card)</label><br>
	 <label><input type="checkbox" name="payment[]" id="payment[]" value="3"> Acleda</label><br>
  	 <label><input type="checkbox" name="payment[]" id="payment[]" value="4"> Pipay</label><br>
     <label><input type="checkbox" name="payment[]" id="payment[]" value="123" > Wing</label><br>
     <label><input type="checkbox" name="payment[]" id="payment[]" value="9"> Emoney</label><br>
     <label><input type="checkbox" name="payment[]" id="payment[]" value="234"> Alipay Barcode</label><br>
     <label><input type="checkbox" name="payment[]" id="payment[]" value="233"> Alipay QR Code</label><br>
    </div>
    
    <div class="form-group col-lg-8">
     <label for="name">Remark</label>
     <textarea rows="6" id="description" name="description" class="form-control" type="text" placeholder="Enter Description"></textarea>
    </div>
    
    <div class="form-group col-lg-8">
      <label for="status">Status</label>
      <div class="col-lg-12">
          <label><input type="radio" name="status" class="flat-red" value="1" checked> Active</label>&nbsp;&nbsp;
          <label><input type="radio" name="status" class="flat-red" value="0"> Not active</label> 
      </div>
    </div>
    
    <div class="form-group col-lg-8" style="margin-bottom:15px;margin-top:15px;">
     <input type="submit" value="Submit" class="btn btn-primary">
     <button type="reset" class="btn btn-danger">Reset</button>
    </div>
   </div>
   </form>
  </div>
 </section>
</div>



