PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 309 This week: 2All time: 7,327 This week: 96Up
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 is available for providing paid consulting. Contact Damir .
Classes: 3 packages by
Country: Croatia Croatia
Age: 59
All time rank: 32877 in Croatia Croatia
Week rank: 106 Up1 in Croatia Croatia Up
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  
  • sc1.jpg
  • sc2.jpg
  • sc3.jpg
  • sc4.jpg
  • sc5.jpg
  Files folder image Files  
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  /  inc  
File Role Description
  Plain text file AClass.inc Class auxiliary data
  Plain text file TDLinc.php Class Helper class

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:309
This week:2
All time:7,327
This week:96Up
User Comments (2)
very nice help thank you!!
2 years ago (bas)
80%StarStarStarStarStar
very nice help thank you!!
2 years ago (bas)
80%StarStarStarStarStar