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


PHP nm_unit函数代码示例

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


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

示例1: Header

 function Header()
 {
     $kdunit = '420000';
     $border = 1;
     $borderless = 0;
     $marginL = 13;
     $marginT = 25;
     $marginR = 200;
     $marginB = 287;
     $font = "Arial";
     $fsize1 = 9;
     $h = $fsize1 / 2;
     $fsize2 = 10;
     $hh = $fsize2 / 2;
     $fsize3 = 12;
     $hhh = $fsize3 / 2;
     $w = array(75, 100, 75);
     $th = date('Y');
     $renstra = th_renstra($th);
     $this->SetFont($font, 'B', $fsize3);
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, 'INDIKATOR KINERJA UTAMA ' . $renstra, $borderless, 1, 'C');
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, trim(nm_unit($kdunit)), $borderless, 1, 'C');
     $this->Ln();
 }
开发者ID:abbeet,项目名称:server39,代码行数:26,代码来源:cetak_menteri_iku.php

示例2: Header

 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $border = 1;
     $borderless = 0;
     $marginL = 13;
     $marginT = 25;
     $marginR = 200;
     $marginB = 287;
     $font = "Arial";
     $fsize1 = 9;
     $h = $fsize1 / 2;
     $fsize2 = 10;
     $hh = $fsize2 / 2;
     $fsize3 = 12;
     $hhh = $fsize3 / 2;
     $w = array(75, 100, 75);
     $this->SetFont($font, 'B', $fsize3);
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, 'INDIKATOR KINERJA UTAMA 2010-2014', $borderless, 1, 'C');
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, trim(nm_unit($kdunit)), $borderless, 1, 'C');
     $this->Ln();
 }
开发者ID:abbeet,项目名称:server39,代码行数:24,代码来源:cetak_iku_prn.php

示例3: mysql_query

	<?php 
if ($xlevel != 3 and $xlevel != 4 and $xlevel != 5 and $xlevel != 6 and $xlevel != 7 and $xlevel != 8) {
    //-----------------------------	$sql = "select sum(NILMAK) as real_menteri from m_spmmak WHERE THANG='$th' AND left(KDAKUN,1) = '5' group by THANG";
    $aMenteri = mysql_query($sql);
    $Menteri = mysql_fetch_array($aMenteri);
    $pagu_menteri = pagu_menteri($th);
    $real_menteri_spm = real_menteri_spm($th, $kddept, $kdunit);
    $real_menteri_sp2d = real_menteri_sp2d($th, $kddept, $kdunit);
    ?>
    <tr>
      <td align="center"><font color="#009933"><strong><?php 
    echo $kddept;
    ?>
</strong></font></td>
      <td align="left"><font color="#009933"><strong><?php 
    echo strtoupper(nm_unit($kdmenteri));
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
    echo number_format($pagu_menteri, "0", ",", ".");
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
    echo number_format($real_menteri_spm, "0", ",", ".");
    ?>
</strong></font></td>
      <td align="center"><font color="#009933"><strong><?php 
    echo number_format($real_menteri_spm / $pagu_menteri * 100, "2", ",", ".");
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_satker_spm_sp2d_a.php

示例4: nm_unit

echo $_GET['p'];
?>
&no_sasaran=<?php 
echo $no_sasaran;
?>
&q=<?php 
echo $q;
?>
" method="post" name="form">
	<table width="803" cellspacing="1" class="admintable">
		
		<tr>
			<td width="173" class="key">Kementerian</td>
			<td width="621">
			<input type="text" size="70" value="<?php 
echo nm_unit($kdmenteri);
?>
" disabled="disabled"/>			</td>
		</tr>
		<tr>
		  <td class="key">No. Urut </td>
		  <td><input type="text" name="no_iku" size="3" value="<?php 
echo @$value['no_iku'];
?>
" /></td>
	  </tr>
		<tr>
			<td class="key">Indikator Kinerja Utama </td>
			<td><textarea name="nm_iku" cols="70" rows="2"><?php 
echo @$value['nm_iku'];
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:iku_ed.php

示例5: trim

        ?>
</td>
      <td align="left"><?php 
        echo $col[7][$k];
        ?>
</td>
    </tr>
    <?php 
    }
}
?>
  </tbody>
  <tfoot>
    <tr> 
      <td colspan="3"><strong> <?php 
echo 'Tugas dan Fungsi ' . trim(ucwords(strtolower(nm_unit('420000'))));
?>
</strong><br><br>
	  <?php 
echo '<strong> Tugas : </strong>' . tugas_unit('420000');
?>
<br><br>
	  <?php 
echo '<strong> Fungsi : </strong>';
?>
<br>
<?php 
$nom = 0;
$oList = mysql_query("select nmfungsi from tb_unitkerja_fungsi where kdunit='420000' order by kdfungsi ");
while ($List = mysql_fetch_array($oList)) {
    $nom += 1;
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:rekap_menteri_iku.php

示例6: pagu_menteri

      <th>(%)</th>
    </tr>
  </thead>
  <tbody>
  <?php 
$pagu_menteri = pagu_menteri($th);
$real_menteri_triwulan = real_menteri_triwulan($th, $kdtriwulan);
$real_menteri_sdtriwulan = real_menteri_sdtriwulan($th, $kdtriwulan);
?>
    <tr>
      <td align="center" valign="top"><font color="#009900"><strong><?php 
echo '084';
?>
</strong></font></td>
      <td align="left"><font color="#009900"><strong><?php 
echo strtoupper(nm_unit('840000'));
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($pagu_menteri, "0", ",", ".");
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($real_menteri_triwulan, "0", ",", ".");
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($real_menteri_sdtriwulan, "0", ",", ".");
?>
</strong></font></td>
      <td align="center" valign="top"><font color="#009900"><strong><?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:laporan_triwulan_akun_satker.php

示例7: foreach

    <?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
">
      <td align="left" valign="top"><?php 
        if ($col[2][$k] != $col[2][$k - 1]) {
            echo nm_unit($col[2][$k]);
        }
        ?>
</td> 
      <td align="left" valign="top"><?php 
        if ($col[3][$k] != $col[3][$k - 1]) {
            echo nm_sasaran($col[1][$k], $col[2][$k], $col[3][$k]);
        }
        ?>
</td>
      <td align="center" valign="top"><?php 
        echo $col[4][$k];
        ?>
</td>
      <td align="left" valign="top"><?php 
        echo $col[5][$k];
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:capaian_pk_eselon2.php

示例8: foreach

		<?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row1";
        } else {
            $class = "row1";
        }
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
			  <td align="left"><?php 
        if ($col[3][$k] != $col[3][$k - 1]) {
            echo nm_unit($col[3][$k]);
        }
        ?>
</td>
	          <td colspan="8" align="left"><font color="#0000FF"><?php 
        echo $col[2][$k];
        ?>
</font></td>
	          <td colspan="2" align="center"><a href="index.php?p=583&no_sasaran=<?php 
        echo $col[1][$k];
        ?>
&kdunit=<?php 
        echo $col[3][$k];
        ?>
" title="Tambah Indikator Kinerja">
							<img src="css/images/menu/add-icon.png" border="0" width="16" height="16">Tambah IK</a></td>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:sas_ik_eselon2.php

示例9: mysql_query

$y = $pdf->GetY();
$pdf->SetY($y);
$pdf->Image('../../css/images/logo_lapan.jpg', 135, 5, 30, 30, 'jpg');
$y = $pdf->GetY();
$pdf->Cell(0, 30, '', '', 1, 'L');
$oSatker = mysql_query("SELECT NAMA FROM t_satker WHERE KDUNITKERJA = '{$kdunit}' ");
$Satker = mysql_fetch_array($oSatker);
$kdeselon1 = substr($kdunit, 0, 3) . '000';
$oEselon = mysql_query("SELECT nama FROM tb_unitkerja WHERE kdunit = '{$kdeselon1}' ");
$Eselon = mysql_fetch_array($oEselon);
$w = array(0, 290);
$pdf->SetFont($font, 'B', $size + 2);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'RENCANA AKSI DARI PENETAPAN KINERJA', '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, trim(strtoupper(nm_unit($kdunit))), '', 1, 'C');
$pdf->Ln() * 2;
$w1 = array(35, 40, 18, 9, 40, 9, 40, 9, 40, 9, 40);
$pdf->SetFont($font, 'B', $size);
$pdf->SetX($margin);
$pdf->Cell($w1[0], $ln * 3, 'Sasaran Strategis', $border, 0, 'C');
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln * 3, 'Indikator Kinerja', $border, 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1]);
$pdf->Cell($w1[2], $ln * 3, 'Target', $border, 0, 'C');
$y = $pdf->GetY();
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
$pdf->Cell(($w1[3] + $w1[4]) * 4, $ln, 'Rencana Aksi', $border, 0, 'C');
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 5);
$pdf->Cell($w1[3] + $w1[4], $ln, 'Triwulan I', $border, 0, 'C');
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 5);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:penetapan_AksiPK_unit_prn.php

示例10: nm_unit

?>
" size="20" value="<?php 
echo $value[1];
?>
" /></td>
    </tr>
    <tr>
      <td class="key">Unit Kerja</td>
      <td><input type="text" name="<?php 
echo $field[8];
?>
" size="7" value="<?php 
echo $value[8];
?>
" readonly /><br><?php 
echo nm_unit($value[8]);
?>
</td>
    </tr>
    <tr> 
      <td width="104" class="key">Kegiatan</td>
      <td width="608"><select name="<?php 
echo $field[2];
?>
">
          <option value="<?php 
echo $value[2];
?>
"><?php 
echo $value[2] . ' ' . substr(nm_giat($value[2]), 0, 70);
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:alokasi_kegiatan_ed.php

示例11: nm_unit

          <?php 
}
?>
        </select></td>
    </tr>
    <tr> 
      <td class="key">Deputi Pelaksana </td>
      <td><select name="<?php 
echo $field[6];
?>
">
          <option value="<?php 
echo $value[6];
?>
"><?php 
echo $value[6] . ' ' . nm_unit($value[6]);
?>
</option>
          <option value="">- Pilih Deputi -</option>
          <?php 
$query = mysql_query("select kdunit, left(nama_unit_kerja,60) as namadeputi from tb_unitkerja where right(kdunit,3)='000' and right(kdunit,4)<>'0000'");
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['kdunit'];
    ?>
"><?php 
    echo $row['kdunit'] . ' ' . $row['namadeputi'];
    ?>
</option>
          <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:iku_menteri_ed.php

示例12: th_renstra

$kdunit = $_REQUEST['kdunit'];
$renstra = th_renstra($th);
$font = 'Arial';
$noborder = 0;
$border = 1;
$size = 11;
$ln = 5;
$margin = 25;
$tinggi = 275;
$w = array(0, 180);
$pdf->Ln();
$pdf->SetFont($font, 'B', $size + 2);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'INDIKATOR KINERJA UTAMA', '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, nm_unit($kdunit), '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'Periode Renstra ' . $renstra, '', 1, 'C');
$pdf->Ln() * 2;
$w1 = array(50, 110);
$pdf->SetFont($font, 'B', $size);
$pdf->SetX($margin);
$pdf->Cell($w1[0], $ln * 2, 'Sasaran Strategis', $border, 0, 'C');
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln * 2, 'Indikator Kinerja Utama', $border, 1, 'C');
$pdf->SetFont($font, '', $size);
$no = 0;
$oList = mysql_query("select * from m_ikk_kegiatan WHERE ta = '{$renstra}' and kdunitkerja = '{$kdunit}' order by kdunitkerja,kdgiat,no_ikk");
while ($row = mysql_fetch_array($oList)) {
    $max = 0;
    $no += 1;
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:penetapan_unit_prn.php

示例13: foreach

    <?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
">
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1]) {
            echo nm_unit($col[10][$k]);
        }
        ?>
</td> 
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1] or $col[2][$k] != $col[2][$k - 1]) {
            echo nm_giat($col[2][$k]);
        }
        ?>
</td>
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1] or $col[16][$k] != $col[16][$k - 1]) {
            echo nm_sasaran($renstra, $col[10][$k], $col[16][$k]);
        }
        ?>
</td>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:ikk_kegiatan.php

示例14: nm_unit

?>
" method="post" name="form">
	
  <table cellspacing="1" class="admintable">
    <tr> 
      <td width="109" class="key">Tahun</td>
      <td width="204"><input type="text" name="th" size="15" value="<?php 
echo $PK['th'];
?>
" disabled="disabled"/></td>
      <td width="232" align="right"></td>
    </tr>
    <tr>
      <td class="key">Eselon I</td>
      <td colspan="2"><textarea name="nm_unit" cols="70" rows="2" disabled="disabled"><?php 
echo nm_unit($xkdunit);
?>
</textarea></td>
    </tr>
    <tr>
      <td class="key">Sasaran</td>
      <td colspan="2"><textarea name="nm_sasaran" cols="70" rows="2" disabled="disabled"><?php 
echo nm_sasaran($renstra, $xkdunit, $PK['no_sasaran']);
?>
</textarea></td>
    </tr>
    
    <tr> 
      <td class="key">Kinerja</td>
      <td colspan="2"><textarea name="nm_pk" cols="70" rows="2" disabled="disabled"><?php 
echo $PK['nm_pk'];
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:penetapan_kinerja_deputi_sub.php

示例15: substr

	
  <table width="721" cellspacing="1" class="admintable">
    
    
    
    <tr>
      <td class="key">Unit Kerja</td>
      <td><select name="<?php 
echo $field[2];
?>
">
          <option value="<?php 
echo $value[2];
?>
"><?php 
echo substr(nm_unit($value[2]), 0, 70);
?>
</option>
          <option value="">- Pilih Unit Kerja -</option>
          <?php 
switch ($xlevel) {
    default:
        $query = mysql_query("select kdunit, left(nmunit,70) as nama_unit from tb_unitkerja order by kdunit");
        break;
}
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['kdunit'];
    ?>
"><?php 
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:sasaran_utama_ed.php


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