<?= $this->extend("templates/levelcoordinator_base"); ?>

<?= $this->section("content"); ?>
<?php $page_session = \Config\Services::session(); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Exam Results</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active">Exam Results</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <!-- SELECT2 EXAMPLE -->
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title"><strong>Lecturers Submission</strong></h3>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
              <div class="row">
              <div class="col-md-6">
                <div class="form-group">
                  <label>Select Session:<font style="color:#F00">*</font></label>
                  <select class="form-control select2" style="width: 100%;" name="session" id="sessionField" onchange="spawn_semester_submission()" required> 
                    <option>Session</option>
                    <?php foreach($session_collections as $key => $value): ?>
                    <option <?php if($page_session->get('current_session')== $session_collections[$key]) echo 'selected'; ?> value = '<?= $session_value_collections[$key] ?>'><?= $session_collections[$key] ?></option>
                    <?php endforeach; ?> 
                  </select>
                </div>
              </div>
    		  <div class="col-md-6">
    			<div id = "semesterField"></div>          
    		  </div>
              </div>
              <hr/>
                
              <div class="row">
              <div class="col-md-12">
                  
				<div id="txtHintDeptStudents"><b>List of Submissions Here...</b></div>
			
              </div>
              </div>


      </div>
      <!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  

<?= $this->endSection(); ?>