request.php" method="post"> <div class="hl1" style="margin-bottom:8px"> </div> <div class="hl2">Loan list:</div> <div class="sfont" style="margin-top:10px">Books which <?php echo $membername; ?> wants to borrow</div> <input type="hidden" name="member" value="<?php echo $member; ?> "/> <input type="hidden" name="req" value="loan"/> <div id="qtbl" style="width:470px;margin-top:20px;height:273px;overflow:auto;"> <?php require_once VWDIR . 'vi_loan_list.php'; $dd = date("Y-m-d", strtotime("+7 day")); ?> </div> <table id="okbtn" cellspacing="0" cellpadding="0" style="display:none;width:450px;margin-top:16px;margin-bottom:4px"><tr> <td width="70px"><div class="sfont"><div class="sfont">Due date:</div></td> <td><?php echo inputDate('date2', date("Y-m-d")); ?> </td> <td align="right"> <input type="submit" value="OK" class="btnx"/> </td> </tr></table> </form> </td> </tr></table>
</td></tr> <tr><td>Host:</td><td><?php echo iText('host', $r['host'], "width:400px"); ?> </td></tr> <tr><td>Place:</td><td><?php echo iText('place', $r['place'], "width:400px"); ?> </td></tr> <tr><td>Date:</td><td><?php echo inputDate('date1', $r['date1']); ?> to </td></tr> <tr><td> </td><td><?php echo inputDate('date2', $r['date2']); ?> </td></tr> <tr><td>Speaker:</td><td><?php echo iText('speaker', $r['speaker'], "width:400px"); ?> </td></tr> <tr valign="top"><td>Participant:</td><td><?php echo iTextarea('participant', $r['participant'], "width:400px", 3); ?> </td></tr> <?php } else { if ($opt == 'df') { $okbtn = "Yes"; $nobtn = " No ";
'</tr>'; echo '</table>'; echo '</div>'; echo '</div>'; echo '</td></tr></table>'; echo '<div class="sfont" style="float:left;width:100%;margin-bottom:15px">'; echo '<table cellspacing="0" cellpadding="0"><tr>'; echo '<td><div class="sfont"><b>periode:</b></div></td>'; echo '<td width="200px">'.iSelect('ct_periode',array('1'=>'tanggal peminjaman','2'=>'tanggal pengembalian','3'=>'tanggal dikembalikan'),$ct_periode,'margin-left:10px').'</td>'; echo '<td width="80px"><a href="javascript:void(0)" class="linkb" onclick="sirkulasi_ct_tanggal(1)" >[hari ini]</a></td>'; echo '<td width="80px"><a href="javascript:void(0)" class="linkb" onclick="sirkulasi_ct_tanggal(2)" >[bulan ini]</a></td>'; echo '</tr></table>'; echo '</div>'; echo '<div style="float:left;width:100%;margin-bottom:30px">'; echo inputDate('stanggal1',$stanggal1).'<div class="sfont" style="float:left;margin-right:4px;margin-top:4px"> sampai </div>'.inputDate('stanggal2',$stanggal2).'<button style="float:left;margin-left:30px;margin-right:4px" class="btnz" onclick="sirkulasi_get()"><div class="">Tampilkan »</div></button>'; echo '</div>'; $xtable->btnbar_begin(); $xtable->search_box(); //$xtable->btnbar_print(); $xtable->btnbar_end(); $xtable->search_info(); if($xtable->ndata>0){ // Table head $xtable->head('@Tgl peminjaman','@Peminjam','@Barkode Item','@Judul Item','@Tgl pengembalian','@Status','@Tgl dikembalikan','Terlambat{60px}','Keterangan','{44px}'); while($r=mysql_fetch_array($t)){$xtable->row_begin(); if($r['mtipe']==1){ $member=$r['nsiswa'].'<br/>NIS: '.$r['nis'];
</select> </div> </div> <div class="col-lg-1 col-xs-1"> <a href="#" id="noviApartman"><span class="glyphicon glyphicon-plus"></span></a> </div> <div class="col-lg-5 col-xs-12"> <?php cijena("cijena", $greska); ?> </div> </div> <br /><hr /><br /> <?php select("drzavljanstvo", $drzavljanstvo, $greska); inputDate("datumRodjenja", $greska); input("mjestoRodjenja", $greska); select("drzavaRodjenja", $drzave, $greska); ?> <div class="row"> <div class="col-lg-6"> <?php select("vrstaIsprave", $isprave, $greska); ?> </div> <div class="col-lg-6"> <?php inputNumber("brojIsprave", $greska); ?> </div> </div>
<td><?php echo iText('email', $empp['email'], "width:680px"); ?> </td></tr> <tr><td> </td><?php echo tdLabel("Phone/fax"); ?> <td><?php echo iText('phonefax', $empp['phonefax'], "width:680px"); ?> </td></tr> <tr><td> </td><?php echo tdLabel("Birth date and place"); ?> <td><?php echo inputDate('birthdate', $empp['birthdate']); ?> at <?php echo iText('birthplace', $empp['birthplace'], "width:120px"); ?> </td> </tr> <tr><td> </td><?php echo tdLabel("Nationality"); ?> <td><?php echo iText('nationality', $empp['nationality'], "width:680px"); ?> </td></tr> <tr><td> </td><?php echo tdLabel("Marital status");
if ($opt == 'd') { // delete $q = dbDel($dbtable, "replid='{$cid}'"); } } } //$fform->notif($q); } else { if ($opt == 'uf' || $opt == 'df') { // Prepocessing form $r = dbSFA("*", $dbtable, "W/replid='{$cid}'"); } else { } $fform->head(); if ($opt == 'af' || $opt == 'uf') { require_once MODDIR . 'control.php'; // Add or Edit form $s = '<button class="find21" title="Cari siswa" style="float:left;margin-top:2px" onclick="pendataan_saudara_getsiswa()"></button>'; //$fform->fi('Nama',iText('psnama',$r['nama'],'float:left;margin-right:4px;width:'.($fform->fwidth-$fform->lwidth-48).'px').$s); //function ffval($id,$v='',$v1='',$act='',$ttl='Cari') $fform->fi('Nama', $fform->ffval('psnama', $r['nama'], $r['nama'], 'pendataan_saudara_popup()', 'Cari siswa')); $fform->fi('Tanggal lahir', inputDate('pstgllahir', $r['tgllahir'])); $fform->fi('Sekolah', iText('pssekolah', $r['sekolah'], $fform->rwidths)); } else { if ($opt == 'df') { // Delete form $fform->dlg_del($r['nama']); } } $fform->foot(); }
<div style="height:340px"> <table class="stable" cellspacing="0" cellpadding="0"><tr valign="top" height="300px"> <td style="padding-right:10px" width="400px"> <div class="pfsub">Find employee data within range...</div> <table class="stable" cellspacing="0" cellpadding="0"> <tr height="30px"> <td width="150px">from:</td> <td><?php echo inputDate('date1', date("Y-m-d"), 'cekRange(1,0)'); ?> </td> </tr> <tr height="30px"> <td width="150px">to:</td> <td><?php echo inputDate('date2', date("Y-m-d"), 'cekRange(1,0)'); ?> </td> </tr> <tr height="30px"> <td colspan="2">or <label><input onclick="cekRange(0,this.checked)" id="rc_thismonth" class="iCheck" type="checkbox" value="1"/> this month</label></td> </tr> </table> <div class="pfsub" style="border-top:1px solid #eaeaea;padding-top:15px;margin-top:25px">Then narrow your results by...</div> <table class="stable" cellspacing="0" cellpadding="0"> <tr height="30px"><td width="150px">status:</td><td><?php echo iSelect('status', $mstr_status, 0, 'width:250px'); ?> </td></tr> <tr height="30px"><td width="150px">level:</td><td><?php echo iSelect('level', $mstr_level, 0, 'width:250px');
echo '</table>'; echo '</div>'; echo '</div>'; echo '</td></tr></table>'; echo '<div class="sfont" style="float:left;width:100%;margin-bottom:15px">'; echo '<table cellspacing="0" cellpadding="0"><tr>'; echo '<td><div class="sfont"><b>periode:</b></div></td>'; echo '<td width="200px">' . iSelect('ct_periode', array('1' => 'tanggal peminjaman', '2' => 'tanggal pengembalian', '3' => 'tanggal dikembalikan'), $ct_periode, 'margin-left:10px') . '</td>'; echo '<td width="80px"><a href="javascript:void(0)" class="linkb" onclick="sirkulasi_ct_tanggal(1)" >[hari ini]</a></td>'; echo '<td width="80px"><a href="javascript:void(0)" class="linkb" onclick="sirkulasi_ct_tanggal(2)" >[bulan ini]</a></td>'; echo '</tr></table>'; echo '</div>'; echo '<div style="float:left;width:100%;margin-bottom:30px">'; echo inputDate('stanggal1', $stanggal1) . ' <div class="sfont" style="float:left;margin-right:4px;margin-top:4px"> sampai </div> ' . inputDate('stanggal2', $stanggal2) . ' <button style="float:left;margin-left:30px;margin-right:4px" class="btnz" onclick="sirkulasi_get()"> <div class=""> Tampilkan » </div> </button>'; echo '</div>'; $xtable->btnbar_begin(); $xtable->search_box(); //$xtable->btnbar_print(); $xtable->btnbar_end(); $xtable->search_info(); if ($xtable->ndata > 0) { // Table head $xtable->head('@Tgl peminjaman', '@Peminjam', '@Barkode Item', '@Judul Item', '@Tgl pengembalian', '@Status', '@Tgl dikembalikan', 'Telat{60px}', 'Keterangan', '{44px}'); while ($r = mysql_fetch_array($t)) {
?> </td></tr> <tr valign="top"><td>Address:</td><td><?php echo iTextarea('address', $r['address'], $iTextFw, 3); ?> </td></tr> <tr><td>Education:</td><td><?php echo iText('education', $r['education'], $iTextFw); ?> </td></tr> <tr><td>Birth place:</td><td><?php echo iText('birthplace', $r['birthplace'], $iTextFw); ?> </td></tr> <tr><td>Birth date:</td><td><?php echo inputDate('birthdate', $r['birthdate']); ?> </td></tr> <tr><td>Occupation:</td><td><?php echo iText('job', $r['job'], $iTextFw); ?> </td></tr> <?php } else { if ($opt == 'df') { $okbtn = "Yes"; $nobtn = " No "; $gd = 'false'; // Delete form ?> <tr><td><p class="line150">Are you sure you want to delete "<b><?php
if ($opt == 'uf' || $opt == 'df') { // Prepocessing form $r = dbSFA("*", $dbtable, "W/replid='{$cid}'"); } else { $r = farray('judul', 'penyelenggara', 'tempat', 'tgl1', 'tgl2', 'pembicara', 'peserta', 'jenistraining'); } $fform->ptop = 50; $fform->head(); if ($opt == 'af' || $opt == 'uf') { require_once MODDIR . 'control.php'; // Add or Edit form $fform->fi('Judul', iText('judul', $r, $fform->rwidths)); $fform->fi('Penyelenggara', iText('penyelenggara', $r, $fform->rwidths)); $fform->fi('Tempat', iText('tempat', $r, $fform->rwidths)); $fform->fi('Tanggal', inputDate('tgl1', $r)); $fform->fi('', inputDate('tgl2', $r)); $fform->fi('Pembicara', iText('pembicara', $r, $fform->rwidths)); $fform->fi('Jenis training', iSelect('jenistraining', jenistraining_r($a), $r)); $fform->fa('Peserta', iTextarea('peserta', $r, $fform->rwidths, 5)); } else { if ($opt == 'df') { // Delete form $fform->dlg_del($r['judul']); } } $fform->foot(); } exit; ?>
<div style="text-align:left;padding:15px 15px;width:370px"> <table class="stable" cellspacing="0" cellpadding="4px" width="370px"> <tr><td width="100px">Reward:</td><td><?php echo iText('rw_reward', '', "width:250px"); ?> </td></tr> <tr><td width="100px">By:</td><td><?php echo iText('rw_rewardby', '', "width:250px"); ?> </td></tr> <tr valign="top"><td>Description:</td><td><?php echo iTextarea('rw_description', '', "width:250px", 2); ?> </td></tr> <tr><td>Date:</td><td><?php echo inputDate('rw_date', date("Y-m-d")); ?> </td></tr> <tr><td>Attachment:</td><td> <iframe id="imgframe2" name="imgframe" scrolling="no" style="border:none;display:;height:25px;width:230px;overflow:hidden;margin:0;padding:0" src="rwform.php?name=<?php echo $r['fname']; ?> "></iframe> </td></tr> </table> <input type="hidden" id="rw_file" value=""/> <table cellspacing="0" cellpadding="3px" width="370px" style="margin-top:30px"><tr> <td align="center"> <input type="button" class="btn" onclick="pf_reward('c')" value="Cancel"/> <input type="button" class="btnx" value="Save" onclick="pf_reward('a',0,true)"/> </td>
<tr><td width="<?php echo $lwidth; ?> px">Status:</td> <td><?php echo iSelect('status', $mstr_status, $r['status'], "float:left"); echo iAddMstrx('status', 'status', 'status name'); ?> </td> </tr> <tr><td>Period:</td><td><?php echo inputDate('date1', $date1); ?> to </td></tr> <tr><td> </td><td><?php echo inputDate('date2', $date2); ?> </td></tr> <tr><td>Position:</td><td><?php echo iText('position', $r['position'], $iTextFw); ?> </td></tr> <?php } else { if ($opt == 'df') { $okbtn = "Yes"; $nobtn = " No "; $gd = 'false'; // Delete form ?> <tr><td><p class="line150">Are you sure you want to delete "<b><?php
px">Address:</td><td><?php echo iText('eb_address', '', $iTextFw); ?> </td></tr> <tr><td width="<?php echo $lwidth; ?> px">Work from:</td><td><?php echo inputDate('eb_date1', ''); ?> </td></tr> <tr><td width="<?php echo $lwidth; ?> px">Work to:</td><td><?php echo inputDate('eb_date2', ''); ?> </td></tr> <tr><td width="<?php echo $lwidth; ?> px">Position:</td><td><?php echo iText('eb_position', '', $iTextFw); ?> </td></tr> <tr><td width="<?php echo $lwidth; ?> px">Monthly salary:</td><td><?php echo iText('eb_salary', '', $iTextFw); ?>
$xtable->ndata = mysql_num_rows($t); $t = $db->query($xtable->pageorder_sql("psb_calonsiswa.nopendaftaran", "psb_calonsiswa.nama", "", "", "keu_transaksi.tanggal", "keu_pembayaran.lunas")); $t = $s = ''; //$s.='<button title="Tampilkan." class="btn" style="float:right;margin-left:4px" onclick="stocktake_note()"><div class="bi_relb"> </div></button>'; $s .= iSelect('tampil', array('all' => 'Semua', 'Y' => 'Sudah bayar', 'N' => 'Belum bayar'), $tampil, 'float:right;margin-left:4px;margin-right:20px', $fmod . '_get()'); $s .= '<div class="sfont" style="float:right;margin-top:4px;margin-left:4px"> <b>Tampilkan:</b> </div>'; $t .= '<div class="sfont" style="float:left;width:100%;margin-bottom:15px"><b>tanggal:</b>'; $t .= ' <a href="javascript:void(0)" class="linkb" onclick="transaksi_ctgl_set(1)" >[hari ini]</a>'; $t .= ' <a href="javascript:void(0)" class="linkb" onclick="transaksi_ctgl_set(2)" >[bulan ini]</a>'; $t .= '</div>'; $t .= '<div style="float:left;width:100%;margin-bottom:40px">'; $tglSearch = inputDate('tanggal1', $tanggal1); $tglSearch .= '<div class="sfont" style="float:left;margin-right:4px;margin-top:4px"> sampai </div>'; $tglSearch .= inputDate('tanggal2', $tanggal2); $tglSearch .= '<button style="float:left;margin-left:30px;margin-right:4px" class="btnz" onclick="transaksi_get()">'; $tglSearch .= '<div class="">Tampilkan »</div>'; $tglSearch .= '</button>'; $t .= $tglSearch; $t .= '</div>'; $xtable->btnbar_f('print', 'srcbox', $t . '<br>', $s); hiddenval('modul', $modid); hiddenval('pembayaran', 0); if ($xtable->ndata > 0) { $xtable->head('@No pendaftaran', '@Nama', 'Biaya pendaftaran{R}', 'Jumlah dibayar{R}', '@Tanggal pembayaran', '@Status'); while ($r = mysql_fetch_array($t)) { $xtable->row_begin(); $xtable->td($r['nopendaftaran'], 120); $xtable->td($r['nama']); $xtable->td(fRp($r['nominal']), 110, 'r');
} } } $fform->notif($q); } else { if ($opt == 'uf' || $opt == 'df') { // Prepocessing form $r = dbSFA("*", $dbtable, "W/replid='{$cid}'"); } else { $r = farray('nama', 'kode', 'tanggal1', 'keterangan'); $r['tanggal1'] = date("Y-m-d"); } $fform->dimension(400, 120); $fform->head(); if ($opt == 'af' || $opt == 'uf') { require_once MODDIR . 'control.php'; // Add or Edit form $fform->fi('Nama tahun buku', iText('nama', $r['nama'], $fform->rwidths)); hiddenval('kode', $r['kode']); //$fform->fi('Kode awalan kwitansi',iText('kode',$r['kode'],'width:80px')); $fform->fi('Tanggal mulai', inputDate('tanggal1', $r['tanggal1'])); $fform->fi('Saldo awal', iTextC('saldoawal', $r['saldoawal'], 'width:120px')); $fform->fa('Keterangan', iTextarea('keterangan', $r['keterangan'], $fform->rwidths, 3)); } else { if ($opt == 'df') { // Delete form $fform->dlg_del($r['nama']); } } $fform->foot(); }
echo iText('reward', $r['host'], $iTextFw); ?> </td></tr> <tr><td width="<?php echo $lwidth; ?> px">By:</td><td><?php echo iText('rewardby', $r['rewardby'], $iTextFw); ?> </td></tr> <tr valign="top"><td>Description:</td><td><?php echo iTextarea('description', $r['participant'], $iTextFw, 2); ?> </td></tr> <tr><td>Date:</td><td><?php echo inputDate('date', $r['date']); ?> </td></tr> <tr><td>Attachment:</td><td> <button class="btn" onclick="pf_files('af')" style="margin-right:20px;margin-top:10px"> <div style="background:url('<?php echo IMGR; ?> bi_afile.png') no-repeat;padding-left:16px">Attach a file</div> </button> </td></tr> <?php } else { if ($opt == 'df') { $okbtn = "Yes"; $nobtn = " No ";
$xform->fi('Tempat lahir', iText('ibu-tmplahir', $ibu['tmplahir'], $xform->fieldws)); $xform->fi('Tanggal lahir', inputDate('ibu-tgllahir', $ibu['tgllahir'])); $xform->fi('Pekerjaan', iText('ibu-pekerjaan', $ibu['pekerjaan'], $xform->fieldws)); $xform->fi('Nomor telepon', iText('ibu-telpon', $ibu['telpon'], 'width:120px')); $xform->fi('Pin BB', iText('ibu-pinbb', $ibu['pinbb'], 'width:120px')); $xform->fi('Email', iText('ibu-email', $ibu['email'], $xform->fieldws)); if ($opt == 'uf') { $t = mysql_query("SELECT * FROM psb_calonsiswa_keluarga WHERE calonsiswa='" . $data['replid'] . "'"); $keluarga = mysql_fetch_array($t); } else { $keluarga['tglnikah'] = '0000-00-00'; $keluarga['kakek-nama'] = ''; $keluarga['nenek-nama'] = ''; } $xform->group_begin('Data Keluarga (opsional)'); $xform->fi('Tanggal perkawinan orang tua', inputDate('keluarga-tglnikah', $keluarga['tglnikah'])); $xform->fi('Nama Kakek', iText('keluarga-kakek-nama', $keluarga['kakek-nama'], $xform->fieldws)); $xform->fi('Nama Nenek', iText('keluarga-nenek-nama', $keluarga['nenek-nama'], $xform->fieldws)); $xform->col_begin('50%'); $xform->group_begin('Foto Siswa'); $xform->fphoto($data['replid']); $xform->group_begin('Riwayat Kesehatan Siswa', 170); $xform->fi('Golongan darah', iSelect('darah', goldarah_r(), $data['darah'])); $xform->fi('Penyakit yang pernah diderita', iTextarea('kesehatan', $data['kesehatan'], $xform->fieldws, 5)); $xform->fi('Catatan kesehatan', iTextarea('ketkesehatan', $data['ketkesehatan'], $xform->fieldws, 5)); if ($opt == 'uf') { $t = mysql_query("SELECT * FROM psb_calonsiswa_kontakdarurat WHERE calonsiswa='" . $data['replid'] . "'"); $darurat = mysql_fetch_array($t); } else { $darurat['nama'] = ''; $darurat['hubungan'] = '';