while ($i <= $to_year) { $stat = $i == $from_year ? $from_month : 1; $end = $i == $to_year ? $to_month : 12; $j = $stat; while ($j <= $end) { $ret[$i][] = str_pad($j, 2, 0, STR_PAD_LEFT); $j++; } $i++; } return $ret; } //echo "<br><br><br>xxx".$sample_data; //$start_year=2011,$start_month=1; $init_duration = latestNMonths(12); $months_by_years = yearByMonths(2014, 8); //krsort($months_by_years); ?> @include('sections._filters') <span ng-model="loading" ng-init="loading=true"></span> <div ng-show="loading" style="text-align: center;padding:10px;"> <img src="{{ asset('/images/loading.gif') }}" height="20" width="20"> processing</div> <br> <label class='hdr hdr-grey'> KEY METRICS</label> <br> <div class="tabss tabs-style-flip"> <nav> <ul> <li id='tb_hd1'> <a href="#tab1" id='tb_lnk1' ng-click="displaySamplesRecieved()"> <span class="num ng-cloak" ng-model="samples_received" ng-init="samples_received=0">
$j++; } $i++; } return $ret; } //$start_year=2011,$start_month=1; $current_year = date('Y'); $current_month = date('m'); $init_duration = []; $m = 1; while ($m <= $current_month) { $init_duration[] = "{$current_year}-{$m}"; $m++; } $drp_down = yearByMonths(2000, 1); ?> <div class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">drop down <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li> errered </li> <li> drfrcx </li> </ul> </div> <br> <label class='hdr hdr-grey'> KEY METRICS</label> <br> <div class="tabss tabs-style-flip"> <nav>