
        <div class="right_col" role="main">
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>Datesheet<h4 style="margin-left:150px;"><?php echo $data[0]['exam_name'] ?></h4>
                    </h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div><!-- x_title -->
                  <div class="x_content">

								<table class="table table-bordered table-stripped">
									<thead>
										<tr><th>#</th><th>Class Name</th><th>Subject Name</th><th>Exam Name</th><th>Date</th>
                    </tr>
									</thead>
									<tbody>
                    <?php foreach($data as $k=>$v){ ?>
                    <tr>
                    <td><?php echo $i++; ?></td>
                    <td><?php echo $v['class_name']; ?></td>
                    <td><?php echo $v['subject_name']; ?></td>
                    <td><?php echo $v['exam_name']; ?></td>
                    <td><?php echo date("d-m-Y",strtotime($v["date_exam"])); ?></td>
                    <tr>
                    <?php } ?>
                  </tbody>
								</table>

							</div><!-- x_content -->
					</div><!-- x_panel -->
        </div><!-- col-md-12 col-sm-12 col-xs-12 -->
      </div><!-- row -->
  </div><!-- right_col -->
