function dropdown_bulan() { $hasil = array(); for ($i = 1; $i <= 12; $i++) { $hasil[$i] = bulan_indo($i); } return $hasil; }
$this->load->view('template/header_front'); ?> <div class="span9" style='min-height:550px;'> <h4><?php echo $judul; ?> </h4> <hr> <?php $ci =& get_instance(); ?> <h4>REKAP PRESENSI <?php echo strtoupper($info->nama); ?> BULAN <?php echo strtoupper(bulan_indo(date('m'))); ?> TAHUN <?php echo date('Y'); ?> </h4> <table class='table table-bordered table-striped' width='100%' style='margin-top:10px;'> <thead bgcolor='#bbb'> <tr> <?php for ($i = 1; $i < 32; $i++) { ?> <th width='20'style='text-align:center;'><?php echo $i; ?> </th>