Example #1
0
		  <th width="11%">Nama</th>
	      <th width="23%">Jabatan</th>
      </tr>
	</thead>
	<tbody><?php 
if ($count == 0) {
    ?>
			<tr><td align="center" colspan="9">Tidak ada data!</td></tr><?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        $nilai_skp = total_nilai_capaian_akhir($col[10][$k], $col[0][$k], $col[1][$k]);
        $nib = $col[2][$k];
        $sql = "SELECT id,n_layanan FROM mst_perilaku WHERE nib = '{$nib}'";
        $qu = mysql_query($sql);
        $row = mysql_fetch_array($qu);
        ?>
				<tr class="<?php 
        echo $class;
        ?>
">
					<td align="center" valign="top"><?php 
        echo $limit * ($pagess - 1) + ($k + 1);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nama_peg($col[2][$k]);
Example #2
0
     $jumlah = $nilai_jumlah[$i];
     $kualitas = $nilai_kualitas[$i];
     $waktu = $nilai_waktu[$i];
     $biaya = $nilai_biaya[$i];
     $hitung = $penghitungan[$i];
     $capaian = $nilai_capaian[$i];
     $catat = $catatan[$i];
     if ($id != '') {
         mysql_query("UPDATE dtl_penilaian_skp_akhir SET jumlah_nilai = '{$jumlah}', kualitas_nilai = '{$kualitas}', waktu_nilai = '{$waktu}', biaya_nilai = '{$biaya}', penghitungan = '{$hitung}', nilai_capaian = '{$capaian}' , catatan = '{$catat}' where id = '{$id}'");
     } else {
         mysql_query("INSERT INTO dtl_penilaian_skp_akhir(nib_penilai,id_skp,no_tugas,jumlah_nilai,kualitas_nilai,waktu_nilai,biaya_nilai,catatan)\r\n\t\t\t\t\t\t\t\t\t values ('{$nib}', '{$skp}', '{$tugas}', '{$jumlah}', '{$kualitas}', '{$waktu}', '{$biaya}','{$catat}')");
     }
 }
 $tugas_tambahan_nilai_akhir = $_REQUEST['tugas_tambahan_nilai_akhir'];
 $kreativitas_nilai_akhir = $_REQUEST['kreativitas_nilai_akhir'];
 $nilai_skp = total_nilai_capaian_akhir($nib_penilai, $id_skp) + $tugas_tambahan_nilai_akhir + $kreativitas_nilai_akhir;
 $sql = "SELECT * FROM mst_skp_mutasi WHERE id = '{$id_skp}'";
 $qu = mysql_query($sql);
 $row = mysql_fetch_array($qu);
 $sql = "SELECT jabatan_penilai FROM mst_penilai WHERE id_skp = '{$id_skp}' and nib_penilai = '{$nib_penilai}'";
 $qu_2 = mysql_query($sql);
 $row_2 = mysql_fetch_array($qu_2);
 if (empty($row_2)) {
     mysql_query("INSERT INTO mst_penilai(id,id_skp,nib_penilai,jabatan_penilai,tahun,tugas_tambahan_nilai_akhir,kreativitas_nilai_akhir,nilai_skp)\r\n\t\t\t\t\t\t\t\tVALUES ('','{$id_skp}','{$nib_penilai}','{$row['jabatan_atasan']}','{$row['tahun']}','{$tugas_tambahan_nilai_akhir}','{$kreativitas_nilai_akhir}','{$nilai_skp}')");
 } else {
     mysql_query("UPDATE mst_penilai SET tugas_tambahan_nilai_akhir = '{$tugas_tambahan_nilai_akhir}', kreativitas_nilai_akhir = '{$kreativitas_nilai_akhir}',\r\n\t\t\t\t \t\t\t\t\tnilai_skp = '{$nilai_skp}' where id_skp = '{$id_skp}' AND nib_penilai = '{$nib_penilai}'");
 }
 $status_real_akhir = $_REQUEST['status_real_akhir'];
 if ($status_real_akhir == '2') {
     $tgl_real_akhir = date('Y-m-d');
 } else {
Example #3
0
">
				  <td colspan="4" align="center" valign="top"><strong>Penilai SKP</strong></td>
				  <td align="left" valign="top"><?php 
            echo nama_peg($List['nib_penilai']);
            ?>
</td>
				  <td align="left" valign="top"><?php 
            echo $List['jabatan_penilai'];
            ?>
</td>
				  <td align="center" valign="top"><?php 
            echo number_format(total_nilai_capaian_awal($List['nib_penilai'], $id_skp, $th), "2", ",", ".");
            ?>
</td>
				  <td align="center" valign="top"><?php 
            echo number_format(total_nilai_capaian_akhir($List['nib_penilai'], $id_skp, $th), "2", ",", ".");
            ?>
</td>
				  <td align="center" valign="top">
			  <a href="index.php?p=271&id_skp=<?php 
            echo $col[0][$k];
            ?>
&nib_penilai=<?php 
            echo $List['nib_penilai'];
            ?>
&pagess=<?php 
            echo $pagess;
            ?>
&cari=<?php 
            echo $cari;
            ?>
Example #4
0
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nm_unitkerja($col[3][$k]);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nama_peg($col[10][$k]);
        ?>
</td>
                    <td align="left" valign="top"><?php 
        echo $col[11][$k];
        ?>
</td>
                    <td align="center" valign="top"><?php 
        echo number_format(total_nilai_capaian_akhir($col[10][$k], $col[0][$k], $th), "2", ",", ".");
        ?>
</td>
                  <td width="13%" align="center" valign="top">
				  <?php 
        if ($xlevel == '1' or $xlevel == '2') {
            ?>
			  <a href="index.php?p=270&id_skp=<?php 
            echo $col[0][$k];
            ?>
&pagess=<?php 
            echo $pagess;
            ?>
&cari=<?php 
            echo $cari;
            ?>