</tr> <tr> <td><?php echo count($dataProgram); ?> </td> <td><?php echo count(Layanan::model()->findAll()); ?> </td> <td><?php echo count(Kegiatan::model()->findAll()); ?> </td> <td><?php echo DatabaseUmum::getPersentaseRealisasi("all", "1"); ?> (<a href="#">halaman rekap</a>)</td> <td> <select class="form-control" id="tahun_anggaran"> <?php AlatUmum::activeOptListYears(Yii::app()->request->cookies['tahun_anggaran']->value); ?> </select> </td> </tr> </table> <div id="tableProgram"> <?php $this->renderPartial('_program', array('dataProgram' => $dataProgram)); ?>
foreach ($dataLayanan as $key) { ?> <td><?php echo $key->nama_layanan; ?> </td> <td><?php echo $key->program->nama_program; ?> </td> <td><?php echo count($key->kegiatan); ?> </td> <td><?php echo DatabaseUmum::getPersentaseRealisasi('program', $key->id); ?> (<a href="#">halaman rekap</a>)</td> <td><?php echo $key->program->tahun_anggaran; ?> </td> <?php } ?> </tr> </table> <!-- // Tabel Daftar Program --> <table class="table table-striped table-bordered"> <tr>
<!-- // Tabel Informasi Umum Program --> <table class="table table-bordered"> <tr> <td>Nama Program</td> <td>Jumlah Kegiatan</td> <td>Persentase Realisasi</td> <td>Tahun Anggaran</td> </tr> <tr> <td><?php echo $nama_program; ?> </td> <td>10</td> <td><?php echo DatabaseUmum::getPersentaseRealisasi('layanan', $id_program); ?> (<a href="#">halaman rekap</a>)</td> <td>2015</td> </tr> </table> <!-- // Tabel Daftar Program --> <table class="table table-striped table-bordered"> <tr> <th>No</th> <th>Kode</th> <th>Nama Layanan</th> <th>Target</th> <th>Realisasi</th> <th>Kegiatan</th>