<div class="well">

      <ul class="tabs"> 
        <li><a href="#view1">Add Faculty</a></li> 
      </ul> 
      <div class="tabcontents"> 
        <div id="view1" class="row">
        
        	<!-- form cut to the toolbar add faculties -->
         	<div class="col-lg-12">
            
            	<div class="col-lg-6">
            
             		<input type="hidden" name="MAX_IMAGE_FILE_SIZE" value="MAX_IMAGE_FILE_SIZE" />
                    <input type="hidden" name="MAX_PDF_FILE_SIZE" value="MAX_PDF_FILE_SIZE" />
                    <input type="hidden" name="MAX_DEAN_FILE_SIZE" value="MAX_DEAN_FILE_SIZE" />             	
             			<fieldset> 
                            <legend><span class="ast">*</span> indicate required fields </legend>
      

                                                  
                        <div class="form-group">
                              <label for="title" class="col-sm-3 control-label">Title </label>
                              <div class="col-sm-9">
                              	<div class="input-group">
                                <input  id="title" class="form-control input-sm" type="text" placeholder="Title"  name="title" 
                                value="<?php if(isset($_SESSION['title'])) echo $_SESSION['title']; ?>" required></input>
                                <div class="input-group-addon"> <span class="ast">*</span></div>
                                </div>
                                 
                              </div>
                           </div>
                           
                           <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Faculty Code </label>
                              <div class="col-sm-9">
                              	<div class="input-group">
                                <input  id="code" class="form-control input-sm" type="text" placeholder="Faculty Code"  name="code" 
                                value="<?php if(isset($_SESSION['code'])) echo $_SESSION['code']; ?>" required></input>
                                <div class="input-group-addon"> <span class="ast">*</span></div>
                                </div>
                                    <span class="help-block"> e.g: Faculty of Applied and Natural Sciences Code : FNS. </span>
                              </div>
                           </div>
                           
                           
                           
                             <div class="form-group">
                                <label class="col-sm-3 control-label" for="image">Faculty Image</label>
                                <div class="col-sm-9">
                               
                                <input    name="image" class="form-control input-sm"  type="file"  ></input>
                              
                               
                                  <span class="text-danger"><?php if(isset( $_SESSION['image_result_message'])){echo  $_SESSION['image_result_message'];} ?></span>
                                
                                
                                  <span class="help-block"> Attach image if any. </span>
                                  <span class="help-block"> Upload  Image less than 100kb., Image must be atleast 1000px to 350px  . </span>
                                  
                               
                                </div>
                                
                              </div>
                              
                                <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Faculty Location </label>
                              <div class="col-sm-9">
                             
                                <input  id="location" class="form-control input-sm" type="text" placeholder="Location"  name="location" 
                                value="<?php if(isset($_SESSION['location'])) echo $_SESSION['location']; ?>" ></input>
                            
                                 <span class="help-block"> e.g Complex B. </span>
                                  
                              </div>
                           </div>
                           
                            <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Phone Contacts </label>
                              <div class="col-sm-9">
                             
                                <input  id="contacts" class="form-control input-sm" type="text" placeholder="Contacts"  name="contacts" 
                                value="<?php if(isset($_SESSION['contacts'])) echo $_SESSION['contacts']; ?>" ></input>
                            
                                 <span class="help-block"> e.g +234 8076306088, +234 8097667783. </span>
                                  
                              </div>
                           </div>
                        
                        <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Faculty's Email </label>
                              <div class="col-sm-9">
                             
                                <input  id="email" class="form-control input-sm" type="text" placeholder="Email"  name="email" 
                                value="<?php if(isset($_SESSION['em'])) echo $_SESSION['em']; ?>" ></input>
                            
                                
                                  
                              </div>
                           </div>
                           
                        
                              
                           
                         <div class="form-group">
                          <label class="col-sm-3 control-label" for="description">Note / Description</label>
                            <div class="col-sm-9">
                            
                              <textarea class="form-control input-sm" id="" rows="3" class="rte1" name="description" action="#" >
                              <?php if(isset($_SESSION['description'])){echo $_SESSION['description'];} ?>
                              </textarea>
                            </div>
                          </div>
                        
                          
							
                  </div><!-- /col-lg- 6 -->
                  
                  <div class="col-lg-6">
                  	<br /><br />
                  
                  
                   <div class="form-group">
                      <label class="col-sm-3 control-label" for="image">PDF File</label>
                      <div class="col-sm-9">
                     
                      <input    name="pdf_file" class="form-control input-sm"  type="file"  ></input>
                    
                     
                  
                      <span class="text-danger"><?php if(isset( $_SESSION['pdf_file_result_message'])){echo  $_SESSION['pdf_file_result_message'];} ?></span>
                                
                      
                        <span class="help-block"> Attach if any. </span>
                        <span class="help-block"> Upload  PDF less than 30kb., PDF file can contain more information about the faculty . </span>
                        
                     
                      </div>
                      
                    </div>
                              
                              
                         <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Dean's Name </label>
                              <div class="col-sm-9">
                             
                                <input  id="dean_name" class="form-control input-sm" type="text" placeholder="Faculty Dean's Name"  name="dean_name" 
                                value="<?php if(isset($_SESSION['dean_name'])) echo $_SESSION['dean_name']; ?>" ></input>
                            
                                
                                    <span class="help-block"> e.g: PROF. OBIALOM CHILOM </span>
                              </div>
                           </div>
                           
                            <div class="form-group">
                                <label class="col-sm-3 control-label" for="image">Dean's Image</label>
                                <div class="col-sm-9">
                               
                                <input    name="dean_image" class="form-control input-sm"  type="file"  ></input>
                              
                               
                            
                                <span class="text-danger"><?php if(isset( $_SESSION['dean_image_result_message'])){echo  $_SESSION['dean_image_result_message'];} ?></span>
                      
                                
                                  <span class="help-block"> Attach image if any. </span>
                                  <span class="help-block"> Upload  Image less than 20kb., Image must be atleast 180px to 180px  . </span>
                                  
                               
                                </div>
                                
                              </div>
                              
                           
                           
                            
                          
                                   
                         <div class="form-group">
                          <label class="col-sm-3 control-label" for="gender">Status</label>
                          <div class="col-sm-9">
                          
                            <select id="status" class="form-control input-sm" name="status" required>
                              
                            <?php  echo select_status($_SESSION['status']); ?>
                              
                             </select>
                          
                             
                          </div>
                          
                        </div>	
                        
                        
                        <input type="hidden" value="save_faculties" name="act" />
                        
                           <input type="hidden" value="TRUE" name="upload" /><!-- faculty image -->
                            <input type="hidden" value="TRUE" name="upload_pdf_details" /><!-- pdf more details -->
                              <input type="hidden" value="TRUE" name="upload_dean_image" /><!-- dean_image  -->
                            
                                
		  
                  
                  </div><!-- /col-lg- 6 -->
                  </fieldset>
              
              
                
               
			</div><!-- / col-lg -12 -->
							
 		</form>
                

        
        </div> 
      </div>
</div>