<div class="profile">	
        <div class="container content">
        	<div class="row">  
                <div class="col-md-12">
<div class="tab-v1">
							<ul class="nav nav-tabs">
								<li class="active"><a href="#stugeneralinfo" data-toggle="tab">Courses</a></li>
														
							</ul>
		                <div class="tab-content">
			    <div class="tab-pane fade in active" id="stugeneralinfo">
								
									<!-- Customer Information-->
						<form action="" id="" class="sky-form" method="post">
							<header>My Courses</header>
							<fieldset>
							
							
						 <!--Conference Schedule Tables-->
                <div class="row">
                    <!--Striped Rows-->
                    <div class="col-md-12 table-responsive" > 
                        <div class="panel panel-blue margin-bottom-40"  >
                            <div class="panel-heading" align="center" style="background:#2b89c0;">
                                <h3 style="color:#fff;" class="panel-title"><i class="fa fa-star"></i> <i class="fa fa-star"> </i> <i class="fa fa-star"></i> The Following courses were allocated to you in the previous session. <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i></h3>
                            </div>
                            <table id="mycourse_tbl1" class="table table-bordegreen table-striped" >
                                <thead>
                                    <tr>
                                        <th>S/N</th>
										<th>Course Code</th>
                                        <th>Course Title</th>
                                        <th>Semester</th>
                                        <th>Level</th>
                                        <th>Session</th>										
                                        <th>Programmes</th>
                                        </tr>
                                </thead>
                                <tbody>
                                <?php $i = 0; ?>
                                <?php if(!empty($result)): ?>		
                  <?php foreach($result as $res): ?>
                    
                    <tr>
                    <td><?= $i = $i + 1; ?></td>                     
                    <td><?= $res->id?></td>
                    <td><?= $res->title?></td>
                    <td><?= $res->semester?></td>
                    <td><?= $res->level?></td>
                    <td><?= $res->session?></td>
                    <td><?= $res->programmes_allocated_to ?></td>
                    </tr>                      
                       <?php endforeach; ?>
                       <?php endif; ?>		
                  
                       
                                </tbody>
                            </table>
	
                        </div>                  
                    </div>
                    <!--End Striped Rows-->

							
                    

					</fieldset>
						</form>
								</div>
	</div>
						</div>

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

		    </div>