 <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>Result</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 -->
                  
                      <?php if ($this->session->flashdata('msg')): ?>
                      <div class="alert alert-info col-md-6 col-md-offset-3">
                      <?php echo $this->session->flashdata('msg'); ?>
                      </div>
                      <?php endif ?>

                    <div class="x_content">
<!-- =================================================================================================================== -->
                
                        <form class="form-horizontal form-label-left" action="<?php echo base_url() ?>Portal/Result/viewResult" method="post">
                            <div class="item form-group">
                              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="branch">Exam<span class="required">*</span>
                              </label>
                              <div class="col-md-6 col-sm-6 col-xs-12">
                                <select id="branch" class="form-control col-md-7 col-xs-12 branch" name="exam" required="required">
                                  <option value=''>Select Exams</option>
                                  <?php foreach($exam as $k=>$v){ ?>
                                  <option value='<?php echo $v['id']; ?>'><?php echo $v['name']; ?></option>
                                  <?php } ?>
                                </select>
                              </div>
                            </div>
                           

                            <div class="form-group">
                              <div class="col-md-6 col-md-offset-3">
                                <button id="send" type="submit" class="btn btn-success pull-right">View Result</button>
                              </div>
                            </div>
                          </form>
<!-- ========================================================================================= -->

                  </div><!-- x_content -->
                </div>
              </div>
            </div>
          </div>

</div><!-- right_col -->

  