Man 2 Model Medan
if($entri) { ?>
Nomor Induk Pegawai | =$row[1]?> |
Nama Lengkap Guru | =$row[2]?> |
Nomor Kartu Pegawai | =$row[3]?> |
Pangkat | =$row[4]?> |
Golongan | =$row[5]?> |
Mulai Tugas (Pangkat) | $tlahir = substr($row[6], 8, 2). "-". substr($row[6], 5, 2). "-". substr($row[6], 0, 4); echo $tlahir; ?> |
Jabatan | =$row[7]?> |
Mulai Tugas (Jabatan) | $tlahir = substr($row[8], 8, 2). "-". substr($row[8], 5, 2). "-". substr($row[8], 0, 4); echo $tlahir; ?> |
Masa kerja | $a = Date("Y-m-d"); $b = $row[8]; $ab = substr($a, 5, 2); $at = substr($a, 0, 4); Universitas Sumatera Utara $bb = substr($b, 5, 2); $bt = substr($b, 0, 4); $bulan = $ab - $bb; $tahun = $at - $bt; //hitung tahun dan bulan yang sebenarnya if($bulan<0) { $tahun2 = $tahun - 1; $bulan2 = $bulan + 12; echo "$tahun2 tahun, $bulan2 bulan"; } else { echo "$tahun tahun, $bulan bulan"; } ?> |
Jumlah jam | =$row[9]?> |
Pendidikan | =$row[10]?> |
Tahun Lulus | =$row[11]?> |
Tingkat Ijazah | =$row[12]?> |
Tanggal Lahir | $tlahir = substr($row[13], 8, 2). "-". substr($row[13], 5, 2). "-". substr($row[13], 0, 4); echo $tlahir; ?> |
Usia | $a = Date("Y-m-d"); $b = $row[13]; $ab = substr($a, 5, 2); $at = substr($a, 0, 4); $bb = substr($b, 5, 2); $bt = substr($b, 0, 4); $bulan = $ab - $bb; $tahun = $at - $bt; //hitung tahun dan bulan yang sebenarnya if($bulan<0) { $tahun2 = $tahun - 1; $bulan2 = $bulan + 12; echo "$tahun2 tahun"; } else { echo "$tahun tahun"; } ?> |
Catatan Mutasi | $tlahir = substr($row[14], 8, 2). "-". substr($row[14], 5, 2). "-". substr($row[14], 0, 4); echo $tlahir; ?> |
Keterangan | =$row[15]?> |
No | Nama | NIP | Gol | Jabatan | Masa Kerja | Jam | Ijazah | Mutasi | Aksi | ||
---|---|---|---|---|---|---|---|---|---|---|---|
$no | \n" . "$b2 | \n" . "$a2 | \n" . "$e | \n" . "$g | \n" . "$tahun tahun, $bulan bulan | \n" . "$i | \n" . "$l | \n" . "$n2 | \n" . "detail | " . "edit | " . "hapus | " . "
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
$b |
---|
$c | \n
$b |
---|
$c | \n
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
if($entri) { ?>
No | Nama Kelas | Wali Kelas | Jumlah Siswa | Aksi | $no | \n" . "$a | \n" . "$b | \n" . ""; Universitas Sumatera Utara $qs = mysql_query("select count(*) from siswa where b_kelas_ssw='$z'", $id); $qqw = mysql_fetch_array($qs); echo $qqw[0]; echo" | \n" . "edit | " . "hapus | " . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); Universitas Sumatera Utara echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0]"; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
if($entri) { ?>
|
|
No | Nama | Kelas | Asal Kelas | Tempat Tanggal Lahir | Alamat | Suku | Anak Ke | Jumlah Saudara | Aksi | ||
---|---|---|---|---|---|---|---|---|---|---|---|
$no | \n" . "$a | \n" . ""; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$b'", $id); $qc = mysql_fetch_array($qk); echo $qc[0]; echo" | \n" . ""; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$c'", $id); $qc = mysql_fetch_array($qk); echo $qc[0]; echo" | \n" . "$d, $e2 | \n" . "$f | \n" . "$g | \n" . "$i | \n" . "$h | \n" . "detail | " . "edit | " . "hapus | " . "
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; Universitas Sumatera Utara ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Nama | NIP | Gol | Jabatan | Masa Kerja | Jam | Ijazah | Mutasi | Aksi | $no | \n" . "$b2 | \n" . "$a2 | \n" . "$e | \n" . "$g | \n" . "$tahun tahun, $bulan bulan | \n" . "$i | \n" . "$l | \n" . "$n2 | \n" . "detail | " . "edit | " . "hapus | " . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | Universitas Sumatera Utara $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Nama Kelas | Wali Kelas | Jumlah Siswa |
---|---|---|---|
$no | \n" . "$a | \n" . "$b | \n" . ""; $qs = mysql_query("select count(*) from siswa where b_kelas_ssw='$z'", $id); $qqw = mysql_fetch_array($qs); echo $qqw[0]; echo" | \n" . "
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> Universitas Sumatera Utara |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Fasilitas | Jumlah | Luas (m2) | Penanggung Jawab | Keadaan | Keterangan | $no | \n" . "$a | \n" . "$b | \n" . "$c | \n" . ""; $qq = mysql_query("select b_nip_gru from guru where id_gru='$d'", $id); $rq = mysql_fetch_array($qq); echo $rq[0]; echo" | \n" . "$e | \n" . "$f | \n" . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
if($entri) { ?>
No | Fasilitas | Jumlah | Luas (m2) | Penanggung Jawab | Keadaan | Keterangan | Aksi | $no | \n" .$a | \n" . "$b | \n" . "$c | \n" . ""; $qq = mysql_query("select b_nip_gru from guru where id_gru='$d'", $id); $rq = mysql_fetch_array($qq); echo $rq[0]; echo" | \n" . "$e | \n" . "$f | \n" . "edit | " . "hapus | " . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | Universitas Sumatera Utara $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Fasilitas | Jumlah | Luas (m2) | Penanggung Jawab | Keadaan | Keterangan | Aksi | |
---|---|---|---|---|---|---|---|---|
$no | \n" . "$a | \n" . ""; $qq = mysql_query("select a_nama_gru from guru where id_gru='$b'", $id); $rq = mysql_fetch_array($qq); echo $rq[0]; echo" | \n" . "$c | \n" . ""; $qq = mysql_query("select b_nip_gru from guru where id_gru='$d'", $id); $rq = mysql_fetch_array($qq); echo $rq[0]; echo" | \n" . "$e | \n" . "$f | \n" . "edit | " . "hapus | " . "
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
if($entri) { ?>
Universitas Sumatera Utara
No | Nama | L/P | Tempat, Tanggal Lahir | Jabatan | Pendidikan, tahun | Aksi | $no | \n" . "$a | \n" . "$b | \n" . "$c, $d2 | \n" . "$e | \n" . "$f, $g | \n" . "edit | " . "hapus | " . " \n";
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); Universitas Sumatera Utara echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
$b |
---|
$c | \n
$b |
---|
$c | \n
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | Universitas Sumatera Utara $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; Universitas Sumatera Utara ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | Universitas Sumatera Utara $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Nama | NIP | Gol | Jabatan | Masa Kerja | Jam | Ijazah | Mutasi | $no | \n" . "$b2 | \n" . "$a2 | \n" . "$e | \n" . "$g | \n" . "$tahun tahun, $bulan bulan | \n" . "$i | \n" . "$l | \n" . "$n2 | \n" . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Nama | Kelas | Asal Kelas | Tempat Tanggal Lahir | Alamat | Suku | Anak Ke | Jumlah Saudara |
---|---|---|---|---|---|---|---|---|
$no | \n" . "$a | \n" . ""; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$b'", $id); $qc = mysql_fetch_array($qk); echo $qc[0]; echo" | \n" . ""; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$c'", $id); $qc = mysql_fetch_array($qk); echo $qc[0]; echo" | \n" . "$d, $e2 | \n" . "$f | \n" . "$g | \n" . "$i | \n" . "$h | \n" . "
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Man 2 Model Medan
No | Nama | Kelas | Asal Kelas | Tempat Tanggal Lahir | Alamat | Suku | Anak Ke | Jumlah Saudara | $no | \n" . "$a | \n" . ""; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$b'", $id); $qc = mysql_fetch_array($qk); Universitas Sumatera Utara echo $qc[0]; echo" | \n" . " "; $qk = mysql_query("select a_nama_kls from kelas where id_kls='$c'", $id); $qc = mysql_fetch_array($qk); echo $qc[0]; echo" | \n" . "$d, $e2 | \n" . "$f | \n" . "$g | \n" . "$i | \n" . "$h | \n" . " \n"; $no++; } ?>
---|
Guru | $qguru = mysql_query("select count(*) from guru", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Siswa | $qguru = mysql_query("select count(*) from siswa", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Pegawai | $qguru = mysql_query("select count(*) from pegawai", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |
Kelas | $qguru = mysql_query("select count(*) from kelas", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] "; ?> |
User | $qguru = mysql_query("select count(*) from user", $id); $jumg = mysql_fetch_array($qguru); echo "$jumg[0] orang"; ?> |