Home arrow News arrow Latest News arrow Simple Hotel Directory in PHP
Simple Hotel Directory in PHP PDF Print E-mail

Hi Valeriu

Simple Hotel Directory in PHP

No design - just script required
Script MUST be easy to follow WITH LOTS OF NOTES
so I can format results as I require

Hi Valeriu

Simple Hotel Directory in PHP

No design - just script required
Script MUST be easy to follow WITH LOTS OF NOTES
so I can format results as I require

Overview
PHP Directory to store details of up to 200 or more hotels

======================================================
Main Page (index.php)
======================================================
Lists details of Featured Hotels (admin defines these and the order they are listed)
(there can be as many as admin wants listed on front page)

Brief details of each hotel are displayed
1) Thumbnail image
2) Name of Hotel
3) Area
4) Brief Description
5) More info link
6) Include this hotel in General Enquiry (tick box)

=======================================================
Internal Pages
=======================================================
5 pages to:

index.php
north.php
central.php
south.php
comparehotels.php

The 3 areas are North, Central and South
Listings on these are to be RANDOM
(each time a page is viewed the list is generated randomly)

If user selects "north.php" then only those hotels selected
by admin as "North" are displayed in random order
If user selects "central.php" then only those hotels selected
by admin as "Central" are displayed in random order
If user selects "south.php" then only those hotels selected
by admin as "South" are displayed in random order

Admin can allocate hotel in multiple areas
ie those hotels which are borderline can be selected in two areas
(or indeed all three areas)

For north, central and south admin may allocate any hotel as top position, 2nd, 3rd
If none elected then all hotels are displayed randomly in list

For any hotel that has "weighting" the <td> background color is highlighted
(chosen by admin)
So if a hotel is chosen to be 1st position on north page his details will have a
different coloured background

All hotels are produced on area pages (no previous or next page required)

Brief details of each hotel are displayed
1) Thumbnail image
2) Name of Hotel
3) Area
4) Brief Description
5) More info link
6) Include this hotel in General Enquiry (tick box)
7) Go to General Enquiry page now (saves viewer scrolling further down)

"More info" link clicks through to hotels own page within directory
where all details are displayed and "PREFERABLY" called hotelname.php
(without spaces)
Hotel name
Hotel address
Hotel address 2
Town
Postcode
Telephone
E-mail
Website
Default Image
Full Description (200 words)
Reviews (see below under admin flowchart)
Enquiry Form (specific to JUST this hotel)

"Go to General Enquiry" clicked then generalenquiry.php
is produced with every hotel's emails passed through.
An email will be generated for each hotel chosen
Form design below

=======================================================
CompareHotels.php
This page generates a list of all hotels (chosen randomly without any featured hotels)
Displays 10 to a page and page wraps into (1) (2) (3) Previous, Next etc
Details displayed are same as for area pages
1) Thumbnail image
2) Name of Hotel
3) Area
4) Brief Description
5) More info link
6) Include this hotel in General Enquiry (tick box) Note: for those hotels admin has
chosen NOT to include in general enquiry this option would not appear

========================================================

================================================
Admin Area Flowchart
================================================
Access admin area

Add a new Hotel? / Modify an existing hotel? / Delete a Hotel?

Add New Hotel

1)
Hotel name
Hotel address
Hotel address 2
Town
Postcode
Telephone
E-mail
Website address (opens in new window)

2)
Up to 2 x images (admin ensures these are set size when uploading)
Admin chooses default main picture
2 x thumbnails (admin ensures these are set size when uploading)
Admin chooses default thumbnail image

3)
Brief description - up to 50 words

4)
Long Description - up to 200 words

5)
What area?
North
Central
South
(remember multiple areas may be chosen)

6)
Make featured on Front Page?
If so what number?

7)
Add featured to area page?
If so what number?
(What happens if hotel is on multiple area page and another
hotel also has same position allocated)

8)
Include in compared hotels?
Yes / No

=================================
Modify Existing Hotel
=================================

1)
Change any of the details added when adding hotel

2)
Introduce Feature to Add Review
This is 30 word comment that admin can paste in
and will be displayed on hotels full page

================================
GeneralEnquiry.php
This page is produced when user has ticked 1 or more
"include in general enquiry" tick boxes

Page will display:-
We will send your enquiry to:-
Hotel Name
Hotel Name
Hotel Name
(as many as the user has chosen)

Form asks for :-
Please see:-
http://www.canastahotel.com/checkavailabilitynew.html
for general details which viewer will need to spupply)

Submit - email enquiry goes to each hotel
Included in GENERAL ENQUIRY email is this text:-
"This viewer has elected to send an enquiry to a few hotels
You may get a better result if you reply immediately
Be sure to mention which hotel you are - they may have contacted a few"

On successful submit the page redirects to
thanks.php
"Thanks for using BlackpoolBookings.com
The hotels you have chosen should respond soon)

The hotel should be able to hit the reply and
his email will go directly to users email address

===================================

Individual Enquiry Form - featured on hotels own page
Same details as required above but this form is only
sent to individual hotel - use different subject line for this

====================================
Thats about it...
It looks a lot but ...not really...I've just been VERY specific about what I want

Remember I don't want a design
Your php code should be EASY to follow
and for me to wrap <table> and <font> tags around
as I require

Site url: www.blackpoolbookings.com

   
Copyright PinkCrow.