<?php require_once MODDIR . 'control.php'; require_once MODDIR . 'xtable/xtable.php'; require_once MODDIR . 'apps/aka.php'; $fmod = 'penempatan_calon'; $xtable = new xtable($fmod); $dept = gpost('departemen'); $departemen = departemen_r($dept); $pros = gpost('proses'); $proses = proses_r($pros, $dept, 1); $kel = gpost('kelompok'); $kelompok = kelompok_r($kel, $pros, 1); $krit = gpost('kriteria'); $kriteria = kriteria_r($krit, 1); echo '<div class="tbltopbar" style="width:100%;padding-bottom:5px"><div style="padding-top:4px;float:left"><b>Calon siswa:</b></div></div>'; // Page Selection Bar $PSBar = new PSBar_2(100); $PSBar->begin(); //$PSBar->selection('',''); if (count($proses) > 0) { $PSBar->selection('Periode', iSelect('proses', $proses, $pros, $PSBar->selws, $fmod . "_get()")); } else { $PSBar->end(); hiddenval('proses', $pros); hiddenval('kelompok', $kel); hiddenval('kriteria', $krit); proses_warn(0, 'float:left'); $PSBar->pass = false; } if ($PSBar->pass) {
} require_once APPMOD . 'psb/kriteria.php'; require_once APPMOD . 'psb/golongan.php'; require_once APPMOD . 'psb/disctunai.php'; require_once APPMOD . 'psb/cicilan.php'; dbDel("psb_tmp_saudara", "sesid='" . session_id() . "'"); $fmod = 'pendataan'; $xform = new xform($fmod, $opt, $cid); $pros = gpost('proses'); $kel = gpost('kelompok'); // departemen >> $dept = gpost('departemen'); $departemen = departemen_r($dept); // kriteria >> $krit = gpost('kriteria'); $kriteria = kriteria_r($krit); // golongan >> $gol = gpost('golongan'); $golongan = golongan_r($gol); // disctunai >> $disc = gpost('disctunai'); $discount = disctunai_r($disc); // cicilan >> $cicil = gpost('cicilan'); $cicilan = cicilan_r($cicil); if ($opt == 'uf') { $ttl = 'Edit'; // Nilai field editan $t = mysql_query("SELECT * FROM psb_calonsiswa WHERE replid='{$cid}' LIMIT 0,1"); $data = mysql_fetch_array($t); } else {