This is a simple hotel website. This project contains whole source code in php code. The website includes a main site and an admin panel.
Main Site contains:
- Hotel Booking
- Rooms & Tariff
- Room Description
- Gallery
- Contact
Admin Panel contains:
- Add Rooms
- Edit Rooms
- Delete Rooms
- Show or Delete Feedback
- Show or Delete Bookings
This project has been done using bootstrap, font-awesome, animated.css etc. Internet connection should be on for loading some files like font-awesome.min.css etc. This repository also contains the database.
Download the zip file, unzip & setup like this:
- Open xampp or wamp
- Create a database named "hotel"
- Select the database, go to SQL Tab and paste all text of "hotel.sql" in it. Now, hit "GO".
- Now, if you're using wamp, go to "../wamp64/www/" and paste the full folder. Done! For xampp the directory is "../xampp/htdocs/".
- Lastly, go to root folder, "../wamp64/www/hotel/" or "../xampp/htdocs/hotel" and open "db.php". You will find that server name is set to "localhost:3307". Edit is as your requirement. If you're using port 3306, use "localhost:3306" or simply "localhost". If you're using anything other than that type "localhost:XXXX" where "XXXX" denotes the port number of server.
- Go to your browser & type: "localhost/hotel". Website will show up!
- For visiting admin panel you'll need username & password. Username: "srizon" (without quote) & Password: "srizon" (without quote).
You can always pull a request to make this project better...