Exemplo n.º 1
0
    $zlb->list_data('userlist');
    $zlb->BuildListData('userid');
    echo "</tbody></table>\n";
} else {
    no_auth();
}
panel_multi_end();
//tab user autorisation
panel_multi('authorisation', 'none', false);
//form select group
if ($all_authorisation != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm2');
    $zfm->BuildForm('usergroup', false, '40%');
    echo "<hr/>\n";
    tab_head(base64_decode($this->session->userdata('menus')), '', 'asset/bin/zetro_menu.dll');
    echo "<table id='usrmenu' style='border-collapse:collapse' width='70%'>\n\r\n\t\t <thead>\r\n\t\t <tr class='header' align='center'>\r\n\t\t <th class='kotak' width='30%'>" . base64_decode($this->session->userdata('menus')) . "</th>\r\n\t\t <th class='kotak' width='8%'>Input</th>\r\n\t\t <th class='kotak' width='8%'>Edit</th>\r\n\t\t <th class='kotak' width='8%'>View</th>\r\n\t\t <th class='kotak' width='8%'>Print</th>\r\n\t\t </tr></thead><tbody>\n\r\n\t\t </tbody></table>\n";
    tab_head_end();
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
panel_end();
popup_start('adduserlevel', 'User Level', 350);
$e_adduser == '' || $c_adduser == '' ? $btn = false : ($btn = true);
$zfm->AddBarisKosong(true);
$zfm->Start_form(true, 'frm3');
$zfm->BuildForm('addlevel', $btn, '100%');
if ($btn == true) {
    $zfm->BuildFormButton('Simpan', 'addlevel');
Exemplo n.º 2
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_member.frm');
link_js('jquery.fixedheader.js,zetro_number.js', 'asset/js,asset/js');
link_js('jquery_terbilang.js', 'asset/js');
tab_head('Member Detail', "style='background:#333'");
panel_multi('datapelanggan', 'block', false);
echo "<table width='100%' border='0'>\r\n\t<tr valign='top'><td width='45%'>";
//$zfm->Addinput("<input type='text' id='No_Agt' name='No_Agt' value='".$no_anggota."'/>");
$zfm->AddBarisKosong(false);
$zfm->Start_form(true, 'frm1');
$zfm->BuildForm('registrasi', false, '100%');
echo "</td><td width='5%'>&nbsp;</td>\r\n\t <td width='50%'>";
$zfm->AddBarisKosong(false);
$zfm->Start_form(true, 'frm2');
$zfm->BuildForm('biodata', false, '100%');
echo "<!--hr><div id='pic' style='height:350px; border:1px inset #FFF'>\r\n\t<img src='' id='photone' width='500px' height='350px'></div>";
echo "</td></tr-->\r\n\t </table>\r\n\t\t<hr>\r\n\t\t<div id='btn' style='width:90%; border:0px outset #CCC;padding:5px; padding-right:20px' align='right'>\r\n\t\t<input type='button' id='update_b' value='Update Data'>\r\n\t\t<!--input type='button' id='cetak_b' value='Cetak'-->\r\n\t\t<input type='button' id='keluar_b' value='Tutup'></div>";
panel_multi_end();
panel_multi('membertrans', 'none', false);
addText(array('No. Anggota', 'Nama Lengkap', 'Department'), array("<input type='text' id='no_anggota' readonly value='{$no_anggota}'>", "<input type='text' id='nm_anggota' readonly value='{$nm_anggota}'>", "<input type='text' id='id_department' readonly value='{$id_department}' size='40'>"));
$zlb->section('detail');
$zlb->aksi(false);
$zlb->Header('90%', 'detail_tbl');
$zlb->icon();
$n = 0;
foreach ($transaksi->result() as $trn) {
    $n++;
    echo "<tr class='xx' id='t-" . $trn->ID . "' align='center' onclick=\"get_detail_trans('" . $trn->ID . "');\">\r\n\t\t\t\t  <td class='kotak'>{$n}</td>\r\n\t\t\t\t  <td class='kotak'>" . $trn->Kode . "</td>\r\n\t\t\t\t  <td class='kotak' align='left'>" . $trn->Jenis . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->SaldoAwal, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->Debet, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->Kredit, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->SaldoAkhir, 2) . "</td>\r\n\t\t\t\t  </tr>";