Ejemplo n.º 1
0
function tgl_indonesia($tanggal)
{
    $tgl = substr($tanggal, 8, 2);
    $bln = get_bulan(substr($tanggal, 5, 2));
    $thn = substr($tanggal, 0, 4);
    return $tgl . " " . $bln . " " . $thn;
}
Ejemplo n.º 2
0
function tgl_indo($tgl)
{
    $tanggal = substr($tgl, 8, 2);
    $bulan = get_bulan(substr($tgl, 5, 2));
    $tahun = substr($tgl, 0, 4);
    return $tanggal . ' ' . $bulan . ' ' . $tahun;
}
Ejemplo n.º 3
0
<?php

include "config/koneksi.php";
include "config/fungsi.php";
$bulan = $_GET[bulan];
$tahun = $_GET[tahun];
$namabulan = get_bulan($bulan);
$jumhari = date("t", mktime(0, 0, 0, $bulan, 1, $tahun));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.:: Rekapitulasi Absen ::.</title>
<link rel="stylesheet" type="text/css" href="config/style.css">
</head>

<body>
<p class="judul_report">LAPORAN REKAPITULASI KEHADIRAN PEGAWAI</p>
<table echo width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" class="tabelheader">BULAN : <?php 
echo $namabulan . " " . $tahun;
?>
</td>
	<?php 
for ($tgl = 1; $tgl <= $jumhari; $tgl++) {
    //{
}
?>
    
Ejemplo n.º 4
0
					<tr>
					  <td class="label_form">TANGGAL LAHIR </td>
					  <td><label>
						<select name="tanggal">
						<?php 
            for ($tgl = 1; $tgl <= 31; $tgl++) {
                echo "<option value='{$tgl}'>{$tgl}</option>";
            }
            ?>
						</select>
					  </label>
						<label>
						<select name="bulan">
						<?php 
            for ($bln = 1; $bln <= 12; $bln++) {
                $bulan = get_bulan($bln);
                echo "<option value='{$bln}'>{$bulan}</option>";
            }
            ?>
						</select>
						</label>
						<label>
						<input name="tahun" value="<?php 
            echo $tanggal[0];
            ?>
" type="text" id="tahun" size="7" maxlength="4" />
						</label></td>
					</tr>
					<tr>
					  <td class="label_form">STATUS KAWIN </td>
					  <td><select name="status" size="1" id="status">