Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/View/Reports/ |
Upload File : |
<?php echo $this->element('filter-start', array( 'display_helper_text' => true )); ?> <?php echo $this->element('filter-end'); ?> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="frontend-content"> <div class="btn-group pull-left"> <?php echo $this->Html->link(__('ปีปฏิทิน'), array( 'controller' => 'reports', 'action' => 'growth', 'normal', '?' => $this->params->query ), array( 'class' => $normal_classes )); echo $this->Html->link(__('ปีงบประมาณ'), array( 'controller' => 'reports', 'action' => 'growth', 'financial', '?' => $this->params->query ), array( 'class' => $financial_classes )); ?> </div> <div class="clearfix"> <div class="pull-right export-buttons"> <?php echo $this->Html->image('icon-xls.png', array( 'url' => array( $year_type, 'ext' => 'csv', '?' => $this->params->query ) )); ?> <?php echo $this->Html->image('icon-pdf.png', array( 'url' => array( $year_type, 'ext' => 'pdf', '?' => $this->params->query ) )); ?> </div> </div> <div class="clearfix"></div> <?php echo $this->Session->flash(); ?> <?php echo $this->Form->create(null, array('type' => 'get', 'class' => 'form-inline form-reports text-center')); ?> <?php echo $this->Form->input('growth_type', array( 'type' => 'select', 'options' => array( 'type' => __('ประเภทองค์กร'), 'member' => __('ความร่วมมือพิเศษ') ), 'value' => $growth_type, 'label' => __('จำนวนองค์กรที่เพิ่มขึ้นในแต่ละ'), 'div' => 'form-group', 'class' => 'form-control' )); ?> <div class="form-group"> <?php echo $this->Form->label('ReportFromYear',__('ในช่วงระหว่างปี')); ?> <?php echo $this->Form->year('from', $min_year, $max_year, array( 'empty' => false, 'value' => $from, 'name' => 'from', 'class' => 'form-control' )); ?> </div> <div class="form-group"> <?php echo $this->Form->label('ReportToYear', __('ถึง')); ?> <?php echo $this->Form->year('to', $min_year, $max_year, array( 'empty' => false, 'value' => $to, 'name' => 'to', 'class' => 'form-control' )); ?> </div> <div class="form-group"> <?php echo $this->Form->submit(__('แสดง'), array('class' => 'btn-primary btn')) ?> </div> <?php echo $this->Form->end(); ?> <div class="table-responsive"> <table class="table"> <thead> <tr> <th><?php echo $first_column_title; ?></th> <?php for ($i = 0; $i < count($range); $i++ ) : ?> <th class="text-center"><?php echo $range[$i]; ?></th> <?php endfor; ?> <th class="text-center"><?php echo __('รวมเพิ่มขึ้น') ?></th> <th class="text-center"><small><?php echo __('หมายเหตุ<br>จำนวนที่มีในปัจจุบัน') ?></small></th> </tr> </thead> <tbody> <?php foreach ($members as $member) : ?> <tr> <td><?php echo $member['name']; ?></td> <?php $sum = 0; foreach ($member['growth'] as $g) : $sum += $g; ?> <td class="text-center"><?php echo $g; ?></td> <?php endforeach; ?> <td class="text-center"><?php echo $sum; ?></td> <td class="text-center"><?php echo $member['total']; ?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div><!-- .frontend-content --> </div><!-- .col-md-12 --> </div><!-- .row --> </div><!-- .container -->