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


PHP nm_giat函数代码示例

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


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

示例1: nm_unit

" 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);
?>
</option>
          <option value="">- Pilih Kegiatan -</option>
          <?php 
$query = mysql_query("select KdGiat, left(NmGiat,70) as namagiat from t_giat where KDDEPT='042' order by NmGiat");
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['KdGiat'];
    ?>
"><?php 
    echo $row['KdGiat'] . ' ' . $row['namagiat'];
    ?>
</option>
          <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:alokasi_kegiatan_ed.php

示例2: nm_unit

echo $value[1];
?>
" disabled="disabled"/>
      </label>       </td>
    </tr>
    <tr>
      <td class="key">Unit Kerja</td>
      <td><textarea cols="70" rows="1" disabled="disabled"><?php 
echo nm_unit($value[2]);
?>
</textarea></td>
    </tr>
    <tr> 
      <td class="key">Kegiatan</td>
      <td><textarea cols="70" rows="1" disabled="disabled"><?php 
echo nm_giat($value[3]);
?>
</textarea></td>
    </tr>
    <tr>
      <td class="key">Program</td>
      <td>
      <textarea cols="70" rows="1" disabled="disabled"><?php 
echo nm_program($value[1], $value[4] . $value[5] . $value[6]);
?>
</textarea></td></tr>
    
    <tr> 
      <td class="key">Anggaran DIPA <?php 
echo $value[1] - 1;
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pagu_indikatif_keg_ed.php

示例3: nm_giat

echo $_GET['p'];
?>
" method="post" name="form">
	<table width="721" cellspacing="1" class="admintable">
		
		<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] . ' ' . nm_giat($value[2]);
?>
</option>
            <option value="">- Pilih Kegiatan -</option>
		    <?php 
$query = mysql_query("select kdgiat, left(nmgiat,60) as namagiat from tb_giat order by nmgiat");
while ($row = mysql_fetch_array($query)) {
    ?>
            <option value="<?php 
    echo $row['kdgiat'];
    ?>
"><?php 
    echo $row['kdgiat'] . ' ' . $row['namagiat'];
    ?>
</option>
		    <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:alokasi_kegiatan_ed.php

示例4: nm_unit

    <tr> 
      <td class="key">UNIT ESELON</td>
      <td><?php 
echo nm_unit($Output_capaian['kdunitkerja']);
?>
</td>
    </tr>
    <tr>
      <td class="key">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    
    <tr> 
      <td class="key">KEGIATAN</td>
      <td><?php 
echo '[' . $Output_capaian['kdgiat'] . '] ' . nm_giat($Output_capaian['kdgiat']);
?>
</td>
    </tr>
    <tr> 
      <td class="key">OUTPUT</td>
      <td><?php 
echo '[' . $Output_capaian['kdoutput'] . '] ' . nm_output($Output_capaian['kdgiat'] . $Output_capaian['kdoutput']);
?>
</td>
    </tr>
    <tr>
      <td class="key">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
<?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:laptri_output_kendala_ed.php

示例5: nm_unit

            $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>
      <td align="center" valign="top"><?php 
        echo $col[3][$k];
        ?>
</td>
      <td align="left" valign="top"><?php 
        echo $col[4][$k];
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:ikk_kegiatan.php

示例6: ket_unit

        if ($col[2][$k] != $col[2][$k - 1]) {
            ?>
        <?php 
            echo ket_unit($col[2][$k]);
            ?>
 
        <?php 
        }
        ?>
      </td>
      <td align="center"><?php 
        echo $col[3][$k];
        ?>
</td>
      <td align="left"><?php 
        echo nm_giat($col[3][$k]);
        ?>
</td>
      <td align="right"><?php 
        echo number_format($col[7][$k], "0", ",", ".");
        ?>
</td>
      <td align="left"><?php 
        echo pjawaqb_giat($col[1][$k], $col[3][$k]);
        ?>
&nbsp;</td>
      <td align="center"><a href="index.php?p=126&u=<?php 
        echo $col[2][$k];
        ?>
&g=<?php 
        echo $col[3][$k];
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kak_kegiatan.php

示例7: substr

      <td> 
        <?php 
$sql = "SELECT iku FROM m_iku_program WHERE kddeputi = '" . substr($Kegiatan_bp[kdunitkerja], 0, 3) . '000' . "'";
$oIKU = mysql_query($sql);
$n = 0;
while ($IKU = mysql_fetch_array($oIKU)) {
    $n += 1;
    echo $n . ". " . $IKU['iku'] . "<br>";
}
?>
      </td>
    </tr>
    <tr> 
      <td class="key">Kegiatan</td>
      <td><strong><?php 
echo nm_giat($Kegiatan_bp['kdgiat']);
?>
</strong></td>
    </tr>
    <tr> 
      <td class="key">IKK</td>
      <td> 
        <?php 
$sql = "SELECT ikk FROM m_ikk_kegiatan WHERE kdgiat = '" . $Kegiatan_bp[kdgiat] . "'";
$oIKK = mysql_query($sql);
$n = 0;
while ($IKK = mysql_fetch_array($oIKK)) {
    $n += 1;
    echo $n . ". " . $IKK['ikk'] . "<br>";
}
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kak_kegiatan_ed.php

示例8: mysql_fetch_array

$List_kak_output = mysql_fetch_array($oList_kak_output);
?>
<div class="button2-right"> 
<div class="prev"><a onclick="Back('index.php?p=<?php 
echo $p_next;
?>
&pagess=<?php 
echo $pagess;
?>
')">Kembali</a></div>
</div><br><br>
<?php 
echo "<strong> Tahun Anggaran : " . $th . "</strong><br>";
echo "<strong> Unit Kerja : [" . $List_kak_output['kdunitkerja'] . '] ' . nm_unit($List_kak_output['kdunitkerja']) . "</strong><br>";
echo "<strong> Satker : [" . $kdsatker . '] ' . nm_satker($kdsatker) . "</strong><br>";
echo "<strong> Kegiatan : [" . $kdgiat . '] ' . nm_giat($kdgiat) . "</strong>";
?>
<br />
<table width="738" cellpadding="1" class="adminlist">
  <thead>
    <tr> 
      <th width="10%">Kode APBN</th>
      <th colspan="4">Ooutput / Sub Output <br>
        Komponen / Sub Komponen <br>
        Akun / Uraian </th>
      <th width="14%">Anggaran</th>
    </tr>
  </thead>
  <tbody>
    
    <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pk_output_anggaran_detil.php

示例9: mysql_query

         $sql = "SELECT * FROM thbp_kak_kegiatan WHERE th = '{$th}' and kdprogram = '{$kdprogram}' and kdunitkerja = '{$xkdunit}'  ORDER BY kdgiat";
         break;
     case '6':
         $sql = "SELECT * FROM thbp_kak_kegiatan WHERE th = '{$th}' and kdprogram = '{$kdprogram}' and kdunitkerja = '{$kdunitkerja}'  ORDER BY kdgiat";
         break;
     default:
         $sql = "SELECT * FROM thbp_kak_kegiatan WHERE th = '{$th}' and kdprogram = '{$kdprogram}' and kdunitkerja = '{$kdunitkerja}'  ORDER BY kdgiat";
         break;
 }
 $oGiat = mysql_query($sql);
 while ($Giat = mysql_fetch_array($oGiat)) {
     $kdgiat = $Giat['kdgiat'];
     $pdf->SetFont($font, 'B', $size - 1);
     $max = 0;
     $arrKode = $pdf->SplitToArray($w[0], $ln, $kdgiat);
     $arrUraian = $pdf->SplitToArray($w[1], $ln, trim(nm_giat($kdgiat)));
     $arrPaguDipa = $pdf->SplitToArray($w[2], $ln, number_format($Giat['jml_anggaran_dipa'], "0", ",", "."));
     $arrPaguIni = $pdf->SplitToArray($w[3], $ln, number_format($Giat['jml_anggaran_indikatif'], "0", ",", "."));
     if ($max < count($arrUraian)) {
         $max = count($arrUraian);
     }
     for ($i = 0; $i < $max; $i++) {
         $pdf->SetX($margin);
         $pdf->Cell($w[0], $ln, $arrKode[$i], 'LR', 0, 'C');
         $pdf->SetX($margin + $w[0]);
         $pdf->Cell($w[1], $ln, $arrUraian[$i], 'LR', 0, 'L');
         $pdf->SetX($margin + $w[0] + $w[1]);
         $pdf->Cell($w[2], $ln, $arrPaguDipa[$i], 'LR', 0, 'R');
         $pdf->SetX($margin + $w[0] + $w[1] + $w[2]);
         $pdf->Cell($w[3], $ln, $arrPaguIni[$i], 'LR', 1, 'R');
     }
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:baseline_anggaran_prn.php

示例10: nm_unit

      <td width="458"><input type="text" size="10" value="<?php 
echo $th;
?>
" disabled="disabled"/></td>
    </tr>
    <tr> 
      <td class="key">Unit Kerja </td>
      <td><textarea name="" cols="70" rows="1" disabled="disabled"><?php 
echo nm_unit($kdunitkerja);
?>
</textarea></td>
    </tr>
    <tr> 
      <td class="key">Kegiatan</td>
      <td><textarea name="" cols="70" rows="2" disabled="disabled"><?php 
echo '[' . $kdgiat . '] ' . nm_giat($kdgiat);
?>
</textarea></td>
    </tr>
    <?php 
$sql = "SELECT jml_anggaran_renstra,jml_anggaran_dipa,jml_anggaran_indikatif FROM thbp_kak_kegiatan WHERE th = '{$th}' and kdgiat = '" . $kdgiat . "' and kdunitkerja = '{$kdunitkerja}' ";
$qu = mysql_query($sql);
$row = mysql_fetch_array($qu);
?>
    
    <tr> 
      <td class="key">Anggaran DIPA <?php 
echo $th - 1;
?>
</td>
      <td><input type="text" size="30" value="<?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pagu_indikatif_out_ed.php

示例11: nm_giat

echo $id_o_bp;
?>
" method="post" name="form">
	
  <table cellspacing="1" class="admintable">
    <tr> 
      <td class="key">Tahun</td>
      <td><input type="text" name="th" size="10" value="<?php 
echo $Output_uk['th'];
?>
" readonly/></td>
    </tr>
    <tr> 
      <td class="key">Kegiatan</td>
      <td><input name="kdgiat" type="text" value="<?php 
echo nm_giat($Output_uk['kdgiat']);
?>
" size="70" readonly/></td>
    </tr>
    <tr> 
      <td class="key">Output</td>
      <td><textarea name="kdoutput" cols="70" rows="3" readonly><?php 
echo nm_output($Output_uk['kdgiat'] . $Output_uk['kdoutput']);
?>
</textarea></td>
    </tr>
    <tr> 
      <td class="key">Kode Sub Output</td>
      <td><input type="text" name="kdsuboutput" size="10" value="<?php 
echo @$value['kdsuboutput'];
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kak_output_suboutput.php

示例12: array

        break;
    case 11:
        $sbx_grafik_2 = array($real_1, $real_2, $real_3, $real_4, $real_5, $real_6, $real_7, $real_8, $real_9, $real_10, $real_11);
        break;
    case 12:
        $sbx_grafik_2 = array($real_1, $real_2, $real_3, $real_4, $real_5, $real_6, $real_7, $real_8, $real_9, $real_10, $real_11, $real_12);
        break;
}
$sbx_grafik_1 = array($pagu_1, $pagu_2, $pagu_3, $pagu_4, $pagu_5, $pagu_6, $pagu_7, $pagu_8, $pagu_9, $pagu_10, $pagu_11, $pagu_12);
$leg = array("Jan", "Peb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agt", "Sep", "Okt", "Nop", "Des");
$graph = new Graph(1500, 800, "auto");
$graph->SetScale('textint');
$graph->img->SetMargin(50, 50, 50, 50);
$graph->SetShadow();
$graph->title->Set("Realisasi Anggaran Tahun " . $th);
$graph->subtitle->Set('SKegiatan : ' . trim(nm_giat($kdgiat)));
$graph->title->SetFont(FF_ARIAL, FS_BOLD, 20);
$graph->subtitle->SetFont(FF_ARIAL, FS_BOLD, 14);
$graph->xaxis->title->SetFont(FF_ARIAL, FS_BOLD, 15);
$graph->yaxis->title->SetFont(FF_ARIAL, FS_BOLD, 15);
$graph->xaxis->SetTickLabels($leg);
$graph->legend->Pos(0.1, 0.09);
$graph->legend->SetFont(FF_ARIAL, FS_BOLD, 15);
$graph->xaxis->SetFont(FF_ARIAL, FS_BOLD, 15);
$graph->xaxis->title->Set("Bulan");
$graph->yaxis->SetFont(FF_ARIAL, FS_BOLD, 15);
$graph->legend->Pos(0.8, 0.13, "right", "center");
$bplot1 = new LinePlot($sbx_grafik_1);
$bplot1->mark->SetType(MARK_FILLEDCIRCLE);
$bplot1->mark->SetFillColor("red");
$bplot1->mark->SetWidth(8);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_giat_rp_grafik.php

示例13: ket_unit

	
	
    <tr class="<?php 
            echo $class;
            ?>
">
      <td align="left" valign="top"><?php 
            echo ket_unit($Unitkerja['kdunitkerja']);
            ?>
</td>
      <td align="center" valign="top"><?php 
            echo $Unitkerja['kdgiat'];
            ?>
</td>
      <td align="left" valign="top"><?php 
            echo nm_giat($Unitkerja['kdgiat']);
            ?>
</td>
      <td align="right" valign="top"><?php 
            echo number_format($Unitkerja['jml_anggaran_dipa'], "0", ",", ".");
            ?>
</td>
      <td align="right" valign="top"><?php 
            echo number_format($Unitkerja['jml_anggaran_indikatif'], "0", ",", ".");
            ?>
	  </td>
      <td align="center" valign="top"><a href="index.php?p=452&q=<?php 
            echo $Unitkerja['id'];
            ?>
" title="Edit Kegiatan"> 
        <img src="css/images/edit_f2.png" border="0" width="16" height="16"><font size="1">Kegiatan>></font></a><br />
开发者ID:abbeet,项目名称:server39,代码行数:29,代码来源:pagu_indikatif.php

示例14: nm_giat

		    <?php 
}
?>
          </select>		</td>
	  </tr>
		<tr>
			<td width="104" class="key">Kegiatan</td>
			<td width="608"><select name="<?php 
echo $field[3];
?>
">
            <option value="<?php 
echo $value[3];
?>
"><?php 
echo $value[3] . ' ' . nm_giat($value[3]);
?>
</option>
            <option value="">- Pilih Kegiatan -</option>
		    <?php 
$query = mysql_query("select kdgiat, left(nmgiat,60) as namagiat from tb_giat order by nmgiat");
while ($row = mysql_fetch_array($query)) {
    ?>
            <option value="<?php 
    echo $row['kdgiat'];
    ?>
"><?php 
    echo $row['kdgiat'] . ' ' . $row['namagiat'];
    ?>
</option>
		    <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kegiatan_th_ed.php

示例15: mysql_query

            }
            $aGiat = mysql_query($sql);
            while ($Giat = mysql_fetch_array($aGiat)) {
                $kdgiat = $Giat['KDGIAT'];
                $real_giat = realisasi_giat_tw($th, $kdsatker, $kdgiat, $kdtriwulan);
                ?>
    <tr class="<?php 
                echo $class;
                ?>
"> 
      <td align="center" valign="top"><span class="style1"><?php 
                echo $Giat['KDGIAT'];
                ?>
</span></td>
      <td align="left" valign="top"><span class="style1"><?php 
                echo nm_giat($Giat['KDGIAT']);
                ?>
</span></td>
      <td align="right" valign="top"><span class="style1"><?php 
                echo number_format($Giat['pagu_giat'], "0", ",", ".");
                ?>
</span></td>
      <td align="right" valign="top"><span class="style1"><?php 
                echo number_format($Giat['rencana_giat'], "0", ",", ".");
                ?>
</span></td>
      <td align="center" valign="top"><span class="style1"><?php 
                echo number_format($Giat['rencana_giat'] / $Giat['pagu_giat'] * 100, "2", ",", ".");
                ?>
</span></td>
      <td align="right" valign="top"><span class="style1"><?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_pp39.php


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