DAFTAR ISI Halaman Judul................................................................................................... i Halaman Judul Dengan Spesifikasi ................................................................... ii Halaman Persetujuan ......................................................................................... iii Halaman Pengesahan ........................................................................................ iv Halaman Persembahan ...................................................................................... v Intisari ............................................................................................................... vi Kata Pengantar .................................................................................................. vii Daftar isi ............................................................................................................ ix Daftar Tabel ...................................................................................................... xii Daftar Gambar ................................................................................................... xiii BAB I BAB II PENDAHULUAN 1.1 Latar Belakang Masalah ............................................................. 1 1.2 Batasan Masalah ......................................................................... 2 1.3 Metode Penulisan........................................................................ 3 1.4 Maksud dan Tujuan .................................................................... 4 LANDASAN TEORI 2.1 Defenisi Sistem ........................................................................... 5 2.2 Analisis Sistem ........................................................................... 5 2.3 Diagram Alir Data ...................................................................... 6 2.4 Diagram Konteks ........................................................................ 6 2.5 Konsep Jaringan Internet ............................................................ 7 ix 2.5.1 WWW (Word Wide Web) .............................................. 8 2.5.2 Cara Kerja Word Wide Web ........................................... 8 2.5.3 HTTP (HyperText Transfer Protocol) ............................ 9 2.5.4 HTML (HyperText Markup Language) .......................... 10 2.6 Konsep Pemrograman PHP ........................................................ 11 2.6.1 Definisi PHP ................................................................... 11 2.6.2 Kelebihan-kelebihan PHP .............................................. 11 2.6.3 Alasan Memilih PHP ...................................................... 12 2.6.4 Pendekatan Cara PHP ..................................................... 13 2.7 Konsep Basis Data ...................................................................... 13 2.7.1 Pengertian Basis Data ..................................................... 13 2.7.2 Rancangan Basis Data .................................................... 14 2.7.3 MySQL ........................................................................... 15 2.7.4 Interaksi MySQL dengan PHP ....................................... 16 BAB III ANALISIS DAN PERANCANGAN SISTEM 3.1 Diagram Arus Data ...................................................................... 18 3.1.1 Diagram Konteks ............................................................ 18 3.1.2 Diagram Level 0 ............................................................. 19 3.2 Bagan Alir Sistem ........................................................................ 22 3.3 Rancangan Basis Data ................................................................. 25 3.4 Relasi Antar Tabel ....................................................................... 31 3.5 Perancangan Masukan ................................................................. 34 3.6 Perancangan Keluaran ................................................................. 39 x BAB IV IMPLEMENTASI DAN PEMBAHASAN BAB V 4.1 Spesifikasi Program ..................................................................... 46 4.2 Menjalankan Sistem Aplikasi ...................................................... 47 4.2.1 Pembeli .............................................................................. 47 4.2.2 Manager ............................................................................. 68 4.2.3 Administrator ..................................................................... 78 PENUTUP 5.1 Kesimpulan .................................................................................. 109 5.2 Saran ............................................................................................ 110 DAFTAR PUSTAKA ...................................................................................... 111 LAMPIRAN xi DAFTAR TABEL Tabel 3.1 Tabel Embarkasi ............................................................................... 26 Table 3.2 Tabel Tujuan ..................................................................................... 27 Table 3.3 Tabel Kapal ....................................................................................... 27 Table 3.4. Tabel Kelas ...................................................................................... 27 Table 3.5 Tabel Jadwal ..................................................................................... 28 Table 3.6 Tabel Tiket ........................................................................................ 28 Table 3.7 Tabel Pemesanan............................................................................... 29 Table 3.8 Tabel Pembayaran ............................................................................. 30 Table 3.9 Tabel Admin ..................................................................................... 30 Tabe 3.10 Tabel Buku Tamu ............................................................................. 30 xii DAFTAR GAMBAR Gambar 2.1 Interaksi MySQL dan PHP ......................................................... 17 Gambar 3.1 Konteks Diagram ........................................................................ 19 Gambar 3.2 Diagram Alir Data Level –0 ....................................................... 21 Gambar 3.3 Bagan alir Sistem ........................................................................ 23 Gambar 3.4 Relasi Antar Tabel ...................................................................... 32 Gambar 3.5 Dialog Masukan Data Embarkasi ............................................... 35 Gambar 3.6 Dialog Masukan Data Tujuan ..................................................... 35 Gambar 3.7 Dialog Masukan Data Kapal ...................................................... 36 Gambar 3.8 Dialog Masukan Data Kelas ....................................................... 36 Gambar 3.9 Dialog Masukan Data Jadwal Keberangkatan ............................ 37 Gambar 3.10 Masukan Data Tiket Kapal ......................................................... 37 Gambar 3.11 Dialog Masukan Data Pemesanan Tiket..................................... 38 Gambar 3.12 Dialog Masukan Data Pemilihan Tujuan ................................... 38 Gambar 3.13 Dialog Masukan Data Penumpang ............................................. 39 Gambar 3.14 Dialog Masukan Data Bukti Pembayaran .................................. 39 Gambar 3.15 Laporan Daftar Seluruh Embarkasi ............................................ 40 Gambar 3.16 Laporan Daftar Tujuan ............................................................... 40 Gambar 3.17 Laporan Daftar Seluruh Kapal.................................................... 41 Gambar 3.18 Laporan Daftar Seluruh Kelas .................................................... 41 Gambar 3.19 Laporan Daftar Tujuan Per Embarkasi ....................................... 42 Gambar 3.20 Laporan Penjadwalan Kapal Per Embarkasi .............................. 42 xiii Gambar 3.21 Laporan Penjadwalan Kapal Per Periode ................................... 43 Gambar 3.22 Laporan Daftar Harga Tiket Per Tujuan ..................................... 43 Gambar 3.23 Laporan Daftar Pemesanan Tiket Per Kode Pesan ..................... 44 Gambar 3.24 Laporan Daftar Seluruh Pemesanan Tiket Per Jadwal Keberangkatan ............................................................................ 45 Gambar 3.25 Laporan Pembayaran Tiket......................................................... 45 Gambar 4.1 Tampilan Halaman Home .......................................................... 51 Gambar 4.2 Tampilan Menu Info Harga ........................................................ 52 Gambar 4.3 Tampilan Menu Harga ............................................................... 53 Gambar 4.4 Tampilan Menu Info Kapal ........................................................ 54 Gambar 4.5 Tampilan Menu Jadwal .............................................................. 55 Gambar 4.6 Tampilan Pilihan Embarkasi ...................................................... 56 Gambar 4.7 Tampilan Jadwal Embarkasi Jakarta .......................................... 57 Gambar 4.8 Tampilan Jadwal Keberangkatan Per Periode ............................ 57 Gambar 4.9 Tampilan Penjadwalan Per Periode............................................ 58 Gambar 4.10 Tampilan Menu Pemesanan ....................................................... 59 Gambar 4.11 Tampilan Pemilihan Kota Tujuan .............................................. 59 Gambar 4.12 Tampilan Pilihan Jadwal ............................................................ 60 Gambar 4.13 Dialog Pesan Kesalahan ............................................................ 62 Gambar 4.14 Daftar Pemesanan ....................................................................... 62 Gambar 4.15 Tampilan konfirmasi penyimpanan ............................................ 63 Gambar 4.16 Tampilan Menu Cek Tiket ......................................................... 64 Gambar 4.17 Tampilan Pilihan Kode Pemesanan............................................ 65 xiv Gambar 4.18 Tampilan Bukti Pembayaran ...................................................... 65 Gambar 4.19 Tampilan Konfirmasi Kesalahan ................................................ 66 Gambar 4.20 Tampilan Konfirmasi Pemyimpanan ......................................... 66 Gambar 4.21 Tampilan Buku Tamu................................................................. 67 Gambar 4.22 Tampilan Lihat Buku Tamu ....................................................... 68 Gambar 4.23 Tampilan Halaman Home .......................................................... 69 Gambar 4.24 Tampilan Login Manager ........................................................... 69 Gambar 4.25 Tampilan Ruang Manager .......................................................... 71 Gambar 4.26 Tampilan Daftar Jadwal ............................................................. 73 Gambar 4.27 Tampilan Sistem Periode ........................................................... 74 Gambar 4.28 Tampilan Daftar Jadwal Kapal Per Periode ............................... 74 Gambar 4.29 Tampilan Daftar Pemesanan Tiket ............................................. 75 Gambar 4.30 Tampilan Daftar Pemesanan Tiket ............................................. 77 Gambar 4.31 Tampilan Laporan Pembayaran Tiket ........................................ 77 Gambar 4.32 Tampilan Halaman Home .......................................................... 85 Gambar 4.33 Tampilan Login Administrator .................................................. 86 Gambar 4.34 Tampilan Ruang Administrator .................................................. 87 Gambar 4.35 Dialog Masukan Data Embarkasi ............................................... 88 Gambar 4.36 Tampilan Data Embarkasi .......................................................... 89 Gambar 4.37 Dialog Edit Data Embarkasi ....................................................... 90 Gambar 4.38 Dialog Masukan Data Tujuan .................................................... 91 Gambar 4.39 Tampilan Data Kota Tujuan ....................................................... 92 Gambar 4.40 Dialog Edit Data Tujuan ............................................................ 92 xv Gambar 4.41 Dialog Masukan Data Kapal ...................................................... 93 Gambar 4.42 Tampilan Data Kapal ................................................................. 94 Gambar 4.43 Dialog Edit Data Kapal .............................................................. 95 Gambar 4.44 Dialog Masukan Data Kelas dan Fasilitas.................................. 96 Gambar 4.45 Tampilan Data Kelas Kapal ....................................................... 97 Gambar 4.46 Dialog Edit Data Kelas ............................................................... 97 Gambar 4.47 Dialog Masukan Data Jadwal ..................................................... 98 Gambar 4.48 Dialog Pilihan Embarkasi........................................................... 99 Gambar 4.49 Tampilan Data Jadwal ................................................................ 100 Gambar 4.50 Tampilan Pilihan Data Kapal ..................................................... 100 Gambar 4.51 Tampilan Data Jadwal Per Embarkasi ........................................... 102 Gambar 4.52 Dialog Edit Data Jadwal ............................................................. 102 Gambar 4.53 Dialog Masukan Data Tiket ....................................................... 104 Gambar 4.54 Tampilan Data Harga Tiket ........................................................ 105 Gambar 4.55 Dialog Edit Data Tiket ............................................................... 106 Gambar 4.56 Tampilan Update Data Pembayaran ........................................... 107 Gambar 4.57 Tampilan Update Keberangkatan Kapal .................................... 108 xvi