<?php $zfm = new zetro_frmBuilder('asset/bin/zetro_user.frm'); $zlb = new zetro_buildlist(); $zlb->config_file('asset/bin/zetro_user.frm'); $path = 'application/views/controlpanel'; link_css('autosuggest.css', 'asset/css'); link_js('auto_sugest.js,zetro_number.js,userlist.js', 'asset/js,asset/js,' . $path . '/js'); tab_select(''); panel_begin('User Account'); panel_multi('adduser', 'none', false); if ($all_adduser != '') { $e_adduser == '' || $c_adduser == '' ? $btn = false : ($btn = true); $zfm->AddBarisKosong(true); $zfm->Start_form(true, 'frm1'); $zfm->BuildForm('userlist', $btn, '70%'); if ($btn == true) { $zfm->BuildFormButton('Simpan', 'userlist'); } } else { no_auth(); } panel_multi_end(); //tab user list panel_multi('listuser', 'block', false); if ($v_listuser != '') { $e_listuser == '' ? $btn = false : ($btn = true); $sql2 = "select * from users where userid !='superuser' order by userid"; $zlb->deskripsi('user_level', 'nmlevel', 'idlevel'); $zlb->section('userlist'); $zlb->aksi($btn);
tab_select(''); panel_begin('Data General'); panel_multi('datakas', 'block', false); $mk = '_kas'; if ($all_kas != '') { $zfm->AddBarisKosong(true); $zfm->Start_form(true, 'frm3'); $zfm->BuildForm('Kas', true, '50%'); $zfm->BuildFormButton('Simpan', 'kas'); echo "<hr>"; $zlb->section('Kas'); $zlb->aksi(true); $zlb->icon('delete'); $zlb->Header('70%'); echo "</tbody></table>"; } else { no_auth(); } panel_multi_end(); auto_sugest(); tab_select('prs'); panel_end(); terbilang(); ?> <script language="javascript"> $(document).ready(function(e) { }); </script>
<?php $zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm'); $zlb = new zetro_buildlist(); $section = 'Barang'; $zlb->config_file('asset/bin/zetro_member.frm'); $path = 'application/views/member'; link_css('jquery.coolautosuggest.css', 'asset/css'); link_js('jquery.coolautosuggest.js,member.js', 'asset/js,' . $path . '/js'); link_js('ajaxupload.js', 'asset/js'); link_js('jquery_terbilang.js', 'asset/js'); !empty($panel) ? $panel = $panel : ($panel = ''); tab_select($panel); panel_begin('Pelanggan Baru'); panel_multi('pelangganbaru', 'block'); if ($all_pelangganbaru != '') { $zfm->Addinput("<input type='hidden' id='No_Agt' name='No_Agt' value=''/>"); $zfm->AddBarisKosong(true); $zfm->Start_form(true, 'frm1'); $zfm->BuildForm('registrasi', true, '50%'); $zfm->BuildFormButton('Simpan', 'registrasi'); } else { no_auth(); } panel_multi_end(); panel_multi('uploadphoto'); if ($all_uploadphoto != '') { !empty($upload_data['file_name']) ? $img = $upload_data['file_name'] : ($img = ''); !empty($d_photo) ? $dv = $d_photo : ($dv = 'none'); !empty($nourut) ? $nourut = $nourut : ($nourut = ''); !empty($nama) ? $nama = $nama : ($nama = '');