• Tidak ada hasil yang ditemukan

T0 Lampiran Institutional Repository | Satya Wacana Christian University: Perancangan Sistem Informasi Reservasi Hotel Berbasis Web

N/A
N/A
Protected

Academic year: 2018

Membagikan "T0 Lampiran Institutional Repository | Satya Wacana Christian University: Perancangan Sistem Informasi Reservasi Hotel Berbasis Web"

Copied!
11
0
0

Teks penuh

(1)

LAMPIRAN Login Member

</head>

<body>

<div class="container">

<header id="navtop"> <a href="index.php" class="logo fleft"> <img

src="img2/logo_1.jpg" alt="Designa Studio" width="928" height="1023"> </a> <nav class="fright">

<form id="contact_form" class="contact_form" action="login.php" method="post" name="contact_form">

<input type="text" name="username" id="username" required placeholder="UserName" class="required" >

<button type="submit" id="submit" name="submit">Login</button> <input type="password" name="password" id="password" required placeholder="password" class="required ">

(2)

Halaman Registrasi

include("koneksi.php"); //koneks ke server/host MySql

$link = mysql_connect($host, $username, $userpass)

or die ("Could not connect to mysql because ".mysql_error()); // pilih database

mysql_select_db($dbase)

or die ("could not select database because ".mysql_error());

// cek kesamaan username

$check = "SELECT id FROM member WHERE username = '".$_POST['username']."';"; $qry = mysql_query($check) or die ("Could not match data because ".mysql_error());

$num_rows = mysql_num_rows($qry);

if ($num_rows !=0) {

echo "<div class=heading> Maaf, Username '".$_POST['username']."' sudah ada.<br>";

echo "<h3><a href=javascript:self.history.back();>Kembali ke form registrasi. </a> </h3>";

}

if(empty($num_rows)){

// cek kesamaan email

(3)

$num_rows2 = mysql_num_rows($qry2);

if ($num_rows2 !=0) {

echo "sorry, email '".$_POST['email']."' already exists.<br>";

echo "<h3><a href=javascript:self.history.back();>

Return to registration form.</a></h3>";

}

if(empty($num_rows2)){

// masukkan data

$insert = mysql_query("INSERT INTO member values

('NULL','".$_POST['username']."','".$_POST['password']."','".$_POST['emai l']."','user',NOW(),'".$_POST['first_name']."','".$_POST['last_name']."','".$_POST['ad dress']."','".$_POST['gender']."')") or die("<h5>404 Error</h5>");

//tampilkan pesan sukses

echo " Congratulations! Your account has been created.<br>"; echo "Here your data that you created :<br>";

echo "<hr color=orange><br>";

echo "Username : <i> ".$_POST['username']."</i></i><br>"; echo "Password : <i>".$_POST['password']."</i><br>"; echo "Email : <i>".$_POST['email']."</i><br>";

(4)

Halaman Home

</nav> </header>

<div class="home-page main"> <section class="grid-wrap" >

<header class="grid col-full"> <a href="contact.php" class="navactive">Contact</a>&nbsp;

<hr>

</header>

<div class="grid col-one-half mq2-col-full">

<h1> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Welcome <br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; To <br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Susan Spa n Resort

</h1>

<p>EXPLORE AND EXPERIENCE THE JOY OF SUSAN SPA AND RESORT IN BANDUNGAN, KAB. SEMARANG

SUSAN Spa & Resort is regarded as one of Java’s leading spa destination. Located in Central Java at Bandungan, Semarang. Susan Spa & Resort challenge your senses with magnificent views from 1.100m above sea level in the hills of Mount Ungaran.

<P>SUSAN Spa & Resort is a secret gateway to fulfill your dream for irresistable beauty, health and a place to satisfy your leisure time. Stay with us at our beautifully designed rooms and enjoy our spa in the sky for your relaxation. We offer you a true absolute and rejuvenating spa experience.

(5)

Halaman Kontak

Halaman Room <div class="home-page main"> <section class="grid-wrap" >

<header class="grid col-full">

<p class="fleft"><a href="index.php" class="navactive">Home</a></p>&nbsp;

<a

href="room.php"class="navactive">Room</a>&nbsp;

<a href="booking.php">Booking</a>&nbsp; <a href="contact.php" class="navactive">Contact</a>&nbsp;

<hr>

<p class="fleft">Contact</p> </header>

<aside class="grid col-one-quarter mq2-col-one-third mq3-col-full">

<p class="mbottom">We would love to talk to you and answer all of your questions</p>

<address class="mbottom">

<h5>SUSAN SPA N RESORT </h5> Jl.piyoto bandungan <br > 7km form Ambarawa <br > 1010 WHATEVER<br >

<a href="http://maps.google.com"> </a> </address>

<p class="mbottom"> <h5>Phone Number</h5>

00 77 66 55 33<br > 00 77 66 55 34</p> <p class="mbottom">

<h5>SOSIAL MEDIA</h5> <a

(6)

Halaman Room

<div class="home-page main">

<section class="grid-wrap" >

<header class="grid col-full">

<p class="fleft"><a href="index.php" class="navactive">Home</a></p>&nbsp;

<a

href="room.php"class="navactive">Room</a>&nbsp;

<a href="booking.php">Booking</a>&nbsp; <a href="contact.php" class="navactive">Contact</a>&nbsp;

<hr>

</header>

<aside class="grid col-one-quarter mq2-col-full">

<p class="mbottom">Please choose the type of room and its facilities that we have provided for you. and enjoy the beauty of the Ungaran Mountains and Lake Marsh Scenic .</p>

<menu>

<a id="work_all" class="">All Tipe Room</a><br> </menu>

</aside>

<section class="grid col-three-quarters mq2-col-full">

<div class="grid-wrap works">

(7)

Halaman Booking

<div class="form-signin"> <div class="btn-group">

<button style="left:0px;

margin-bottom:0px;" class="btn" onClick="goBack()"><i class="icon-hand-left"></i> Back</button>

<button class="btn dropdown-toggle"

data-toggle="dropdown">

<span class="caret"></span>

</button>

<ul class="dropdown-menu">

<li><a href="home.php" title="Back to Home"><i class="icon-home"></i> Home</a></li>

<div class="accordion-header" style="border-radius:2px; background: rgba(0,0,0,1); color:rgba(255,255,255,1);"><i class="icon-pencil"></i> Online Booking</div>

<div class="accordion-content" style="margin-bottom: 2px; border-radius:2px; margin-top:5px; background-color:rgba(102,102,102,0.1);">

<form method="post" action="selectrooms.php" name="index" onsubmit="return validateForm()">

<span style="margin-right: 11px; color:rgba(0,0,0,1);">Start Date: <input type="text" class="w8em format-d-m-y highlight-days-67 range-low-today"

placeholder="Arrival" name="start" id="sd" value="" maxlength="10" readonly style="width: 165px; margin-left: 15px; border: 1px double #CCCCCC; padding:5px 10px;"/></span><br>

<span style="margin-right: 11px; color:rgba(0,0,0,1);">End Date:<input type="text" class="w8em format-d-m-y highlight-days-67 range-low-today"

(8)

Login Admin

</head>

<body>

<div class="container">

<h1 class="form-signin-heading" align="center">ADMIN</h1> <br>

<form class="form-signin" method="post">

<h2 class="form-signin-heading">Please sign in</h2>

<input name="username" type="text" class="input-block-level" placeholder="Username">

<input name="password" type="password" class="input-block-level" placeholder="Password">

<label class="checkbox">

<input type="checkbox" value="remember-me"> Remember me </label>

<button class="btn btn-primary" name="login" type="submit"><i class=" icon-check"></i> Sign in</button>

<p class="fleft"><a href="index.php" class="navactive">Home</a></p>&nbsp; <?php username='$username' and password='$password'") or die(mysql_error()); $count = mysql_num_rows($query);

(9)

List Reservation

<div class="active item"> <!--item 1 -->

<div style="margin-top:15px;" class="container thumbnail">

<pre><h4><strong><i class="icon-list"></i> List of Reserved</strong></h4></pre>

<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="">

<thead> <tr>

<th>Confirmation Code</th> <th>Room no.</th>

<th>Guest</th> <th>Days</th>

<th><div align="center">Arrival</div></th> <th><div align="center">Departure</div></th> <th><div align="center">Total</div></th>

<th><div align="center">Balance</div></th> <th>Status</th>

<th><div align="center">Payment</div></th> <th> <div align="center">Actions</div></th> </tr>

(10)

List Chekin

<div class="item"> <!--item 1 -->

<div style="margin-top:15px;" class="container thumbnail">

<pre><h4><strong><i class="icon-list"></i> List of Checkin</strong></h4></pre>

<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="">

<thead> <tr>

<th>Confirmation Code</th> <th>Room no.</th>

<th>Guest</th> <th>Days</th> <th>Arrival</th> <th>Departure</th> <th>Total</th>

<th>Balance</th> <th>Excess</th> <th>Status</th> <th>Payment</th> <th>Actions</th> </tr>

(11)

Referensi

Dokumen terkait

Perkebunan sayur organik merbabu yang berada di kebun Kopeng Salatiga masih menggunakan metode manual dalam mencatat hasil dari penjualan sayur

Wijayanti Ian, 2006 Sistem Informasi Pelayanan Pada Hotel Adem Ayem di Semarang, Universitas Dian Nuswanioro. ”Sistem

Salatiga merupakan kota kecil yang berada di lereng timur Gunung Merbabu sehingga membuat kota ini berudara cukup sejuk. Salatiga mempunyai Universitas Kristen

Biaya tambahan disini yang kami maksud adalah apabila memesan dengan cara manual atau lewat Blocker yang pastinya akan menaikan harga resmi dari PT menjadi lebih tinggi. Kami

[r]

Di dalam Laporan Tugas Akhir ini tidak terdapat keseluruhan atau sebagian tulisan atau gagasan orang lain yang saya ambil dengan cara menyalin atau meniru

PrivateSub LaporanToolStripMenuItem_Click( ByVal sender As System.. Kode Program 3 Kode Program untuk Trnsaksi Pemesanan Tiket. Imports UI_Bus.MyService.. KeyPressEventArgs )

Penulisan laporan Tugas Akhir ini dimaksudkan untuk memenuhi sebagian dari syarat dalam rangka meraih gelar sarjana Ahli Madya Komputer pada Program Studi Diploma Teknik