<div class="well">

      <ul class="tabs"> 
        <li><a href="#view1">Add Programme</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">
            
             
             	
             			<fieldset> 
                            <legend><span class="ast">*</span> indicate required fields </legend>
      
								<!--<input type="hidden" name="MAX_IMAGE_FILE_SIZE" value="MAX_IMAGE_FILE_SIZE" />
                                <input type="hidden" name="MAX_CS_PDF_FILE_SIZE" value="MAX_CS_PDF_FILE_SIZE" />
                                <input type="hidden" name="MAX_PDF_FILE_SIZE" value="MAX_PDF_FILE_SIZE" />-->
                                                    
                          <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>
                                   <span class="help-block"> e.g: Computer Science, Mathematics etc </span>
                                </div>
                             </div>
                             
                               <div class="form-group">
                              <label for="code" class="col-sm-3 control-label">Programme Code</label>
                              <div class="col-sm-9">
                              	<div class="input-group">
                                <input  id="code" class="form-control input-sm" type="text" placeholder="Programme 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: Computer Science : CSC, Mathematics: MTH etc </span>
                              </div>
                           </div>
                           
                           <div class="form-group">
                            <label class="col-sm-3 control-label" for="department">Department</label>
                            <div class="col-sm-9">
                            
                              <select id="department" class="form-control input-sm" name="department" required>
                               <option value="0"> ---- Choose Department --- </option> 
                              <?php  echo select_department($_SESSION['department']); ?>
                                
                               </select>
                            
                               
                            </div>
                            
                          </div>	
                        
                           
                             <div class="form-group">
                              <label class="col-sm-3 control-label" for="programme_type">Programme Type</label>
                              <div class="col-sm-9">
                              
                                <select id="programme_type" class="form-control input-sm" name="programme_type" required>
                                <?php  echo select_programme_type($_SESSION['programme_type']); ?>
                                </select>
                               <span class="help-block">Diploma / Advance Diploma or Cert</span>
                              </div>
                              
                            </div>
                            
                            
                            
                            
                               <div class="form-group">
                                  <label for="utme_duration" class="col-sm-3 control-label">Duration</label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="utme_duration" class="form-control input-sm" type="text" placeholder="Duration"  name="utme_duration" 
                                    value="<?php if(isset($_SESSION['utme_duration'])) echo $_SESSION['utme_duration']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                        <span class="help-block"> e.g: no of years to complete the programme </span>
                                  </div>
                               </div>	
                               
                               
                                 <div class="form-group">
                                  <label for="utme_max_duration" class="col-sm-3 control-label"> MAX Duration</label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="utme_max_duration" class="form-control input-sm" type="text" placeholder="MAX Duration"  name="utme_max_duration" 
                                    value="<?php if(isset($_SESSION['utme_max_duration'])) echo $_SESSION['utme_max_duration']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                        <span class="help-block"> e.g: Enter 6 for 6yrs </span>
                                  </div>
                               </div>	
                           
                           <?php /*?>
                                 <div class="form-group">
                                  <label for="de_duration" class="col-sm-3 control-label">DE Duration</label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="de_duration" class="form-control input-sm" type="text" placeholder="DE Duration"  name="de_duration" 
                                    value="<?php if(isset($_SESSION['de_duration'])) echo $_SESSION['de_duration']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                        <span class="help-block"> e.g: Enter 6 for 6yrs </span>
                                  </div>
                               </div>	
                           
                           
                           
                                 <div class="form-group">
                                  <label for="de_max_duration" class="col-sm-3 control-label">DE MAX Duration</label>
                                  <div class="col-sm-9">
                                    <div class="input-group">
                                    <input  id="de_max_duration" class="form-control input-sm" type="text" placeholder="DE MAX Duration"  name="de_max_duration" 
                                    value="<?php if(isset($_SESSION['de_max_duration'])) echo $_SESSION['de_max_duration']; ?>" required></input>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                        <span class="help-block"> e.g: Enter 6 for 6yrs </span>
                                  </div>
                               </div>	
                               <?php */?>
                               
                                <div class="form-group">
                                  <label for="min_credit_load" class="col-sm-3 control-label">Minimum Credit Load</label>
                                  <div class="col-sm-9">
                                  
                                    <input  id="min_credit_load" class="form-control input-sm" type="text" placeholder="Minimum Credit Load"  name="min_credit_load" 
                                    value="<?php if(isset($_SESSION['min_credit_load'])) echo $_SESSION['min_credit_load']; ?>" required></input>
                                   
                                  </div>
                               </div>	
                               
                               
                               
                               
                               
                                <div class="form-group">
                                  <label for="max_credit_load" class="col-sm-3 control-label">Maximum Credit Load</label>
                                  <div class="col-sm-9">
                                   
                                    <input  id="max_credit_load" class="form-control input-sm" type="text" placeholder="Maximum Credit Load"  name="max_credit_load" 
                                    value="<?php if(isset($_SESSION['max_credit_load'])) echo $_SESSION['max_credit_load']; ?>" required></input>
                                   
                                       
                                  </div>
                               </div>	
                           
                           
                           
                           
                           
                         <?php /*?><div class="form-group">
                          <label class="col-sm-3 control-label" for="philosophy">History / Philosophy</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="form-control input-sm" name="philosophy" action="#" >
                              <?php if(isset($_SESSION['philosophy'])){echo $_SESSION['philosophy'];} ?>
                              </textarea>
                            </div>
                          </div>
                          
                          
                          
                          
                           <div class="form-group">
                          <label class="col-sm-3 control-label" for="objectives">Objectives</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="form-control input-sm" name="objectives" action="#" >
                              <?php if(isset($_SESSION['objectives'])){echo $_SESSION['objectives'];} ?>
                              </textarea>
                            </div>
                          </div>
                         <?php */?> 
                          
                                        
		  
								
                  </div><!-- /col-lg- 6 -->
                  <div class="col-lg-6">
                  		<br /><br />
                  
                  		  <?php /*?><div class="form-group">
                          <label class="col-sm-3 control-label" for="mission">Mission</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="form-control input-sm" name="mission" action="#" >
                              <?php if(isset($_SESSION['mission'])){echo $_SESSION['mission'];} ?>
                              </textarea>
                            </div>
                          </div>
                          
                          
                          <div class="form-group">
                          <label class="col-sm-3 control-label" for="vision">Vision</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="form-control input-sm" name="vision" action="#" >
                              <?php if(isset($_SESSION['vision'])){echo $_SESSION['vision'];} ?>
                              </textarea>
                            </div>
                          </div>
                          
                          
                          
                           <div class="form-group">
                          <label class="col-sm-3 control-label" for="entry_requirements">Entry Requirements</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="form-control input-sm" name="entry_requirements" action="#" >
                              <?php if(isset($_SESSION['entry_requirements'])){echo $_SESSION['entry_requirements'];} ?>
                              </textarea>
                            </div>
                          </div>
                          
                           <div class="form-group">
                                <label class="col-sm-3 control-label" for="image">Programme 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 class="col-sm-3 control-label" for="course_structures">Course Structures</label>
                                  <div class="col-sm-9">
                                 
                                  <input    name="cs_pdf_file" class="form-control input-sm"  type="file"  ></input>
                                
                                 
                              
                                  <span class="text-danger"><?php if(isset( $_SESSION['cs_pdf_file_result_message'])){echo  $_SESSION['cs_pdf_file_result_message'];} ?></span>
                                            
                                  
                                    <span class="help-block"> Attach if any. </span>
                                    <span class="help-block"> Upload  PDF less than 50kb., PDF file should contain break down of courses associated with the programme . </span>
                                    
                                 
                                  </div>
                                  
                                </div>      
                                   
                                
                                
                           <div class="form-group">
                              <label class="col-sm-3 control-label" for="image">Detailed 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 department . </span>
                                
                             
                              </div>
                              
                            </div>
                           
                          <?php */?> 
                           
                         <div class="form-group">
                          <label class="col-sm-3 control-label" for="description">Note / Description</label>
                            <div class="col-sm-9">
                            
                              <textarea  id="" rows="3" class="rte1 form-control input-sm" name="description" action="#" >
                              <?php if(isset($_SESSION['description'])){echo $_SESSION['description'];} ?>
                              </textarea>
                            </div>
                          </div>
                          
                          
                           
                        
                        
                                   
                         <div class="form-group">
                          <label class="col-sm-3 control-label" for="status">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_programmes" name="act" />
                          
    
                                
                           		<?php /*?><input type="hidden" value="TRUE" name="upload" /><!-- ddepartment logo  -->
                                <input type="hidden" value="TRUE" name="upload_cs_pdf_list" /><!-- staff pdf list details -->
                            	<input type="hidden" value="TRUE" name="upload_pdf_details" /><!-- pdf more details -->    
                  <?php */?>
                  
                  
                  
                  
                  </div><!-- /col-lg- 6 -->
                  </fieldset>
              
              
                
               
			</div><!-- / col-lg -12 -->
							
 		</form>
                      


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