    		<!-- Top 5 programs -->        
            <div class="col-md-8 col-sm-8 col-xs-12">
              <div class="x_panel tile fixed_height_320 overflow_hidden">
                <div class="x_title">
                  <h2>Top 5 Programs</h2>
                  <!--
                  <ul class="nav navbar-right panel_toolbox">
                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    </li>
                    <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                      <ul class="dropdown-menu" role="menu">
                        <li><a href="#">Settings 1</a>
                        </li>
                        <li><a href="#">Settings 2</a>
                        </li>
                      </ul>
                    </li>
                    <li><a class="close-link"><i class="fa fa-close"></i></a>
                    </li>
                  </ul>
                  -->
                  <div class="clearfix"></div>
                </div>
                <div class="x_content">
                  <table class="" style="width:100%">
                    <tr>
                      <th style="width:37%;">
                        <p>Top 5</p>
                      </th>
                      <th>
                        <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
                          <p class="">Programs</p>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                          <p class="">Avg. Rating</p>
                        </div>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <canvas class="canvasDoughnut" height="200" width="200" style="margin: 15px 10px 10px 0"></canvas>
                      </td>
                      <td>
                        <table class="tile_info">
                        <?php
						$rc=1;
						foreach($avg_program_data as $avg_pdata) {
							?>
                              <tr>
                                <td>
                                  <p><i class="fa fa-square blue"></i><small><?php echo $avg_pdata['progname'];?> (<?php echo $avg_pdata['chname'];?>)</small> </p>
                                </td>
                                <td><?php echo $avg_pdata['avg_rat'];?>%</td>
                              </tr>
							<?	
							if($rc >= 5) break;
							$rc++;
						}
						?>
                        </table>
                      </td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>            
            <!-- End Top 5 programs -->   