<div class="innerBanner container-fluid mb-5">
	<div class="row h-100 align-items-center">
		<div class="col-md-4 col-lg-6">
			<h2 class="whiteColor mb-0">Statistics</h2>
		</div>
		<div class="col-md-8 col-lg-6">
			<ul class="breadcrumb">
				<li><a href="<?php echo base_url(); ?>">Home</a></li>
				<li><a href="javascript:;">Resource Centre</a></li>
				<li>Statistics</li>
			</ul>
		</div>
	</div>
</div>
<div class="container-fluid">
	<div class="row">
		<div class="col-lg-8 order-lg-12 mb-5" id="innerData">
			<div class="row">
				<h1 class="col-12 mb-4"><span>Statistics</span></h1>

				<div class="col-12 statistics">
					<ul class="row">
						<?php 
            $start = 0;
            if($statistics !== "No Data"){ 
              $length = sizeof($statistics);

              if($length < 6){
                $limit = $length;
              }else{
                $limit = 6;
              }
              
              for($i=$start; $i <  $limit; $i++){   
            ?>
						<li class="col-lg-6">
							<!--<a href="<?php echo $statistics[$i]->link; ?>" target="_blank" class="rounded">-->
							<a href="<?php echo base_url(); ?><?php echo $statistics[$i]->filepath; ?>" target="_blank" class="rounded">
								<?php echo $statistics[$i]->title; ?> - <strong><?php echo $statistics[$i]->month_year; ?></strong>
							</a>
						</li>
						<?php }  } ?>
					</ul>

					<?php if($statistics !== "No Data" && $length > 6){ ?>
          <ul class="row mb-4 archiveData">
            <?php 
            $start = $i;
            if($statistics !== "No Data"){ 
              for($j=$start; $j < $length; $j++){   
            ?>
            <li class="col-lg-6">
							<!--<a href="<?php echo $statistics[$j]->link; ?>" target="_blank" class="rounded">-->
							<a href="<?php echo base_url(); ?><?php echo $statistics[$j]->filepath; ?>" target="_blank" class="rounded">
								<?php echo $statistics[$j]->title; ?> - <strong><?php echo $statistics[$j]->month_year; ?></strong>
							</a>
						</li>
            <?php } } ?>
          </ul>

          <a href="#" class="archive grayGradientBg rounded mb-4">Archive  <i class="fa fa-angle-down rounded-circle" aria-hidden="true"></i></a>
          <?php } ?>
				</div>
			</div>
		</div>
		<div class="col-lg-4 order-lg-1 mb-5">
			<div class="dataList">
				<div class="blackRect"></div>
				<ul>
				<li><a href="<?php echo base_url(); ?>circulars" class="fadeAnim">Circulars</a></li>
					<li><a href="javascript:;" class="fadeAnim active">Statistics </a></li>
					<li><a href="<?php echo base_url(); ?>trade-remedies" class="fadeAnim">Trade Remedies </a></li>
					<!--<li><a href="<?php echo base_url(); ?>magazine" class="fadeAnim">E-Magazine </a></li>-->
					<li><a href="<?php echo base_url(); ?>sps-tbt" class="fadeAnim">SPS-TBT Measures</a></li>
					<li><a href="<?php echo base_url(); ?>government-representation" class="fadeAnim">Govt. Representations</a></li>
					<li><a href="<?php echo base_url(); ?>plexepages" class="fadeAnim">PLEXePAGES</a></li>
				<li><a href="<?php echo base_url(); ?>trainingandskilldevelopment" class="fadeAnim">Training & Skill Development</a></li>
					<li><a href="<?php echo base_url(); ?>mous" class="fadeAnim">MOUs </a></li>
					<li><a href="<?php echo base_url(); ?>important-links" class="fadeAnim">Important Links</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>