Example #1
0
  </tr>
</table>
<?php 
        }
        ?>
<p>&nbsp;</p>
<?php 
    } else {
        if ($aksi == 'ubah') {
            $id = $_GET[id];
            //$qjabatan = mysql_query("select * from mst_jabatan order by kode_jab");
            //$qjamkerja = mysql_query("select * from mst_golongan");
            $qkaryawan = mysql_query("select * from mst_karyawan a,mst_kenaikan_pangkat c \r\n\twhere a.nip = c.nip and c.id = '{$id}'");
            $t = mysql_fetch_array($qkaryawan);
            $Ftgl = ambil_tanggal($t[tanggal_lahir]);
            $Fbln = ambil_bulan($t[tanggal_lahir]);
            $Fthn = ambil_tahun($t[tanggal_lahir]);
            ?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="bgform"><form id="karyawan" name="karyawan" method="post" enctype="multipart/form-data" action="prosespangkat.php?aksi=ubah">
      <table width="100%" border="0" cellspacing="2" cellpadding="4">
        <tr>
          <td colspan="2" class="judulform">Ubah Data Kenaikan Pangkat </td>
          </tr>
        <tr>
          <td width="32%">&nbsp;</td>
          <td width="68%">&nbsp;</td>
        </tr>
        <tr>
          <td class="labelform">Nomor Induk Karyawan</td>
Example #2
0
<p>&nbsp;</p>
<?php 
    } else {
        if ($aksi == 'ubah') {
            $id = $_GET[id];
            $qcuti = mysql_query("select * from t_cuti where id = '{$id}'");
            $t = mysql_fetch_array($qcuti);
            $Ftglawal = ambil_tanggal($t[tanggal_awal]);
            $Fblnawal = ambil_bulan($t[tanggal_awal]);
            $Fthnawal = ambil_tahun($t[tanggal_awal]);
            $Ftglakhir = ambil_tanggal($t[tanggal_akhir]);
            $Fblnakhir = ambil_bulan($t[tanggal_akhir]);
            $Fthnakhir = ambil_tahun($t[tanggal_akhir]);
            $Ftglmasuk = ambil_tanggal($t[tanggal_masuk]);
            $Fblnmasuk = ambil_bulan($t[tanggal_masuk]);
            $Fthnmasuk = ambil_tahun($t[tanggal_masuk]);
            ?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="bgform"><form id="cuti" name="cuti" method="post" action="prosescuti_hamil.php?aksi=ubah">
      <table width="100%" border="0" cellspacing="2" cellpadding="4">
        <tr>
          <td colspan="2" class="judulform">Ubah Cuti Hamil Karyawan</td>
          </tr>
        <tr>
          <td width="24%">&nbsp;</td>
          <td width="76%"><input type="hidden" name="id" <?php 
            echo "value='{$t['id']}'";
            ?>
 /></td>
Example #3
0
          </tr>
      </table>
        </form>
    </td>
  </tr>
</table>

<p>&nbsp;</p>
<?php 
    } else {
        if ($aksi == 'ubah') {
            $id = $_GET[id];
            $qijin = mysql_query("select * from t_ijin where id = {$id}");
            $t = mysql_fetch_array($qijin);
            $Ftgl = ambil_tanggal($t[tanggal]);
            $Fbln = ambil_bulan($t[tanggal]);
            $Fthn = ambil_tahun($t[tanggal]);
            ?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="bgform"><form id="ijin" name="ijin" method="post" action="prosesijin.php?aksi=ubah">
      <table width="100%" border="0" cellspacing="2" cellpadding="4">
        <tr>
          <td colspan="2" class="judulform">Ubah Ijin Harian Pegawai</td>
          </tr>
        <tr>
          <td width="24%">&nbsp;</td>
          <td width="76%"><input type="hidden" name="id" <?php 
            echo "value='{$t['id']}'";
            ?>
 /></td>