PHP Classes

PHP Event Calendar Class: Generate HTML to display month event calendars

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 432 This week: 2All time: 6,301 This week: 96Up
Version License PHP version Categories
event-calendar-class 1.1GNU General Publi...4HTML, Time and Date
Description 

Author

This class can generate HTML to display month event calendars.

It can display calendars of one, two, three or four months on which events that happen in specific dates.

The event days appear as links to given pages with derails about the events of those days.

Picture of Abhishek Shukla
  Performance   Level  
Name: Abhishek Shukla <contact>
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 65740 in India India
Week rank: 106 Up8 in India India Up

Recommendations

What is the best PHP calendar appointment class?
How to create calendar in my Web site with appointment

Example

<html>
<head>
<title>Online Demo for Calendar Class by Abhishek Shukla</title>
<style>
#calendar-table-s {
    font-size: 12px;
    margin: 0px;
    text-align: left;
    border-collapse: separate;
    border-bottom:none;
}
#calendar-table-s th {
    font-size: 13px;
    font-weight: normal;
    padding: 8px;
    background: #EFEFEF;
    border-top: 1px solid #FFF;
    color: #333;
    text-align: left;
}
#calendar-table-s td {
    padding: 8px;
    background: none;
    border-top: 1px solid #CCC;
    color: #666;
    border-bottom: none !important;
}
#calendar-table-s tr:hover td {
    background: #FBFBFB;
    color: #333;
}
#calendar-table-s tr.footer { background: none !important; }
#calendar-table-s tr.footer:hover td { background: none !important; }
th, td {
    vertical-align: top;
}
</style>
</head>
<body>
<h1>Single Month Demo</h1>
<?php
include("event_calendar.class.php");

$calendar=new event_calendar;
$calendar->tablestyle="calendar-table-s";
$calendar->events=array("2014-01-16"=>1,"2014-01-19"=>4,);
$thismonthcalendar=$calendar->month_calendar();

echo
$thismonthcalendar;

?>

</br></br></br>

<a href="index.html">Back to Home Page</a>
</body>
</html>


Screenshots  
  • event_calendar_class.jpg
  Files folder image Files  
File Role Description
Plain text file event_calendar.class.php Class Class to generate html calendar with support of Events
Accessible without login Plain text file gpl.txt Lic. License Text
Accessible without login HTML file index.html Data Documentation
Accessible without login Plain text file test-all.php Example Various Settings Test
Accessible without login Plain text file test-two.php Example Two month calendar
Accessible without login Plain text file test.php Example Test Script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:432
This week:2
All time:6,301
This week:96Up