当前位置: 首页>>代码示例>>PHP>>正文


PHP isAksi函数代码示例

本文整理汇总了PHP中isAksi函数的典型用法代码示例。如果您正苦于以下问题:PHP isAksi函数的具体用法?PHP isAksi怎么用?PHP isAksi使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了isAksi函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: while

                $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">
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_detilrekening.php

示例2: isMenu

<?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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:30,代码来源:v_viabayar.php

示例3:

                    // 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;">
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_jenistagihan.php

示例4: isMenu

<?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> 
开发者ID:rekysda,项目名称:sistermetta,代码行数:22,代码来源:v_angsuran.php

示例5: mysql_query

							<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;
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_detailbiaya.php

示例6: isAksi

    <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'];
    ?>
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:v_detailbiaya.php

示例7: pagination_class

						$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++;
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_satuanjumlah.php

示例8: isMenu

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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:29,代码来源:v_pemutihanpenerimaansiswa.php

示例9: isMenu

<?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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:v_kelas.php

示例10:

                    // 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;">
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_icon.php

示例11: isAksi

<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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:v_kategorianggaran.php

示例12: isMenu

<?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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:30,代码来源:v_angsuran.php

示例13: mysql_fetch_assoc

						$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'].')"';
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:m_siswa.php

示例14:

                        $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;
开发者ID:sofiasrifin,项目名称:sistermetta,代码行数:31,代码来源:m_user.php

示例15: isMenu

<?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>
开发者ID:rekysda,项目名称:sistermetta,代码行数:31,代码来源:v_detilrekening.php


注:本文中的isAksi函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。