Main > Internet > HTTP >

Simple PHP Calendar 1.11

Simple PHP Calendar 1.11

Sponsored Links

Simple PHP Calendar 1.11 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.002 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1038
Date added: 2007-01-24
Publisher: Oscar Merida

Simple PHP Calendar 1.11 description

Simple PHP Calendar is a a simple, extensible PHP calendar class. The project focuses exclusively on generating an HTML representation for a given month. It is meant to be easily extended for use in other applications, such as input widgets for forms, or full event calendaring applications. Its output is completely customizable via CSS.
A simple example
After downloading the class and including it in your PHP script, youre ready to start using it. The constructor requires two paramets, a year and month. The following code produces a very plain looking calendar.
1 require_once( class.Calendar.php );
2 $cal = new Calendar (2004, 3 );
3 echo "".$cal->getFullMonthName()."";
4 echo $cal->display();
Customizing the display
You can use two methods to change how the calendar is displayed. Use setTableWidth to define how wide to make the table, in pixels or as a percentage of the screen. Use setDayNameFormat to change how weekdays are displayed in the header row using strftime formats.
1 require_once(class.Calendar.php);
2 $calendar = new Calendar (2004, 4);
3 $calendar->setTableWidth(50%);
4 $calendar->setDayNameFormat(%A);
5 echo "".$calendar->getBriefMonthName().";
6 echo $calendar->display();
Final Example
You can use CSS selectors to control the formatting of all aspects of the calendar, including adding borders and how empty boxes display. Lets wrap our talbe in a div named calendar and use the following styles.
/* overall table */
#calendar table {
border:1px solid #fff;
padding: 0;
margin:20px;
}
/* the day headers across the top */
#calendar th {
background: #565;
color: #fff;
margin: 3px;
padding: 2px 5px;
}
/* how days this month will look, make dates appear in top right */
#calendar td {
background: #eee;
color: #000;
padding: 2px;
margin:0;
height:60px;
text-align:right;
vertical-align:top;
border:1px solid #fff;
}
/* these are the days falling outside this month */
#calendar td.notInMonth {
background: #999;
}
Enhancements:
- The documentation has been polished.
- An example has been added for extending the class to customize how a calendar grid will display.

Simple PHP Calendar 1.11 Screenshot

Advertisements

Simple PHP Calendar 1.11 Keywords

Bookmark Simple PHP Calendar 1.11

Hyperlink code:
Link for forum:

Simple PHP Calendar 1.11 Copyright

WareSeeker periodically updates pricing and software information of Simple PHP Calendar 1.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Simple PHP Calendar 1.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
IAM Calendar is a PHP class that can be used to display calendar of a given month in an HTML page. Free Download
PHP-Calendar is a Web-based calendar written in PHP/SQL. Free Download
Active Calendar is PHP Class, that generates calendars (month or year view) as a HTML Table (XHTML-Valid). Free Download
Budget Calendar application is a budget and payment planning application -- on a calendar. Free Download
tngCalendar is a Web calendar addon to the TNG software for online genealogy. Free Download
Cute PHP library is a small collection of classes for PHP. Free Download
PHP AJAX DataGrid - is a powerful script, that allows you to display data in grid layout. It is very simple to set up and works with AJAX module. Free Download
Calendario Class provides a PHP class that is useful for creating calendars and organizers. Free Download