| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 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">
<?php echo $this->element('export-buttons-frontend'); ?>
<?php echo $this->Session->flash(); ?>
<?php echo $this->Form->create(null,
array('type' => 'get',
'class' => 'form-inline form-reports text-center')); ?>
<div class="form-group">
<?php echo $this->Form->label(null, __('จำนวนเครือข่ายที่มีทั้งหมด ณ ')); ?>
<?php echo $this->Form->month('month',
array(
'monthNames' => $months,
'name' => 'month',
'empty' => __('เดือน'),
'class' => 'form-control',
'value' => $month
)); ?>
<?php echo $this->Form->year('year',
$min_year, $max_year,
array(
'empty' => __('ปี'),
'name' => 'year',
'class' => 'form-control',
'value' => $year
)); ?>
</div>
<div class="form-group">
<?php echo $this->Form->input('entry_type',
array('type' => 'select',
'options' => $entry_types,
'label' => __('ในแต่ละ'),
'class' => 'form-control',
'div' => false,
'value' => isset($entry_type) ? $entry_type : '',
'empty' => false
)) ?>
</div>
<div class="form-group">
<?php echo $this->Form->submit(__('แสดง'), array('class' => 'btn-primary btn')) ?>
</div>
<?php echo $this->Form->end(); ?>
<table class="table">
<thead>
<tr>
<th><?php echo $first_column; ?></th>
<th class="text-center"><?php echo __('จำนวนองค์กร') ?></th>
<th class="text-center"><?php echo __('จำนวนบุคคล') ?></th>
<th class="text-center"><?php echo __('จำนวนกิจกรรม') ?></th>
</tr>
</thead>
<?php if (isset($data) && !empty($data)) : ?>
<tbody>
<?php
foreach ($data as $d) : ?>
<tr>
<td><?php echo $d[0]; ?></td>
<td class="text-center"><?php echo $d[1]; ?></td>
<td class="text-center"><?php echo $d[2]; ?></td>
<td class="text-center"><?php echo $d[3]; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
<?php endif; ?>
</table>
</div><!-- .frontend-content -->
</div><!-- .col-md-12 -->
</div><!-- .row -->
</div><!-- .container -->