<div class="panel panel-default">

    <div class="panel-heading">
        <h6 class="panel-title">
            <a href="<?php echo site_url('everbright/oemployee_add'); ?>"><i class="fa fa-align-justify"></i></a> 
            Others Employee Information | Add Info.
        </h6>
        <a href="<?php echo site_url('everbright/oemployee'); ?>" class="pull-right btn btn-circle btn-xs btn-default"><i class="fa fa-times"></i>Cancel</a>
    </div>

    <div class="panel-body">
        <form action="<?php echo site_url('everbright/do_upload_oemployee'); ?>" method="post" class="form-horizontal validate" role="form" enctype="multipart/form-data"> 
            <div class="row">
				<div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right"><span>Serial</span><span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control " placeholder="Serial" name="serial">
                        </div>
                    </div> 
                </div>
                <!-- Date -->
				<div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right"><span>Name</span><span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control " placeholder="Name" name="name">
                        </div>
                    </div> 
                </div>
                
                                 
            </div>
                      
            <div class="row">
                
				<?php 
                        $query = $this->main_model->desig();
                        
                        ?>
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Designation<span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <select data-placeholder="(:-- Select Designation --:)" name="designation" class="required  select-search">
                               
							   <option value=""></option>
							   <?php foreach($query as $row): ?>
                                <option value="<?php echo $row['did']; ?>"><?php echo $row['name']; ?></option>
								<?php endforeach; ?>
                              
                            </select>                            
                        </div>
                        
                    </div> 
                </div>
				<div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4 text-right">Contact Number<span class="mandatory">*</span> </label>
                        <div class="col-md-8">
                            <input type="text"  class="required  form-control" placeholder="Mobile Number" name="contact">
                        </div>
                    </div>
                </div>

            </div>
			<div class="row">
                <!-- ATTN -->
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Education<span class="mandatory">*</span> </label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control" placeholder="Education" name="education">
                        </div>
                    </div> 
                </div> 
           			
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Joining Date <span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <input type="text" class="required form-control datepicker" placeholder="Date" name="join_date" value="<?php echo date('Y-m-d'); ?>">
                        </div>
                    </div> 
                </div> 
 </div>
			<div class="row">				
                <!-- VOL -->
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4 text-right">Picture </label>
                        <div class="col-md-8">
                            <input type="file" name="pic_file" id="pic_file">
                       
						</div>
                    </div>
                </div>				
            </div>
			
            <div class="form-actions text-right">
                <button type="submit" value="Submit" class="btn btn-primary"><i class="fa fa-check"></i> Submit</button>
            </div>
        </form>
    </div>

</div>
