PHP Classes

PHP Booking Calendar Script: Let users select calendar dates for bookings

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 312 All time: 7,303 This week: 64Up
Version License PHP version Categories
booking_calendar 1.0.1BSD License5.4HTML, PHP 5, Time and Date
Description 

Author

This package can let users select calendar dates for bookings.

It can display an a Web page month calendars to let the users chose the start and end dates of a booking.

The package can configure the HTML of the form to be displayed in order to let the user select the booking dating range.

Picture of Damir
  Performance   Level  
Name: Damir <contact>
Classes: 3 packages by
Country: Croatia Croatia
Innovation award
Innovation award
Nominee: 2x

Recommendations

Villa Availability Calendar Request
I need a calendar class for my villa availability

Example

<?
date_default_timezone_set
('Europe/Zagreb');
require_once(
'inc/TDLinc.php');
require_once(
'calendar.php');
include_once(
'inc/AClass.inc');

$LG="EN";

//Possible choice of different styles
$jss="Dummy1";

//Possible connection with date record
$Aid=0;

//Possible choice of different javascript code
$st="Dummy2";
 
$bo="Fo();";

$a = new calW($Aid,'Wz(this, 1)','Wz(this)','Zw(this)','Zw(this,2)',' Nn(this)',$jss,$bo,$st,false,"00011111110000000000000000000000");


print(
'<table cellSpacing="0" cellPadding="0" width="520" align="center" bgColor="#ffffff" border="0" >');
print(
'<tr><td width="520" align="center">');

AdminDropovi("action='showMeTimeRange.php' method='post'", $Aid, $Dda[$LG],$Doa[$LG]);
print(
'</td></tr></table>');
print(
'<table cellSpacing="0" cellPadding="0" width="520" align="center" bgColor="#ffffff" border="0" >');
print(
'<tr><td width="520" align="center">');
print(
'<input type="hidden" name="Aid" value="'.$Aid.'">');

print(
'<p align="center"><b>'.$Dnt[$LG].'</b><input type="submit" class="butt" value="Submit"></p></td></tr></form></table>');
print(
'<br>');
print(
"</body></html>");

?>


Details

BookingCalendar

Beyond basic functionality of keeping and presenting bookings, this calendar could be used as visualize tool for some date range.

Long date ranges

It remembers long date ranges acros several months: Date ranges

Half day mark

Because apartments guests mostly come in the noon and leave also in the middle of the day, calendar shows half of day green and another half red,depends does guest come or go: Half day green - red

Drop down modify range

Drop-downs are automatically settled after user choose date rank by mouse in calendar. But they could modify selected range: Half day green - red

Calendar adjusts itself

After second drop event calendar adjusts itself: Half day green - red


Screenshots (5)  
  • sc1.jpg
  • sc2.jpg
  • sc3.jpg
  • sc4.jpg
  • sc5.jpg
  Files folder image Files (21)  
File Role Description
Files folder imageinc (2 files)
Files folder imageres (7 files)
Accessible without login Plain text file AK_ZU.php Example Example
Plain text file calendar.php Class Main class
Accessible without login Image file calendar1.jpg Photo picture
Accessible without login Image file calendar2.jpg Photo picture
Accessible without login Image file calendar5.jpg Photo picture
Accessible without login Image file calendar6.jpg Photo picture
Accessible without login Plain text file readme.md Doc. readme

  Files folder image Files (21)  /  inc  
File Role Description
  Plain text file AClass.inc Class auxiliary data
  Plain text file TDLinc.php Class Helper class

  Files folder image Files (21)  /  res  
File Role Description
  Accessible without login Image file CZ.gif Icon slika
  Accessible without login Image file desno.gif Icon slika
  Accessible without login Image file desnoC.gif Icon slika
  Accessible without login Image file ljevo.gif Icon picture
  Accessible without login Image file ljevoC.gif Icon picture
  Accessible without login Image file ZC.gif Icon picture
  Plain text file ZU.js Class Javascript file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:312
This week:0
All time:7,303
This week:64Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:514
 
very nice help thank you!!
3 years ago (bas)
80%StarStarStarStarStar
very nice help thank you!!
3 years ago (bas)
80%StarStarStarStarStar