Availability Calendar
- A very simple php/ajax script that can be used as an availability calendar for hotels/apartaments etc.
- This panel would be the admin panel where the owner could update the availabilty for each day.
- It would be a simple matter of reproducing this without the links for the public availability calendar (ie without the possibility to modify the day status)
- It uses AJAX to change the days state without having to reload the page - just click on any day to change it's state.
- The script with all the files including the images used can be downloaded in this zip file
- Please use the forum
for any requests, comments or questions. It would also be nice to see where it is being used ;).
-
This script is free to use - if this script helps you, it would be nice for you to help me ;) all donations would be happily accepted :)
modifications & bugs
- 2008-03-23 - Version 2.0 Release
-
NEW - now has the ability to define morning or afternoon bookings
: "click" to change state from available to booked or from any state to available
: "alt+click" for morning bookings
: "ctrl+click" for afternoon bookings
- NEW - multiple language support - includes english, spanish - no limit on number of languages
- NEW - define week start day (sunday or monday)
- [new] ability to define number of months to show
- [bug] month sarting on Sunday not showing correctly - FIXED
- [new] ability to define if the calendar should show links on the dates (admin & public view)
- [march 2008] I am currently working on an improved version with features as requested in the forum and via email.
script in use:
|
Availability Calendar
Click on dates to make availaible or booked
Morning bookings - click on the date whilst holding the "ctrl" key down.
Afternoon bookings - click on the date whilst holding the "alt" key down.
Select language for display (optional)
Start day (Sunday or Monay) can be defined (not dynamic)
Item 2
|
|
|
|
|
|
| August 2008 |
| S | M | T | W | T | F | S |
| | | | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | | | | |
|
| September 2008 |
| S | M | T | W | T | F | S |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | | |
|
| October 2008 |
| S | M | T | W | T | F | S |
| | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| November 2008 |
| S | M | T | W | T | F | S |
| | | | | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | | | | |
|
| December 2008 |
| S | M | T | W | T | F | S |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
|
| January 2009 |
| S | M | T | W | T | F | S |
| | | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| February 2009 |
| S | M | T | W | T | F | S |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |