当前位置: 首页>>代码示例>>PHP>>正文


PHP fform::fl方法代码示例

本文整理汇总了PHP中fform::fl方法的典型用法代码示例。如果您正苦于以下问题:PHP fform::fl方法的具体用法?PHP fform::fl怎么用?PHP fform::fl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在fform的用法示例。


在下文中一共展示了fform::fl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: dbSFA

 if ($opt == 'uf' || $opt == 'df') {
     // Prepocessing form
     $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
 } else {
     $r = farray('kelas', 'tingkat', 'kapasitas', 'wali', 'keterangan');
     $r['tahunajaran'] = gpost('tahunajaran');
     $r['tingkat'] = gpost('tingkat');
     $r['kapasitas'] = 1;
 }
 $fform->dimension(450, 100);
 $fform->head();
 if ($opt == 'af' || $opt == 'uf') {
     require_once MODDIR . 'control.php';
     // Add or Edit form
     $pelajaran = pelajaran_opt(gpost('tahunajaran'));
     $fform->fl('Kelas', kelas_name(gpost('sks_kelas')));
     $fform->fi('Mata pelajaran', iSelect('pelajaran', $pelajaran, $r['kelas']));
     $s = '<button title="Cari" class="btn" style="float:left" onclick="sks_guru_formlist()"><div class="bi_srcb">&nbsp;</div></button>';
     $fform->fi('Guru', iText('sguru', $r['sguru'], 'float:left;margin-right:4px;width:' . ($fform->rwidth - 40) . 'px', '', 'readonly', 'onclick="sks_guru_formlist()"') . $s);
     hiddenval('guru', $r['guru']);
     if ($opt == 'af') {
         $fform->fi('Jumlah jam', iText('njam', 1, 'width:40px;text-align:center'));
         $fform->fi('', '<div title="Cek opsi ini jika pengajar mata pelajaran untuk semua adalah sama." style="margin-top:10px">' . iCheckx('salin', 'Tambahkan juga ke semua kelas lainnya.', 0) . '</div>');
     } else {
         hiddenval('njam', 1);
     }
 } else {
     if ($opt == 'df') {
         // Delete form
         $fform->dlg_del($r[$fmod]);
     }
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:sks.php

示例2: hiddenval

     if ($jtrans == JT_OUTCOME) {
         $fform->idata = 'transaksi pengeluaran';
     } else {
         $fform->idata = 'jurnal umum';
     }
 }
 //jt_name($jtrans);
 $fform->head();
 if ($opt == 'af' || $opt == 'uf') {
     require_once MODDIR . 'control.php';
     // Add or Edit form
     hiddenval('trans_pembayaran', $pid);
     hiddenval('trans_jenis', $jtrans);
     hiddenval('trans_nomer', $r['nomer']);
     hiddenval('trans_ct', $r['ct']);
     $fform->fl('<b>Nomor</b>', '<b><span id="box_trans_nomer">' . $no['nomer'] . '</span></b>');
     $fform->fi('Tanggal', inputTanggal('trans_tanggal', $r['tanggal'], 'transaksi_getnomer()'));
     $fform->fi('Rek. Kas/Bank', iSelect('rekkas', $rekasbank, $r['rekkas'], $fform->rwidths, 'transaksi_getnomer()'));
     $fform->fg('pada');
     $fform->fi('Rek. perkiraan', iSelect('rekitem', $rekening, $r['rekitem'], $fform->rwidths));
     $fform->fa('Uraian', iTextArea('uraian', $r['uraian'], $fform->rwidths, 3));
     $fform->fi('Nominal', iTextC('nominal', $r['nominal'], 'width:120px'));
 } else {
     if ($opt == 'df') {
         // Delete form
         $fform->rheight = '';
         $fform->fc('Apakah anda yakin untuk menghapus data transaksi ini?');
         $fform->fl('Nomor', '<b>' . $r['nomer'] . '</b>');
         $fform->fl('Tanggal', fftgl($r['tanggal']));
         $fform->fl('Uraian', $r['uraian']);
     }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pembayaran.php

示例3: dbSFA

} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r = array();
        $r['departemen'] = gpost('departemen');
        $r['proses'] = gpost('proses');
        $r['kapasitas'] = 0;
        $r['biaya'] = 0;
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Departemen', departemen_name(gpost('departemen')), $fform->rwidths);
        $fform->fl('Proses', proses_name($r['proses']), $fform->rwidths);
        $fform->fi('Nama kelompok', iText('kelompok', $r['kelompok'], $fform->rwidths));
        $fform->fi('Tanggal dibuka', inputTanggal('tglmulai', $r['tglmulai']));
        $fform->fi('Tanggal ditutup', inputTanggal('tglselesai', $r['tglselesai']));
        $fform->fi('Biaya pendaftaran', iTextC('biaya', $r['biaya'], 'width:120px'));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_del($r['kelompok']);
        } else {
            if ($opt == 'hf') {
                $fform->fh('Kelompok pendaftaran adalah pembagian tahap atau gelombang pendaftaran dalam satu periode penerimaan siswa baru.<br/>Contoh kelompok pendaftaran: "Early bird", "Reguler Gelombang 1", "Reguler Gelombang 2".');
            }
        }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:kelompok.php

示例4: fform

 } else {
     if ($opt == 'af' || $opt == 'uf') {
         $fform = new fform($fmod, $opt, $cid, 'Data presensi guru');
         $fform->reg['btnlabel_a_n'] = 'Batal';
         $fform->dimension(600);
         $fform->ptop = 5;
         $fform->globalkey = '0';
         $fform->reg['title_af'] = 'Edit <idata>';
         $fform->head();
         //$fform->fl('Departemen',departemen_name(gpost('departemen')));
         //$fform->fl('Tingkat',tingkat_name(gpost('tingkat')));
         //$fform->fl('Tahun ajaran',tahunajaran_name(gpost('tahunajaran')));
         $fform->rheight = '';
         if ($opt == 'af') {
             //$fform->fl('Kelas',kelas_name(gpost('kelas')));
             $fform->fl('Tanggal', fftgl(gpost('tanggal')));
         } else {
             $tanggal = gpost('tanggal');
             $db = guru_db_byID($cid);
             $r = $db->gofetch();
             $fform->fl('Nama', $r['npegawai']);
             //$fform->fl('Kelas',$r['nkelas']);
             $fform->fl('Bulan', ftgl_namabulan(intval(date("m", $tanggal))));
         }
         $fform->rheight = '30px';
         echo '<tr><td colspan="2"><div id="box_presensiguru_list">';
         require_once APPDIR . 'presensiguru_list_get.php';
         echo '</div></td></tr>';
         $fform->foot();
     }
 }
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:presensiguru.php

示例5: dbSFA

        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r['departemen'] = gpost('departemen');
        $r['tahunajaran'] = gpost('tahunajaran');
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Departemen', departemen_name($r['departemen']));
        $fform->fl('Departemen', tahunajaran_name($r['tahunajaran']));
        $fform->fi('Semester', iText('nama', $r['nama'], 'width:100px'));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            if (intval($r['aktif']) == 1) {
                $fform->reg['dlg_del'] = 'Semester ini masih aktif.<br/ >Apakah anda yakin untuk menghapus <idata> <data>?';
                $fform->dlg_delw($r['nama']);
            } else {
                $fform->dlg_del($r['nama']);
            }
            //$fform->dlg_del($r['nilai']);
        }
    }
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:semester.php

示例6: iText

     $angkatan = $rp['angkatan'];
     /*
     $s='<table cellspacing="0" cellpadding="0"><tr>';
     $s.='<tr height="20px"><td width="100px">Nama:</td><td><b>'.$r['nama'].'</b></td></tr>';
     $s.='<tr height="20px"><td>No pendaftaran:</td><td>'.$r['nopendaftaran'].'</td></tr>';
     $cs=calonsiswa_syarat($r['replid']);
     if($cs>1){
     	$s.='<tr><td colspan="2"><div class="warnbox" style="margin-top:6px">Persyaratan wajib belum dipenuhi. Apakah anda yakin untuk menerima siswa tersebut sebagai siswa aktif?</div></td></tr>';
     	$fform->reg['btnlabel_u_y']='   Ya   ';
     	$fform->reg['btnlabel_u_n']='Tidak';
     }
     $s.='</table>';
     */
     //$fform->dlg('<div style="height:20px">Terima calon siswa berikut sebagai siswa aktif.</div>',$s);
     $fform->fc('Terima calon siswa berikut ini:');
     $fform->fl('Nama', '<b>' . $r['nama'] . '</b>');
     $fform->fl('No pendaftaran', $r['nopendaftaran']);
     $fform->fc('sebagai siswa aktif pada:');
     $fform->fl('Departemen', departemen_name($r['departemen']));
     $fform->fl('Angkatan', angkatan_name($angkatan));
     $fform->fi('No Induk', iText('nis', $r['nis'], 'width:120px'));
     $fform->fi('NISN', iText('nisn', $r['nisn'], $fform->rwidths));
     hiddenval('status', 1);
     hiddenval('angkatan', $angkatan);
     //if($cs>1) echo '<tr><td colspan="2"><div class="warnbox">Persyaratan wajib belum dipenuhi. Apakah anda yakin untuk menerima siswa tersebut sebagai siswa aktif?</div></td></tr>';
 } else {
     $fform->dlgw('Pembatalan penerimaan siswa ini juga menghapus data siswa aktif.', 'Apakah anda yakin untuk membatalkan penerimaan siswa:<br/><b>' . $r['nama'] . '</b>?');
     hiddenval('nis', 0);
     hiddenval('nisn', 0);
     hiddenval('status', 0);
     hiddenval('angkatan', 0);
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pendataan_status.php

示例7: dbSFA

            }
        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r['lokasi'] = $inp['lokasi'];
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Lokasi', '[' . lokasi_kode($r['lokasi']) . '] ' . lokasi_name($r['lokasi']));
        $fform->fi('Nama', iText('nama', $r['nama'], $fform->rwidths));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            if (0 > 0) {
                $fform->reg['dlg_del'] = 'Tingkat masih digunakan. Apakah anda yakin untuk menghapus <idata> <data>?';
                $fform->dlg_delw($r[$fmod], 'Data-data kelas dan siswa yang termasuk dalam tingkat ini juga akan dihapus. Data yang sudah dihapus tidak dapat dikembalikan.');
            } else {
                $fform->dlg_del($r['nama']);
            }
            //$fform->dlg_del($r['nilai']);
        }
    }
    $fform->foot();
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:tempat.php

示例8: dbSFA

            }
        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r['departemen'] = $inp['departemen'];
    }
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Departemen', departemen_name($r['departemen']));
        $fform->fi('Angkatan', iText('angkatan', $r['angkatan'], 'width:60px'));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            if (dbSRow("aka_siswa", "W/angkatan='{$cid}'") > 0) {
                $fform->reg['dlg_del'] = '<idata> masih digunakan. Apakah anda yakin untuk menghapus <idata> <data>?';
                $fform->dlg_delw($r[$fmod], 'Data-data kelas dan siswa yang termasuk dalam tingkat ini juga akan dihapus. Data yang sudah dihapus tidak dapat dikembalikan.');
            } else {
                $fform->dlg_del($r[$fmod]);
            }
        }
    }
    $fform->foot();
}
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:angkatan.php

示例9: dbSFA

     echo '<tr><td><div id="box_alumni_list">';
     require_once APPDIR . 'alumni_list_get.php';
     echo '</div></td></tr>';
     $fform->foot();
 } else {
     if ($opt == 'uf') {
         $r = dbSFA("*", "aka_alumni", "W/replid='{$cid}'");
         $r1 = dbSFA("nama,nisn", "aka_siswa", "W/replid='" . $r['siswa'] . "'");
         //$fform->reg['title_af']='<idata>';
         //$fform->reg['btnlabel_a_y']='Pilih yg ditandai';
         //$fform->reg['btnlabel_a_n']='Batal';
         //$fform->dimension(500);
         //$fform->ptop=20;
         //$fform->globalkey='0';
         $fform->head();
         $fform->fl('Nama alumni', $r1['nama']);
         $fform->fl('NISD', $r1['nisn']);
         $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
         $fform->foot();
     } else {
         if ($opt == 'df') {
             //$fform->reg['title_df']='Keluarkan Siswa Dari Rombongan Belajar';
             //$fform->reg['btnlabel_u_n']='Tidak';
             //$fform->reg['btnlabel_d_y']='   Ya   ';
             $fform->head();
             $r1 = dbSFA("nama,nis", "aka_siswa", "W/replid='{$cid}'");
             $fform->dlg_del($r1['nama']);
             $fform->foot();
         }
     }
 }
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:alumni_siswa.php

示例10: dbSFA

} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r = farray('kelas', 'tingkat', 'kapasitas', 'wali', 'keterangan');
        $r['tahunajaran'] = gpost('tahunajaran');
        $r['tingkat'] = gpost('tingkat');
        $r['kapasitas'] = 1;
    }
    $fform->dimension(450, 100);
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Departemen', departemen_name(gpost('departemen')));
        $fform->fl('Tahun ajaran', tahunajaran_name($r['tahunajaran']));
        $fform->fl('Tingkat', tingkat_name($r['tingkat']));
        $fform->fi('Nama kelas', iText($fmod, $r['kelas'], $fform->rwidths));
        $fform->fi('Kapasitas', iText('kapasitas', $r['kapasitas'], 'width:40px;text-align:center') . ' &nbsp;siswa');
        $fform->fi('Wali', app_form_getguru('wali', $r, 'kelas_setwali'));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            if (dbSRow("aka_siswa", "W/kelas='{$cid}'") > 0) {
                $fform->reg['dlg_del'] = '<idata> masih digunakan. Apakah anda yakin untuk menghapus <idata> <data>?';
                $fform->dlg_delw($r[$fmod], 'Data-data siswa yang termasuk dalam kelas ini juga akan dihapus. Data yang sudah dihapus tidak dapat dikembalikan.');
            } else {
                $fform->dlg_del($r[$fmod]);
            }
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:kelas.php

示例11: gpost

    $data = gpost('data');
    if ($data != "") {
        $did = explode(",", $data);
        $n = count($did);
        for ($i = 0; $i < $n; $i++) {
            $cid = $did[$i];
            $nilai = gpost('nilai_' . $cid);
            $q = dbQSql("UPDATE aka_daftarnilai SET nilai='{$nilai}' WHERE penilaian='{$peni}' AND siswa='{$cid}'");
            //log_print("INSERT INTO aka_siswa_kelas SET kelas='$kls',siswa='$cid'");
        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf') {
        //$fform->reg['title_af']='<idata>';
        //$fform->reg['btnlabel_a_y']='Pilih yg ditandai';
        //$fform->reg['btnlabel_a_n']='Batal';
        $fform->dimension(600);
        $fform->ptop = 20;
        $fform->globalkey = '0';
        $fform->head();
        $fform->rheight = '';
        $fform->fl('Pelajaran', pelajaran_name(gpost('pelajaran')));
        $fform->fl('Kelas', kelas_name(gpost('kelas')));
        $fform->fl('Penilaian', guru_penilaian_name(gpost('penilaian')));
        echo '<tr><td colspan="2"><div id="box_daftarnilai_list" style="margin-top:4px">';
        require_once APPDIR . 'daftarnilai_list_get.php';
        echo '</div></td></tr>';
        $fform->foot();
    }
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:daftarnilai.php

示例12: dbSFA

     $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
 } else {
     $r = array();
     $r['sumber'] = 0;
     $r['kode'] = lokasi_kode($inp['lokasi']) . '.' . grup_kode($inp['grup']) . '.' . katalog_kode($inp['katalog']) . '.';
     $l = barang_lbarkode();
     $r['kode'] .= sprintf("%05d", $l);
     $r['barkode'] = sprintf("%05d", $l);
     $r['kondisi'] = 1;
 }
 $fform->ptop = 100;
 $fform->head();
 if ($opt == 'af' || $opt == 'uf') {
     require_once MODDIR . 'control.php';
     // Add or Edit form
     $fform->fl('Nama barang', $rk['nama']);
     if ($opt == 'af') {
         //echo '<textarea>';
         $fform->fi('Jumlah unit baru', iText('nunit', 1, 'width:50px', '', 'onblur="katalog_unit_cek(this)"'));
         hiddenval('tkode', $r['kode']);
         hiddenval('tbarkode', $r['barkode']);
         //echo '</textarea>';
     }
     $fform->fi('Kode', iText('kode', $r['kode'], $fform->rwidths, '', '', 'disabled'));
     $fform->fi('Barkode', iText('barkode', $r['barkode'], 'width:150px', '', '', 'disabled'));
     // iRadio($d,$n,$v,$l='',$a='',$s=''){
     $fform->fi('Sumber', iRadio('sumber1', 'sumber', 0, 'Beli', $r['sumber']));
     $fform->fi('', iRadio('sumber2', 'sumber', 1, 'Pemberian', $r['sumber']));
     $fform->fi('', iRadio('sumber3', 'sumber', 2, 'Membuat sendiri', $r['sumber']));
     $fform->fi('Harga', iTextC('harga', $r['harga']));
     $fform->fi('Kondisi', iSelect('kondisi', kondisi_a(), $r['kondisi']));
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:katalog_unit.php

示例13: dbSFA

        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("nama,nopendaftaran", $dbtable, "W/replid='{$cid}'");
    } else {
    }
    //$fform->dimension(350);
    $fform->lwidth = 150;
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Nama calon siswa', $r['nama']);
        $fform->fl('Nomor pendaftaran', $r['nopendaftaran']);
        $s = '';
        //qarea();
        $t = mysql_query("SELECT psb_calonsiswa_syarat.*,psb_syarat.wajib,psb_syarat.syarat as nama FROM psb_calonsiswa_syarat LEFT JOIN psb_syarat ON psb_syarat.replid=psb_calonsiswa_syarat.syarat WHERE psb_calonsiswa_syarat.calonsiswa='{$cid}' AND psb_syarat.wajib='1'");
        if (mysql_num_rows($t) > 0) {
            $si = '<table cellspacing="0" cellpaddin="0">';
            while ($r = mysql_fetch_array($t)) {
                $si .= '<tr height="26px"><td width=150px">' . $r['nama'] . ':</td><td>';
                /*if($r['syarat']==1 && false){
                			$si.=($r['status']==1?'<span style="color:#01a8f7">&nbsp;&nbsp;<b>Sudah bayar</b></span>':'<span style="color:#fd6906">&nbsp;&nbsp;<b>Belum bayar</b></span>');
                		}
                		else if($r['syarat']==2 && false){
                			$si.=($r['status']==1?'<span style="color:#01a8f7">&nbsp;&nbsp;<b>Sudah bayar</b></span>':'<span style="color:#fd6906">&nbsp;&nbsp;<b>Belum bayar</b></span>');
                		}
                		else{*/
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pendataan_syarat.php

示例14: dbSFA

    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
    } else {
        $r = farray('kode', 'nama', 'keterangan');
        $r['kelompokbrg'] = gpost('kelompokbrg');
        $r['tanggal'] = date("Y-m-d");
        $r['unit'] = 1;
        $r['satuan'] = 'unit';
    }
    $fform->dimension(400, 110);
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fl('Jenis barang', kelompokbrg_name($r['kelompokbrg']));
        $fform->fi('Kode', iText('kode', $r['kode'], 'width:100px'));
        $fform->fi('Nama barang', iText('nama', $r['nama'], $fform->rwidths));
        $fform->fi('Jumlah barang', iText('unit', $r['unit'], 'width:100px') . ' &nbsp;&nbsp;&nbsp;satuan:&nbsp;&nbsp;' . iText('satuan', $r['satuan'], 'width:50px'));
        $fform->fi('Tanggal diperoleh', inputTanggal('tanggal', $r['tanggal']));
        $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_del($r['nama']);
        }
    }
    $fform->foot();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:inventory_brg.php

示例15: gpost

     $r['cicilan'] = 0;
     $r['reftipe'] = gpost('reftipe');
     $r['refid'] = gpost('refid');
 }
 $rekening = rekening_opt();
 $fform->dimension(440, 140);
 if ($opt != 'df') {
     $fform->ptop = 20;
 }
 $fform->head();
 if ($opt == 'af' || $opt == 'uf') {
     require_once MODDIR . 'control.php';
     // Add or Edit form
     hiddenval('mod_reftipe', $r['reftipe']);
     hiddenval('mod_refid', $r['refid']);
     $fform->fl('Kategori pembayaran', kategori_name($r['kategori']));
     if ($r['reftipe'] == RT_SPP) {
         $fform->fl('Nama pembayaran', $r['nama']);
         hiddenval('nama', $r['nama']);
         $fform->fi('Rek. kas', iSelect('rek1', $rekening, $r['rek1'], $fform->rwidths));
         $fform->fi('Rek. pendapatan', iSelect('rek2', $rekening, $r['rek2'], $fform->rwidths));
         $fform->fi('Rek. piutang', iSelect('rek3', $rekening, $r['rek3'], $fform->rwidths));
         hiddenval('nominal', 0);
         hiddenval('cicilan', 0);
     } else {
         if ($r['reftipe'] == RT_PSB) {
             $fform->fl('Nama pembayaran', $r['nama']);
             hiddenval('nama', $r['nama']);
             $fform->fi('Rek. kas', iSelect('rek1', $rekening, $r['rek1'], $fform->rwidths));
             $fform->fi('Rek. pendapatan', iSelect('rek2', $rekening, $r['rek2'], $fform->rwidths));
             hiddenval('rek3', 0);
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:modul.php


注:本文中的fform::fl方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。