• Tidak ada hasil yang ditemukan

Sistem Informasi Kelurahan Bagan Deli Kecamatan Medan Belawan Berbasis Web

N/A
N/A
Protected

Academic year: 2017

Membagikan "Sistem Informasi Kelurahan Bagan Deli Kecamatan Medan Belawan Berbasis Web"

Copied!
63
0
0

Teks penuh

(1)

Lampiran 1. Listing Program

1.

Halaman Index

<!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">

<link rel="stylesheet" type="text/css" href="model/style.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

<div class="utama">

<div class="header"><h1><b>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</b></h1></div>

<div class="logo"></div>

<div class="menu-utama">

<nav>

<ul>

<li><a href="index.php">Beranda</a>

<ul>

</ul>

(2)

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur Organisasi</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

</ul>

</nav>

</div>

(3)

<marquee>

<div class="mk1">

<div class="mk2">

<div class="mk3">

<div class="mk4"></div>

</div>

</div>

</div>

</marquee>

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

(4)

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

$days_in_month = date('t',mktime(0,0,0,$month,1,$year));

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

$calendar.= '<tr class="calendar-row">';

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

(5)

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

}

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

(6)

/* final row */

$calendar.= '</tr>';

/* end the table */

$calendar.= '</table>';

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

(7)

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

(8)

&copy; KELURAHAN BAGAN DELI</div>

</body>

</html>

2.

Profil

<!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">

<link rel="stylesheet" type="text/css" href="model/style-profil.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Profil Kelurahan Bagan Deli</title>

</head>

<body>

<div class="utama">

<div class="header"><h1>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</h1></div>

<div class="logo"></div>

<div class="menu-utama">

<div class="menu-utama">

(9)

<ul>

<li><a href="index.php">Beranda</a>

<ul>

</ul>

</li>

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur

Organisasi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

(10)

</nav>

</div>

<div class="content"><p>

Kelurahan Bagan Deli terletak di tepi Muara Deli sampai ke tepian Kuala

Deli. Dulunya, tempat ini dinamakan Pulau Putri yang merupakan tempat

persinggahan Keluarga Sultan Deli. Berdasarkan surat pengakuan dan kesaksian

tanggal 28 November 1983 oleh Mantan Penghulu Bagan Deli Tahun 1939 s/d

1947, yaitu Bapak Muhamad Ilyas dan Mantan Penghulu Bagan Deli Tahun 1952

s/d 1969, yaitu Bapak Hasyim Syami, bahwa letak Kampung Bagan Deli

diperkirakan berada di tepi Muara Deli/Kuala Deli bertepatan dengan letak

persinggahan Pulau Putri tersebut.

<br></br>

Muara Deli, perairan Kuala Deli, dan Kampung Bagan Deli juga

merupakan daerah yang strategis bagi saudagar Bugis dan Cina untuk melakukan

"Tambat dan Labuh" Tongkang perahu layar mereka serta tempat beristirahat

sebelum menuju Pekan Labuhan Deli, atau sebaliknya. Begitu juga bagi

masyarakat nelayan di sekitar Sungai Deli, Kampung Bagan Deli dapat digunakan

juga sebagai tempat untuk beristirahat mereka sebelum atau sesudah melaut.

(11)

nama "BAGAN" di tepi Muara Deli/Kuala Deli yang selanjutnya dinamakan

Bagan Deli, walaupun Kampung Bagan Deli waktu itu dihuni hanya beberapa

keluarga saja.Kehidupan penduduk ketika itu ditopang dari membuat atap Nipah

dan menjalin Bilah untuk membuat belat (alat untuk menangkap ikan).<br></br>

Pada tahun 1910, ketika utusan Kesultanan Deli datang ke Kampung

Bagan Deli untuk memberitahukan bahwa keluarga Sultan Deli akan berkunjung

ke Persinggahan Pulau Putri maka satu orang Tokoh di Kampung Bagan Deli

akan menyiapkan segala sesuatunya sehubungan dengan penyambutan kunjungan

tersebut (persiapan tempat, makanan, dan keamanan) termasuk mamandu Perahu

Kesultanan Deli dari Persinggahan Pasar Raja (posisi sekarang diantara Lorong

Pertamina dengan Lorong I Veteran) menuju persinggahan Pulau Putri (posisi

sekarang: Pantai Ocean Pasifik). Tokoh tersebut selanjutnya tercatat sebagai orang

pertama yang diangkat/ditunjuk oleh Kesultanan Deli menjadi Penghulu

Kampung Bagan Deli yaitu Bapak H.Awal, setelah Proklamasi Kemerdekaan

Republik Indonesia tahun 1945, Kampung Bagan Deli secara administratif

menjadi Desa Bagan Deli yang berada di bawah Pemerintahan Sumatera Timur.<br></br>

Dan pada perkembangannya, kini tahun 2011 Kampung Bagan Deli menjadi

Kelurahan Bagan Deli Kecamatan Medan Belawan, Kota Medan, Provinsi

(12)

</div>

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

$days_in_month = date('t',mktime(0,0,0,$month,1,$year));

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

(13)

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

}

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

(14)

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

/* end the table */

$calendar.= '</table>';

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

(15)

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

<div class="T">

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

(16)

</div>

</div>

<div class="footer">

&copy; KELURAHAN BAGAN DELI</div>

</body>

</html>

3.

Struktur

<!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">

<link rel="stylesheet" type="text/css" href="model/style-struktur.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

<div class="utama">

<div class="header"><h1>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</h1></div>

<div class="logo"></div>

<div class="menu-utama">

<nav>

(17)

<li><a href="index.php">Beranda</a>

<ul>

</ul>

</li>

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur Organisasi</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

(18)

</nav>

</div>

<div class="content">

<h2 align="center">Data Pegawai</h2>

<table width="745" border="1" align="center">

<tr>

<td width="56">No</td>

<td width="71">Nip</td>

<td width="65">Nama</td>

<td width="44">Jabatan</td>

</tr>

<?php

include "include/koneksi.php";

$qpegawai = mysql_query("SELECT * FROM tb_pegawai");

while($rpegawai = mysql_fetch_array($qpegawai)){

?>

<tr>

<td><?php echo $rpegawai['no'];?></td>

<td><?php echo $rpegawai['nip'];?></td>

<td><?php echo $rpegawai['nama'];?></td>

<td><?php echo $rpegawai['jabatan'];?></td>

</tr>

<?php } ?>

</table>

(19)

<a href="login.php"><img src="model/gambar/admin.png" /></a>

</div>

</div>

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

$days_in_month = date('t',mktime(0,0,0,$month,1,$year));

(20)

$day_counter = 0;

$dates_array = array();

/* row for week one */

$calendar.= '<tr class="calendar-row">';

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

}

(21)

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

/* end the table */

(22)

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

(23)

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

<div class="footer">

&copy; KELURAHAN BAGAN DELI</div>

</body>

(24)

</body>

</html>

4.

KTP

<!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">

<link rel="stylesheet" type="text/css" href="model/style-ktp.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

<div class="utama">

<div class="header"><h1>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</h1></div>

<div class="logo"></div>

<div class="menu-utama">

<nav>

<ul>

<li><a href="index.php">Beranda</a>

<ul>

</ul>

(25)

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur Organisasi</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan E-KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

</ul>

</nav>

(26)

<div class="content1"><br ></br>&nbsp;

</div>

<div class="content2"><br ></br>&nbsp;

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

(27)

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

$calendar.= '<tr class="calendar-row">';

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

(28)

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

(29)

$calendar.= '</table>';

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

(30)

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<div class="footer">

(31)

</body>

</html>

5.

KK

<!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">

<link rel="stylesheet" type="text/css" href="model/style-kk.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Syarat KK</title>

</head>

<body>

<div class="utama">

<div class="header"><h1>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</h1></div>

<div class="logo"></div>

<div class="menu-utama">

<nav>

<ul>

<li><a href="index.php">Beranda</a>

<ul>

</ul>

(32)

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur Organisasi</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan E-KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

</ul>

</nav>

</div>

(33)

<b></b>

</div>

<div class="content2">

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

(34)

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

$calendar.= '<tr class="calendar-row">';

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

(35)

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

(36)

$calendar.= '</table>';

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

(37)

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<div class="footer">

&copy; KELURAHAN BAGAN DELI</div>

(38)

</html>

6.

Login

<!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">

<link rel="stylesheet" type="text/css" href="model/style-login.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

<div class="utama">

<div class="header"><h1>&nbsp;&nbsp;&nbsp;Kelurahan Bagan Deli Kecamatan Medan Belawan</h1></div>

<div class="logo"></div>

<div class="menu-utama">

<nav>

<ul>

<li><a href="index.php">Beranda</a>

<ul>

</ul>

(39)

<li><a href="">Profil</a>

<ul>

<li><a href="profil.php">Sejarah&nbsp;</a></li>

<li><a href="struktur.php">Struktur Organisasi</a></li>

</ul>

</li>

<li><a href="">Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

<li><a href="KK.php">Pengurusan KK</a></li>

<li><a href="ktp.php">Pengurusan KTP</a></li>

<li><a href="akte.php">Pengurusan Akte Kelahiran</a></li>

</ul>

</li>

<li><a href="hubungi.php">Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>

<ul>

</ul>

</li>

</ul>

</nav>

</div>

(40)

<br ><br /><br ><br /><br ><br /><br ><br /><br ><br />

<form action="cek.php" method="post">

<div align="center">

<h2 align="center">Masuk</h2>

<table width="200" border="1">

<tr>

<td>Username</td>

<td>:</td>

<td><label for="username"></label>

<input type="text" name="username" id="username" /></td>

</tr>

<tr>

<td>Password</td>

<td>:</td>

<td><label for="password"></label>

<input type="password" name="password" id="password" /></td>

</tr>

<tr>

<td colspan="3"><div align="center">

<input type="submit" name="button" id="button" value="Masuk" />

<input type="reset" name="button2" id="button2" value="Batal" />

</div></td>

</tr>

</table>

(41)

</form>

</div>

</div>

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

(42)

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

$calendar.= '<tr class="calendar-row">';

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

(43)

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

if(($day_counter+1) != $days_in_month):

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

(44)

$calendar.= '</table>';

/* all done, return result */

return $calendar;

}

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

(45)

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

<div class="W">

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

(46)

<div class="footer">

&copy; KELURAHAN BAGAN DELI</div>

</body>

</html>

</body>

</html>

7.

Admin

<!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">

<link rel="stylesheet" type="text/css" href="model/style-admin.css" />

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

<div class="utama">

<div class="header"><h1><b>Kelurahan Bagan Deli Kecamatan Medan Belawan</b></h1></div>

<div class="logo"></div>

(47)

<nav>

<ul>

<li><a href="index.php"><b>Beranda</b></a>

<ul>

</ul>

</li>

<li><a href=""><b>Profil</a>

<ul>

<li><a href="profil.php"><b>Sejarah&nbsp;</b></a></li>

<li><a href="struktur.php"><b>Struktur Organisasi</b></a></li>

</ul>

</li>

<li><a href=""><b>Pelayanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></a>

<ul>

<li><a href="KK.php"><b>Pengurusan KK</b></a></li>

<li><a href="ktp.php"><b>Pengurusan KTP</b></a></li>

<li><a href="akte.php"><b>Pengurusan Akte Kelahiran</b></a></li>

</ul>

</li>

<li><a href="hubungi.php"><b>Hubungi

Kami&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></a>

<ul>

</ul>

(48)

<li><a href="include/logout.php"><b>Log Out&nbsp;&nbsp;&nbsp;</b></a>

<ul>

</ul>

</li>

</ul>

</nav>

</div>

<div class="content">

<br ><br /><br ><br />

<br ><br />

<form action="include/in_pegawai.php" method="post">

<div align="center">

<h2 align="center">Data Pegawai</h2>

<table width="200" border="1">

<tr>

<td>Nip</td>

<td>:</td>

<td><label for="nip"></label>

(49)

</tr>

<tr>

<td>Nama</td>

<td>:</td>

<td><label for="nama"></label>

<input type="text" name="nama" id="nama" /></td>

</tr>

<tr>

<td>Jabatan</td>

<td>:</td>

<td><label for="jabatan"></label>

<input type="text" name="jabatan" id="jabatan" /></td>

</tr>

<tr>

<td colspan="3"><div align="center">

<input type="submit" name="button" id="button" value="Simpan" />

<input type="reset" name="button2" id="button2" value="Batal" />

</div></td>

</tr>

</table>

</div>

</form>

<br ><br /><br ><br /><br ><br />

<h2 align="center">Data Pegawai</h2>

<table width="745" border="1" align="center">

(50)

<td width="56">No</td>

<td width="71">Nip</td>

<td width="65">Nama</td>

<td width="44">Jabatan</td>

<td width="70">Pilih</td>

</tr>

<?php

include "include/koneksi.php";

$qpegawai = mysql_query("SELECT * FROM tb_pegawai");

while($rpegawai = mysql_fetch_array($qpegawai)){

?>

<tr>

<td><?php echo $rpegawai['no'];?></td>

<td><?php echo $rpegawai['nip'];?></td>

<td><?php echo $rpegawai['nama'];?></td>

<td><?php echo $rpegawai['jabatan'];?></td>

<td> <a href="f_up_pegawai.php?no=<?php echo $rpegawai['no'];?>">Edit</a> |<a

href="include/del_pegawai.php?no=<?php echo $rpegawai['no'];?> " onclick="return confirm('Yakin mau hapus..??');">Delete </a> </td>

</tr>

<?php } ?>

</table>

(51)

<div class="kanan">

<div id="mycalendar">

<?php

$namabulan =

array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","A gustus","September","Oktober","November","Desember");

function draw_calendar($month,$year){

/* draw table */

$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">';

/* table headings */

$headings = array('Ming','Sen','Sel','Rab','Kam','Jum','Sab');

$calendar.= '<tr class="calendar-row"><td head">'.implode('</td><td

class="calendar-day-head">',$headings).'</td></tr>';

/* days and weeks vars now ... */

$running_day = date('w',mktime(0,0,0,$month,1,$year));

$days_in_month = date('t',mktime(0,0,0,$month,1,$year));

$days_in_this_week = 1;

$day_counter = 0;

$dates_array = array();

/* row for week one */

(52)

/* print "blank" days until the first of the current week */

for($x = 0; $x < $running_day; $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

$days_in_this_week++;

endfor;

/* keep going with days.... */

for($list_day = 1; $list_day <= $days_in_month; $list_day++):

$calendar.= '<td class="calendar-day">';

/* add in the day number */

if($list_day==date("j"))

{

$calendar.= '<div class="day-number" title="Today">'.$list_day.'</div>';

}

else

{

$calendar.= '<div class="day-number">'.$list_day.'</div>';

}

/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !! IF MATCHES FOUND, PRINT THEM !! **/

$calendar.= str_repeat('<p> </p>',2);

$calendar.= '</td>';

if($running_day == 6):

$calendar.= '</tr>';

(53)

$calendar.= '<tr class="calendar-row">';

endif;

$running_day = -1;

$days_in_this_week = 0;

endif;

$days_in_this_week++; $running_day++; $day_counter++;

endfor;

/* finish the rest of the days in the week */

if($days_in_this_week < 8):

for($x = 1; $x <= (8 - $days_in_this_week); $x++):

$calendar.= '<td class="calendar-day-np"> </td>';

endfor;

endif;

/* final row */

$calendar.= '</tr>';

/* end the table */

$calendar.= '</table>';

/* all done, return result */

return $calendar;

(54)

if(empty($pilbulan) && empty($piltahun))

{

$pilbulan=date("n");

$piltahun=date("Y");

}

echo "<h2>".$namabulan[$pilbulan]." ".$piltahun."</h2>";

echo draw_calendar($pilbulan,$piltahun);

?>

</div>

<br ><br />

Go to :

<br ><br />

<div class="F">

<a href=""><img src="model/gambar/fb_icon_325x325.png" /></a>

<div class="T">

<a href="https://twitter.com/login?lang=id"><img src="model/gambar/twitter_logo.gif" /></a>

<div class="L">

<a href="https://line.me/id/"><img src="model/gambar/line.jpg" /></a>

(55)

<a href="https://www.whatsapp.com/?l=id"><img src="model/gambar/wa.jpg" /></a>

<div class="I">

<a href="https://www.instagram.com/?hl=id"><img src="model/gambar/NewInstagramLogo.png" /></a>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<div class="footer">

&copy; KELURAHAN BAGAN DELI</div>

(56)

</html>

</body>

(57)
(58)
(59)
(60)
(61)
(62)
(63)

Referensi

Dokumen terkait

Hasil penelitian dengan menggunakan uji chi-square menunjukkan bahwa Tidak ada hubungan yang signifikan antara variabel umur ibu dengan kejadiaan diare di Kelurahan Bagan

berjudul “ Kajian Ekologi Mangrove di Kawasan Mangrove Desa Bagan Deli Kecamatan Medan Belawan Sumatera Utara ”.. S kripsi ini sebagai syarat untuk menyelesaikan

Kemudian pada bulan Maret 2016 penulis melaksanakan Penelitian skripsi di kawasan mangrove Desa Bagan Deli Kecamatan Medan Belawan dengan judul “Struktur Komunitas Makrozoobenthos

mengatasi kemiskinan pada keluarga nelayan miskin di Kelurahan Bagan Deli.. Kecamatan

Lokasi penelitian ini dilakukan pada masyarakat pesisir Kelurahan Bagan Deli Kecamatan Medan Belawan. Adapun yang

strategi perempuan pesisir dalam mengatasi kemiskinan pada keluarga nelayan. miskin di Kelurahan Bagan Deli Kecamatan

kepiting, harga ikan, harga udang dan jenis alat tangkap yang digunakan oleh. nelayan di Kelurahan

nelayan di kelurahan Bagan Deli kecamatan Medan Belawan Kota Medan sebagai. salah satu suatu wilayah pesisir yang berhadapan langsung dengan