Ejemplo n.º 1
0
                $curKat = '';
                while ($res = mysql_fetch_assoc($result)) {
                    if ($res['kategorirekening'] != $curKat) {
                        $ss = 'SELECT replid,nama,RPAD(kode,6,0)kode from keu_kategorirekening where replid=' . $res['kategorirekening'];
                        $ee = mysql_query($ss);
                        $rr = mysql_fetch_assoc($ee);
                        $out .= '<tr class="bg-lightTeal">
										<td align="right"><b>' . $rr['kode'] . '</b></td>
										<td colspan="3"><b>' . $rr['nama'] . '</b></td>
									</tr>';
                    }
                    $btn = '<td align="center">
									<button ' . (isAksi('detilrekening', 'd') ? 'onclick="viewFR(' . $res['replid'] . ');"' : 'disabled') . ' data-hint="ubah" class="button" onclick="viewFR(' . $res['replid'] . ');">
										<i class="icon-pencil on-left"></i>
									</button>
									<button ' . (isAksi('detilrekening', 'd') ? 'onclick="del(' . $res['replid'] . ');"' : 'disabled') . ' data-hint="hapus" class="button" onclick="del(' . $res['replid'] . ');">
										<i class="icon-remove on-left"></i>
									</button>
								 </td>';
                    $out .= '<tr>
									<td class="text-right">' . $res['kode'] . '</td>
									<td>' . $res['nama'] . '</td>
									<td>' . $res['keterangan'] . '</td>
									' . $btn . '
								</tr>';
                    $curKat = $res['kategorirekening'];
                    $nox++;
                }
            } else {
                #kosong
                $out .= '<tr align="center">
Ejemplo n.º 2
0
<?php

isMenu($modul, 'viabayar');
?>
<script src="controllers/c_viabayar.js"></script>
<script src="../js/metro/metro-button-set.js"></script>
<script src="../js/metro/metro-hint.js"></script>

<h4 style="color:white;">Via Bayar</h4>
<button <?php 
echo isAksi('viabayar', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 data-hint="Tambah Data" xclass="large" id="tambahBC"><span class="icon-plus-2"></span> </button>
<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Via Bayar</th>
            <th class="text-center">Keterangan</th>
            <th class="text-center">Aksi</th>
        </tr>
        <tr xstyle="display:none;" id="cariTR" class="selected">
            <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="viabayarS" name="viabayarS"></div></th>
                <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="keteranganS" name="keteranganS"></div></th>
            <th class="text-center"></th>
        </tr>
    </thead>

    <tbody id="tbody">
    </tbody>
</table>
Ejemplo n.º 3
0
                    // urutan
                    $nox = '<select ' . (isAksi('gelombang', 'u') ? 'onchange="urutFC(this);"' : 'disabled') . ' class="text-center" replid1="' . $res['replid'] . '" urutan1="' . $res['urutan'] . '" >';
                    for ($i = 1; $i <= $jum; $i++) {
                        if ($i == $res['urutan']) {
                            $nox .= '<option selected="selected" value="' . $i . '">' . $i . '</option>';
                        } else {
                            $nox .= '<option value="' . $i . '">' . $i . '</option>';
                        }
                    }
                    $nox .= '</select>';
                    // end of urutan
                    $btn = '<td>
									<button ' . (isAksi('gelombang', 'u') ? 'onclick="viewFR(' . $res['replid'] . ');"' : 'disabled') . ' data-hint="ubah"  >
										<i class="icon-pencil on-left"></i>
									</button>
									<button  ' . (isAksi('gelombang', 'd') ? 'onclick="del(' . $res['replid'] . ');"' : 'disabled') . ' data-hint="hapus" onclick="del(' . $res['replid'] . ');">
										<i class="icon-remove on-left"></i>
									</button>
								 </td>';
                    $out .= '<tr align="center">
									<td><div class="input-control select">' . $nox . '</div></td>
									<td>' . $res['gelombang'] . '</td>
									<td>' . $res['keterangan'] . '</td>
									' . $btn . '
								</tr>';
                    $nox++;
                }
            } else {
                #kosong
                $out .= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
Ejemplo n.º 4
0
<?php isMenu($modul,'angsuran'); ?>
<script src="controllers/c_angsuran.js"></script>

<h4 class="fg-white"><b>Angsuran</b>
<button <?php echo isAksi('angsuran','c')?'onclick="viewFR(\'\')"':'disabled'; ?> class="place-left" data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button> 
</h4>
<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Angsuran</th>
            <th class="text-center">Keterangan</th>
            <th class="text-center">Aksi</th>
        </tr>
        <tr xstyle="display:none;" id="cariTR" class="info">
            <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="angsuranS"></div></th>
            <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="keteranganS"></div></th>
            <th></th>
        </tr>
    </thead>
    <tbody id="tbody">
    </tbody>
</table> 
Ejemplo n.º 5
0
							<td>'.$nox.'. '.$r1['golongan'].'<br> <sup class="fg-orange">('.$r1['keterangan'].')</sup></td>';
						$s2 = 'SELECT
									db.replid,
									db.nominal,
									b.biaya
								FROM
									'.$tb.' db JOIN psb_biaya b on b.replid = db.biaya
								WHERE
									db.golongan = '.$r1['replid'].'
									AND db.subtingkat = '.$subtingkat.'
									AND db.detailgelombang = '.$detailgelombang.'
								ORDER BY
									b.biaya asc';
						$e2= mysql_query($s2);
						while ($r2=mysql_fetch_assoc($e2)) {
							$out.='<td align="right">'.(!isAksi('detailbiaya','u')?setuang($r2['nominal']):'<div 
									class="input-control text" ><input data-hint="'.$r2['biaya'].'" class="text-right" 
									value="Rp. '.number_format($r2['nominal']).'" onclick="inputuang(this);" onfocus="inputuang(this);" 
									type="text" name="nominalTB['.$r2['replid'].']"></div>').'</td>';
						}
						$out.='</tr>';
						$nox++;
					}
				}
				// vd($sss);
			break; 
			// view -----------------------------------------------------------------

			// add / edit -----------------------------------------------------------------
			case 'simpan':
				$stat2= true;
Ejemplo n.º 6
0
    <select xclass="cari"  data-hint="Tahun Ajaran" name="tahunajaranS" id="tahunajaranS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="Detail Gelombang" name="detailgelombangS" id="detailgelombangS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="Tingkat" name="tingkatS" id="tingkatS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="Sub Tingkat" name="subtingkatS" id="subtingkatS"></select>
</div>

<div  style="overflow:scroll;height:530px;" >
    <form autocomplete="off" onsubmit="simpan();return false;"> 
        <?php 
echo isAksi('biaya', 'c') ? '<button class="bg-blue fg-white" data-hint="Simpan" id="simpanBC"><span class="icon-floppy"></span> </button>' : '';
?>
        <table class="table hovered bordered striped">
            <thead>
                <tr style="color:white;"class="info">
                    <!-- <th class="text-center">Jenjang</th> -->
                    <!-- <th class="text-center">Kelas</th> -->
                    <th class="text-center">Golongan</th>
                    <?php 
$sc = 'SELECT * from psb_biaya order by biaya ASC';
$ec = mysql_query($sc);
while ($rc = mysql_fetch_assoc($ec)) {
    ?>
                        <th class="text-center"><?php 
    echo $rc['biaya'];
    ?>
Ejemplo n.º 7
0
						$recpage = 10;
						$aksi    ='tampil';
						$subaksi ='';
						$obj     = new pagination_class($sql,$starting,$recpage,$aksi, $subaksi);
						$result  = $obj->result;

						$jum = mysql_num_rows($result);
						$out ='';
						if($jum!=0){	
							$nox =$starting+1;
							while($res = mysql_fetch_assoc($result)){	
								$btn ='<td align="center">
											<button '.(isAksi($mnu,'u')?'onclick="viewFR('.$res['replid'].');"':'disabled').' data-hint="ubah"  >
												<i class="icon-pencil"></i>
											</button>
											<button '.(isAksi($mnu,'d')?'onclick="del('.$res['replid'].');"':'disabled').' data-hint="hapus" >
												<i class="icon-remove"></i>
											</button>
										 </td>';
										$ss ='SELECT * FROM psb_subdokumen sd join aka_tingkat t on t.replid = sd.tingkat WHERE sd.dokumen='.$res['replid'];
										$ee = mysql_query($ss);
										$t = $tt = '';
										while ($rr = mysql_fetch_assoc($ee)) {
											$t.=','.$rr['tingkat'];
										}$tt.=substr($t,1);
								$out.= '<tr>
											<td align="justify"><pre>'.$res['dokumen'].'</pre></td>
											<td align="justify">'.$tt.'</td>
											'.$btn.'
										</tr>';
								$nox++;
isMenu($modul, 'pemutihanpenerimaansiswa');
?>
<script src="controllers/c_pemutihanpenerimaansiswa.js"></script>
<script src="../js/metro/metro-button-set.js"></script>
<script src="../js/metro/metro-hint.js"></script>

<script src="../js/combogrid/jquery-ui-1.10.1.custom.min.js"></script>
<script src="../js/combogrid/jquery.ui.combogrid-1.6.3.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery-ui-1.10.1.custom.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery.ui.combogrid.css"/>

<h4 style="color:white;">Pemutihan Penerimaan Siswa</h4>
<button <?php 
echo isAksi('pemutihanpenerimaansiswa', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 data-hint="Tambah Data" xclass="large" id="tambahBC"><span class="icon-plus-2"></span> </button>
<div class="input-control select span3">
    <select class="cari" data-hint="Departemen" name="departemenS" id="departemenS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="tingkat" name="tingkatS" id="tingkatS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="tahunajaran" name="tahunajaranS" id="tahunajaranS"></select>
</div>
<div class="input-control select span3">
    <select  class="cari" data-hint="subtingkat" name="subtingkatS" id="subtingkatS"></select>
</div>
Ejemplo n.º 9
0
<?php

isMenu($modul, 'kelas');
?>

<script src="controllers/c_kelas.js"></script>
<script src="js/metro/metro-button-set.js"></script>
<script src="js/metro/metro-hint.js"></script>

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button <?php 
echo isAksi('kelas', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
  class="place-left" data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button> 
        <li><a href="tingkat">Tingkat</a></li>
        <li><a href="subtingkat">Sub Tingkat</a></li>
        <li class="active"><a href="#"><b>Kelas</b></a></li>
        <li><a href="detail-kelas">Detail Kelas</a></li>
    </ul>
</nav>
 
<div class="input-control select size3">
    <select class="cari" data-hint="departemen" id="departemenS"name="departemenS"></select> 
</div> 
    
<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Tingkat</th>
Ejemplo n.º 10
0
                    // if($res['aktif']==1){
                    // 	$dis  = 'disabled';
                    // 	$ico  = 'checkmark';
                    // 	$hint = 'telah Aktif';
                    // 	$func = '';
                    // }else{
                    // 	$dis  = '';
                    // 	$ico  = 'blocked';
                    // 	$hint = 'Aktifkan';
                    // 	$func = 'onclick="aktifkan('.$res['id_'.$mnu].');"';
                    // }
                    $btn = '<td align="center">
									<button data-hint="ubah" ' . (isAksi('icon', 'd') ? 'onclick="viewFR(' . $res['id_' . $mnu] . ');"' : 'disabled') . ' >
										<i class="icon-pencil on-left"></i>
									</button>
									<button data-hint="hapus" ' . (isAksi('icon', 'd') ? 'onclick="del(' . $res['id_' . $mnu] . ');"' : 'disabled') . ' >
										<i class="icon-remove on-left"></i>
									</button>
								 </td>';
                    $out .= '<tr>
									<td align="center">' . $nox . '</td>
									<td align="center">' . $res['icon'] . '</td>
									<td align="center"><span class="icon-' . $res['icon'] . '"></span></td>
									' . $btn . '
								</tr>';
                    $nox++;
                }
            } else {
                #kosong
                $out .= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
Ejemplo n.º 11
0
<script src="../js/combogrid/jquery-ui-1.10.1.custom.min.js"></script>
<script src="../js/combogrid/jquery.ui.combogrid-1.6.3.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery-ui-1.10.1.custom.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery.ui.combogrid.css"/>

<input type="hidden" id="id_loginS" value="<?php 
echo $_SESSION['id_loginS'];
?>
">

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button class="place-left" <?php 
echo isAksi('kategorianggaran', 'c') ? 'onclick="loadFR(\'\');"' : 'disabled';
?>
  data-hint="Tambah Data" id="a_tambahBC"><span class="icon-plus-2"></span> </button>
        <li class="active"><a href="#"><b>Kategori Anggaran</b></a></li>
        <li><a href="detil-anggaran">Item Anggaran</a></li>
        <li><a href="anggaran-tahunan">Anggaran Tahunan</a></li>
    </ul>
</nav>

<button class="fg-white bg-blue" data-hint="Cetak Rencana" id="a_cetakBC"><span class="icon-printer"></span> </button>
<button class="fg-white bg-orange" data-hint="Cetak Realisasi" id="a_cetak2BC"><span class="icon-printer"></span> </button>
<div class="input-control select size3">
    <select data-hint="Departemen" class="cari" name="departemenS" id="departemenS" data-hint="Departemen" ></select>
</div> 
<div class="input-control select size3">
    <select data-hint="Tingkat" class="cari" name="tingkatS" id="tingkatS" data-hint="Tingkat" ></select>
Ejemplo n.º 12
0
<?php

isMenu($modul, 'angsuran');
?>
<script src="controllers/c_angsuran.js"></script>

<h4 class="fg-white"><b>Angsuran</b>
    &nbsp;<button <?php 
echo isAksi('angsuran', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 class="place-left" data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button> 
</h4>
<div style="overflow:scroll;height:550px;" >
    <table class="table hovered bordered striped">
        <thead>
            <tr style="color:white;"class="info">
                <th class="text-center">Angsuran</th>
                <th class="text-center">Keterangan</th>
                <th class="text-center">Aksi</th>
            </tr>
            <tr style="display:none;" id="cariTR" class="info">
                <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="angsuranS"></div></th>
                <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari..." id="keteranganS"></div></th>
                <th></th>
            </tr>
        </thead>
        <tbody id="tbody">
        </tbody>
    </table> 
</div>
Ejemplo n.º 13
0
						$out     ='';
						if($jum!=0){	
							$nox 	= $starting+1;
							while($r = mysql_fetch_assoc($result)){	
								$token=base64_encode($_SESSION['id_loginS'].$r['idsiswa']);
								$btn ='<td align="center">
											<button data-hint="dokumen"   '.(isAksi('siswa','u')?'onclick="subdokumenFR('.$r['idsiswa'].')"':' disabled').' >
												<i class="icon-file"></i>
											</button>
											<button data-hint="ubah"   '.(isAksi('siswa','u')?'onclick="viewFR('.$r['idsiswa'].')"':' disabled').' >
												<i class="icon-pencil"></i>
											</button>
											<a class="button" '.(isAksi('siswa','r')?' href="report/r_siswa.php?token='.$token.'&replid='.$r['idsiswa'].'"':' disabled href="#"').'  target="_blank" data-hint="cetak">
												<i class="icon-printer"></i>
											</a>
											<button data-hint="hapus"  '.(isAksi('siswa','d')?'onclick="del('.$r['idsiswa'].')"':' disabled').'>
												<i class="icon-remove"></i>
											</button>
										 </td>';
								if($r['status']=='1'){
									$label = 'Diterima';
									$clr   = 'green';
									$func  = 'onclick="statusFR('.$r['idsiswa'].')"';
								}elseif($r['status']=='2'){
									$label = 'Lulus';
									$clr   = 'blue';
									$func  = '';
								}else{
									$label = 'Belum Diterima';
									$clr   = 'red';
									$func  = 'onclick="statusFR('.$r['idsiswa'].')"';
Ejemplo n.º 14
0
                        $clr = 'green';
                        $hint = 'aktif';
                        $icon = 'checkmark';
                    } else {
                        //tidak aktif
                        $clr = 'red';
                        $hint = 'tidak aktif';
                        $icon = 'blocked';
                    }
                    // <td align="center">'.getFieldArr('id_departemen','kon_logindepartemen','id_login',$res['id_login']).'</td>
                    $out .= '<tr>
									<td align="center">' . $res['nama'] . '</td>
									<td align="center">' . $res['username'] . '</td>
									<td align="center">' . $res['level'] . '</td>
									<td align="center">
										<button ' . (isAksi('user', 'd') ? 'onclick="aktifkan(' . $res['id_login'] . ');"' : 'disabled') . '  class="fg-white bg-' . $clr . '" data-hint="' . $hint . '"><i class="icon-' . $icon . '"></i></button>
									</td>
									' . $btn . '
								</tr>';
                    // $nox++;
                }
            } else {
                #kosong
                $out .= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
							... data tidak ditemukan...</span></td></tr>';
            }
            #link paging
            $out .= '<tr class="info"><td colspan=9>' . $obj->anchors . '</td></tr>';
            $out .= '<tr class="info"><td colspan=9>' . $obj->total . '</td></tr>';
            break;
Ejemplo n.º 15
0
<?php

isMenu($modul, 'detilrekening');
?>
<script src="controllers/c_detilrekening.js"></script>
<script src="../../js/metro/metro-button-set.js"></script>
<script src="../../js/metro/metro-hint.js"></script>

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button <?php 
echo isAksi('detilrekening', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
  data-hint="Tambah Data" class="place-left" id="tambahBC"><span class="icon-plus-2"></span> </button>
        <li><a href="kategori-rekening"<b>Kategori Rek.</b></a></li>
        <li class="active"><a href="#">Detil Rek.</a></li>
        <li ><a href="saldo-rekening">Saldo Rek.</a></li>
    </ul>
</nav>
<div class="input-control select span4">
    <select data-hint="Kategori Rekening" class="cari" name="kategorirekeningS" id="kategorirekeningS"></select>
</div>

<div style="overflow:scroll;height:500px;">
    <table class="table hovered bordered striped">
        <thead>
            <tr style="color:white;"class="info">
                <th class="text-center">Kode</th>
                <th class="text-center">Rekening</th>
                <th class="text-center">Keterangan</th>
Ejemplo n.º 16
0
				}

				$recpage = 5;//jumlah data per halaman
				$aksi    ='tampil';
				$subaksi ='';
				$obj     = new pagination_class($sql,$starting,$recpage,$aksi, $subaksi);
				$result  =$obj->result;

				#ada data
				$jum	= mysql_num_rows($result);
				$out ='';
				if($jum!=0){	
					// $nox 	= $starting+1;
					while($res = mysql_fetch_assoc($result)){	
						$btn ='<td align="center">
									<button '.(isAksi('detailgelombang','u')?'onclick="viewFR('.$res['replid'].');"':'disabled').' data-hint="ubah">
										<i class="icon-pencil on-left"></i>
									</button>';
						$out.= '<tr>
									<td align="center">'.$res['gelombang'].'</td>
									<td align="center">'.($res['tglmulai']=='0000-00-00'?'-':tgl_indo5($res['tglmulai'])).'</td>
									<td align="center">'.($res['tglselesai']=='0000-00-00'?'-':tgl_indo5($res['tglselesai'])).'</td>
									'.$btn.'
								</tr>';
						// $nox++;
					}
				}else{ #kosong
					$out.= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
							... data tidak ditemukan...</span></td></tr>';
				}
Ejemplo n.º 17
0
<?php

isMenu($modul, 'tingkat');
?>
<script src="controllers/c_tingkat.js"></script>
<script src="js/metro/metro-hint.js"></script>
<script src="js/metro/metro-calendar.js"></script>
<script src="js/metro/metro-datepicker.js"></script>

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button <?php 
echo isAksi('tingkat', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 class="place-left" data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button> 
        <li class="active"><a href="#"><b>Tingkat</b></a></li>
        <li><a href="subtingkat">Sub Tingkat</a></li>
        <li><a href="kelas">Kelas</a></li>
        <li><a href="detail-kelas">Detail Kelas</a></li>
    </ul>
</nav>

<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Urutan </th>
            <th class="text-center">Kode </th>
            <th class="text-center">Tingkat </th>
            <th class="text-center">Keterangan</th>
            <th class="text-center">Aksi</th>
Ejemplo n.º 18
0
<script src="../js/combogrid/jquery-ui-1.10.1.custom.min.js"></script>
<script src="../js/combogrid/jquery.ui.combogrid-1.6.3.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery-ui-1.10.1.custom.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery.ui.combogrid.css"/>

<input type="hidden" id="id_loginS" value="<?php 
echo $_SESSION['id_loginS'];
?>
">

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button class="place-left" <?php 
echo isAksi('detilanggaran', 'c') ? 'onclick="viewFR(\'\');"' : 'disabled';
?>
  data-hint="Tambah Data" id="a_tambahBC"><span class="icon-plus-2"></span> </button>
        <li><a href="kategori-anggaran">Kategori Anggaran</a></li>
        <li class="active"><a href="#"><b>Item Anggaran</b></a></li>
        <li><a href="anggaran-tahunan">Anggaran Tahunan</a></li>
    </ul>
</nav>

<div class="input-control select size3">
    <select data-hint="Departemen" class="cari" name="departemenS" id="departemenS" data-hint="Departemen" ></select>
</div> 
<div class="input-control select size3">
    <select data-hint="Tingkat" class="cari" name="tingkatS" id="tingkatS" data-hint="Tingkat" ></select>
</div> 
<div class="input-control select size3">
Ejemplo n.º 19
0
<script src="../js/combogrid/jquery-ui-1.10.1.custom.min.js"></script>
<script src="../js/combogrid/jquery.ui.combogrid-1.6.3.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery-ui-1.10.1.custom.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="../css/combogrid/jquery.ui.combogrid.css"/>
<!-- chosen -->
<!--   <link rel="stylesheet" href="../css/chosen/style.css">
  <link rel="stylesheet" href="../css/chosen/prism.css">
  <link rel="stylesheet" href="../css/chosen/chosen.css">
 -->
<h4 style="color:white;">Pendataan Siswa (kelas)</h4>
<div id="loadarea"></div>

<button <?php 
echo isAksi('siswa', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled  ';
?>
 data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button>

<div class="input-control select span3">
    <label class="fg-white">Departemen</label>
    <select class="aktif_cari" data-hint="Departemen" name="departemenS" id="departemenS"></select>
</div>
<div class="input-control select span2">
    <label class="fg-white">Tahun Ajaran</label>
    <select class="aktif_cari" data-hint="Tahun Ajaran" name="tahunajaranS" id="tahunajaranS"></select>
</div>
<div class="input-control select span2">
    <label class="fg-white">Tingkat</label>
    <select  class="aktif_cari" data-hint="Tingkat" name="tingkatS" id="tingkatS"></select>
</div>
Ejemplo n.º 20
0
                $starting = 0;
            }
            $recpage = 5;
            //jumlah data per halaman
            $aksi = 'tampil';
            $subaksi = 'ju';
            $obj = new pagination_class($sql, $starting, $recpage, $aksi, $subaksi);
            $result = $obj->result;
            #ada data
            $out = '';
            $jum = mysql_num_rows($result);
            if ($jum != 0) {
                $nox = $starting + 1;
                while ($r = mysql_fetch_assoc($result)) {
                    $btn = '<td align="center">
									<button data-hint="ubah" ' . (isAksi('semester', 'u') ? 'onclick="viewFR(' . $r['replid'] . ');"' : 'disabled') . '  >
										<i class="icon-pencil on-left"></i>
									</button>
								 </td>';
                    // <button data-hint="hapus" '.(isAksi('semester','d')?'onclick="del('.$r['replid'].');"':'disabled').'>
                    // 	<i class="icon-remove on-left"></i>
                    // </button>
                    $out .= '<tr>
									<td>' . $r['semester'] . '</td>
									<td align="center">' . ($r['tglMulai'] == '0000-00-00' ? '' : tgl_indo5($r['tglMulai'])) . ' - ' . ($r['tglSelesai'] == '0000-00-00' ? '' : tgl_indo5($r['tglSelesai'])) . '</td>
									' . $btn . '
								</tr>';
                    // $nox++;
                }
            } else {
                #kosong
Ejemplo n.º 21
0
            } else {
                $starting = 0;
            }
            $recpage = 10;
            //jumlah data per halaman
            $aksi = 'tampil';
            $subaksi = '';
            $obj = new pagination_class($sql, $starting, $recpage, $aksi, $subaksi);
            $result = $obj->result;
            #ada data
            $jum = mysql_num_rows($result);
            $out = '';
            if ($jum != 0) {
                while ($res = mysql_fetch_assoc($result)) {
                    $btn = '<td align="center">
									<button ' . (isAksi('rekeningbiaya', 'u') ? 'onclick="viewFR(' . $res['replid'] . ');"' : 'disabled') . ' data-hint="ubah">
										<i class="icon-pencil"></i>
									</button>';
                    $out .= '<tr>
									<td>' . $res['biaya'] . '</td>
									<td>' . getAllRekeningBiaya($res['idbiaya'], $departemen, $tahunajaran) . '</td>
									' . $btn . '
								</tr>';
                    // <td>'.getAllRekeningBiaya($res['idbiaya'],$departemen,$tahunajaran).'</td>
                }
            } else {
                #kosong
                $out .= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
							... data tidak ditemukan...</span></td></tr>';
            }
Ejemplo n.º 22
0
function isDisabled($mn, $ak)
{
    return isAksi($mn, $ak) == false ? 'disabled' : '';
}
Ejemplo n.º 23
0
            }
            $recpage = 10;
            //jumlah data per halaman
            $aksi = 'tampil';
            $subaksi = '';
            $obj = new pagination_class($sql, $starting, $recpage, $aksi, $subaksi);
            $result = $obj->result;
            $jum = mysql_num_rows($result);
            $out = '';
            if ($jum != 0) {
                while ($res = mysql_fetch_assoc($result)) {
                    $btn = '<td align="center">
									<button  ' . (isAksi('grupmenu', 'u') ? 'onclick="onclick="viewFR(' . $res['id_grupmenu'] . ');"' : 'disabled') . ' data-hint="ubah"  class="button" >
										<i class="icon-pencil on-left"></i>
									</button>
									<button data-hint="hapus"  class="button" ' . (isAksi('grupmenu', 'd') ? 'onclick="del(' . $res['id_grupmenu'] . ');"' : 'disabled') . '  >
										<i class="icon-remove on-left"></i>
								 </td>';
                    $out .= '<tr>
									<td>' . $res['grupmodul'] . '</td>
									<td>' . $res['modul'] . ' [' . $res['link'] . ']</td>
									<td>' . $res['grupmenu'] . '</td>
									<td>' . $res['katgrupmenu'] . '</td>
									' . $btn . '
								</tr>';
                }
            } else {
                #kosong
                $out .= '<tr align="center">
							<td  colspan="9" ><span style="color:red;text-align:center;">
							... data tidak ditemukan...</span></td></tr>';
Ejemplo n.º 24
0
<?php

isMenu($modul, 'tahunajaran');
?>
<script src="controllers/c_tahunajaran.js"></script>
<script src="js/metro/metro-button-set.js"></script>
<script src="js/metro/metro-hint.js"></script>
<script src="js/metro/metro-calendar.js"></script>
<script src="js/metro/metro-datepicker.js"></script>

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button class="place-left" <?php 
echo isAksi('user', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button>
        <li class="active"><a href="#"><b>Tahun Ajaran</b></a></li>
        <li><a href="semester">Semester</a></li>
    </ul>
</nav>

<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Tahun Ajaran </th>
            <th class="text-center">Keterangan</th>
            <th class="text-center">Aksi</th>
        </tr>
        <tr xstyle="display:none;" id="cariTR" class="selected">
            <th class="text-center"><div class="input-control text"><input class="cari" placeholder="cari ..." id="tahunajaranS" name="tahunajaranS"></div></th>
Ejemplo n.º 25
0
<?php isMenu($modul,'dokumen'); ?>
<script src="controllers/c_dokumen.js"></script>
<script src="../js/metro/metro-button-set.js"></script>
<script src="../js/metro/metro-hint.js"></script>

<h4 style="color:white;">dokumen</h4>
<div id="loadarea"></div>

<button <?php echo isAksi('dokumen','c')?'onclick="viewFR(\'\')"':'disabled'; ?> data-hint="Tambah Data" xclass="large" id="tambahBC"><span class="icon-plus-2"></span> </button>
<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Item</th>
            <th class="text-center">Tingkat</th>
            <th class="text-center">Aksi</th>
        </tr>
        <tr xstyle="display:none;" id="cariTR" class="selected">
            <th class="text-center"><div class="input-control text"><input class="dokumen_cari" placeholder="cari..." id="dokumen_dokumenS" name="dokumen_dokumenS"></div></th>
            <th class="text-center"></th>
            <th class="text-center"></th>
        </tr>
    </thead>

    <tbody id="dokumen_tbody">
    </tbody>
</table>
Ejemplo n.º 26
0
<?php

isMenu($modul, 'grupmenu');
?>
<script src="controllers/c_grupmenu.js"></script>
<script src="js/metro/metro-button-set.js"></script>
<script src="js/metro/metro-hint.js"></script>

<nav class="breadcrumbs">
    <ul>
        &nbsp;
        <button class="place-left" <?php 
echo isAksi('grupmenu', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 data-hint="Tambah Data" id="tambahBC"><span class="icon-plus-2"></span> </button>
        <li><a href="grup-modul">Grup Modul</a></li>
        <li><a href="modul">Modul</a></li>
        <li class="active"><a href="#"><b>Grup Menu</b></a></li>
        <li><a href="menu">Menu</a></li>
    </ul>
</nav>

<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Grup Modul</th>
            <th class="text-center">Modul</th>
            <th class="text-center">Grup Menu</th>
            <th class="text-center">Kategori</th>
            <th class="text-center">Aksi</th>
        </tr>
Ejemplo n.º 27
0
<?php

isMenu($modul, 'level');
?>
<script src="controllers/c_level.js"></script>
<script src="../js/metro/metro-button-set.js"></script>
<script src="../js/metro/metro-hint.js"></script>

<h4 style="color:white;">Level</h4>
<div id="loadarea"></div>

<button <?php 
echo isAksi('level', 'c') ? 'onclick="viewFR(\'\')"' : 'disabled';
?>
 data-hint="Tambah Data" xclass="large" id="tambahBC"><span class="icon-plus-2"></span> </button>
<table class="table hovered bordered striped">
    <thead>
        <tr style="color:white;"class="info">
            <th class="text-center">Urutan</th>
            <th class="text-center">level </th>
            <th class="text-center">keterangan</th>
            <th class="text-center">Aksi</th>
        </tr>
        <tr xstyle="display:none;" id="cariTR" class="selected">
            <th class="text-center"></th>
            <th class="text-center"><div class="input-control text"><input placeholder="level" id="levelS" name="levelS"></div></th>
            <th class="text-center"><div class="input-control text"><input placeholder="keterangan" id="keteranganS" name="keteranganS"></div></th>
            <th class="text-center"></th>
        </tr>
    </thead>
Ejemplo n.º 28
0
				$aksi    ='tampil';
				$subaksi ='';
				$obj     = new pagination_class($sql,$starting,$recpage,$aksi, $subaksi);
				$result  =$obj->result;

				#ada data
				$jum	= mysql_num_rows($result);
				$out ='';
				if($jum!=0){	
					// $nox 	= $starting+1;
					while($res = mysql_fetch_assoc($result)){	
						$btn ='<td align="center">
									<button '.(isAksi('user','u')?'onclick="viewFR('.$res['replid'].');"':'disabled').' data-hint="ubah"  >
										<i class="icon-pencil on-left"></i>
									</button>
									<button data-hint="hapus" '.(isAksi('user','d')?'onclick="del('.$res['replid'].');"':'disabled').'>
										<i class="icon-remove on-left"></i>
									</button>
								 </td>';
						$out.= '<tr>
									<td align="center">'.$res['angsuran'].'</td>
									<td align="center">'.$res['keterangan'].'</td>
									'.$btn.'
								</tr>';
						// $nox++;
					}
				}else{ #kosong
					$out.= '<tr align="center">
							<td  colspan=9 ><span style="color:red;text-align:center;">
							... data tidak ditemukan...</span></td></tr>';
				}
Ejemplo n.º 29
0
                    $s2 = 'SELECT
									db.replid,
									db.nominal,
									b.biaya
								FROM
									' . $tb . ' db JOIN psb_biaya b on b.replid = db.biaya
								WHERE
									db.golongan = ' . $r1['replid'] . '
									AND db.subtingkat = ' . $subtingkat . '
									AND db.detailgelombang = ' . $detailgelombang . '
								ORDER BY
									b.biaya asc';
                    // pr($s2);
                    $e2 = mysql_query($s2);
                    while ($r2 = mysql_fetch_assoc($e2)) {
                        if (!isAksi('detailbiaya', 'u')) {
                            $field = setuang($r2['nominal']);
                        } else {
                            $field = '<div class="input-control text" >
											<input data-hint="' . $r2['biaya'] . '" class="text-right" value="Rp. ' . number_format($r2['nominal']) . '" 
											onclick="inputuang(this);" onfocus="inputuang(this);" type="text" name="nominalTB[' . $r2['replid'] . ']">
										</div>';
                            // <a onclick="viewFR('.$r2['replid'].');" class="button fg-white bg-blue" href="#" data-hint="rekening">
                            // 	<i class=" icon-cc-nc"></i>
                            // </a>
                        }
                        $out .= '<td align="right">' . $field . '</td>';
                    }
                    $out .= '</tr>';
                    $nox++;
                }