
<div class="well">

      <ul class="tabs"> 
        <li><a href="#view1">Assessments</a></li>
      </ul> 
      <div class="tabcontents"> 
        <div id="view1">
        
        
        
        
        
        	<!-- <ul class="breadcrumb">
              <li><a href="gateway.php?act=view_courses">Courses</a> <span class="divider"></span></li>
                  <li class="active"> List of students per course   </li>
                  
          </ul> -->
                   
                   
                       
     			
						
				
        		<?php  echo view_student_list_per_course_prence($pid,$course_id, $session); ?>
        
              

        
        </div> <!-- /view1 -->
         
 
      </div>
</div>

</form>





<!-- signature Modal -->
<div class="modal fade" id="myModallUpload" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">Upload your Sheet</h4>
      </div>
      <div class="modal-body">
			<div class="col-md-7" style="padding-right:0px">
			
			<form action="gateway.php" method="post" enctype="multipart/form-data">
				
                
                
                
                <br/><br/><br/><br/><br/>

				 <input type="file" name="file" placeholder="Upload Result Scores Sheet" />
                 
               
               
                   
		</center>
			</div>
			<div class="col-md-5" style="padding-left:0px">
				<div class="list-group">
				<div class="form-group">
					<div class="list-group">
					<div><h4 class="alert alert-danger">Instructions</h4></div>
						Your file to be uploaded MUST conform with the following:<br/>
                        
                        * Exact file downloaded from the course ware<br/>
                        * Less than 100KB<br/>
                        * Must be a CSV file<br/>
                        * Figures enter must be strictly Numeric..<br/>
                        * Lack of comformity with the instruction can leads to account forcefully suspended..<br/>
                        * Of plain white background<br/>
				</div>
		
				</div>
			</div>
      </div>
                <div class="modal-footer">
                 <button type="submit"  class="btn btn-success"  value="Upload Signature">Upload Result Sheet</button>
                <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
			  
                
               </div>




                  <!-- check if course category before giving the access to download

        get course category
         -->
         <?php

          if($course_category == 0)
          {

          ?>
          <input type="hidden" name="act" value="view_course_upload_students_list_prence" />



          <?php

          }
          else if($course_category == 1 || $course_category == 2)//if the course is gst 
          {
          ?>

              <?php if(is_admin($user_id)){ // if the user is super admin?>

                 <input type="hidden" name="act" value="view_course_upload_students_list_prencesa" />


                 <?php }else{ //if the guy is ordinary staff?>

                
                <input type="hidden" name="act" value="view_course_upload_students_list_prencea" />



             <?php } ?>


         <?php
          }

          
          else 
          {
          ?>

            <input type="hidden" name="act" value="view_course_upload_students_list_prence" />



         <?php
          }


          ?>
               
           
               
<!--                   <input type="hidden" name="act" value="view_course_upload_students_list_prence" />
 -->                  <input type="hidden" name="cid" value="<?php echo $course_id; ?>" /><!-- course id -->
                  <input type="hidden" name="ses" value="<?php echo $session; ?>" /><!-- session -->
                  <input type="hidden" name="sem" value="<?php echo $semester; ?>" /><!-- semster-->
                  <input type="hidden" name="pid" value="<?php echo $pid; ?>" /> <!-- progrramme id -->




                  
                  
                
               
            </form>
        
          
               
    </div>
  </div>
</div>
</div>
<!-------------------------------upload csv file modal ------------------------------------------------------------------->

	

